Skip to content

Commit 9eba911

Browse files
authored
Merge branch 'main' into certs
2 parents b5702ab + 825b660 commit 9eba911

File tree

289 files changed

+4042
-2682
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+4042
-2682
lines changed

.fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ targets:
44
- type: setuptools
55
paths:
66
exclude:
7-
- docs
7+
- site

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body:
1414
description: What version of our F5 NGINX Ingress Controller are you running?
1515
options:
1616
- edge
17+
- 3.7.0
1718
- 3.6.2
1819
- 3.6.1
1920
- 3.6.0
@@ -68,14 +69,6 @@ body:
6869
default: 0
6970
validations:
7071
required: true
71-
- type: textarea
72-
id: describe-bug
73-
attributes:
74-
label: What happened?
75-
description: Add as much details about the bug as you can.
76-
placeholder: Tell is what you see!
77-
validations:
78-
required: true
7972
- type: textarea
8073
id: steps-to-reproduce
8174
attributes:
@@ -86,36 +79,4 @@ body:
8679
2. View logs on '....'
8780
3. See error
8881
validations:
89-
required: false
90-
- type: textarea
91-
id: expected-behaviour
92-
attributes:
93-
label: Expected behaviour
94-
description: How did you expect the product/feature to behave?
95-
placeholder: What way did you expect this to behave?
96-
validations:
97-
required: false
98-
- type: textarea
99-
id: kubernetes-describe-output
100-
attributes:
101-
label: Kubectl Describe output
102-
description: Please run `kubectl describe` on any relevant Kubernetes resources. e.g. `kubectl describe deployment my-nginx-ingress-controller-deployment`. This will be automatically formatted into code, so no need for backticks.
103-
render: shell
104-
validations:
105-
required: false
106-
- type: textarea
107-
id: logs
108-
attributes:
109-
label: Log output
110-
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
111-
render: shell
112-
validations:
113-
required: false
114-
- type: checkboxes
115-
id: terms
116-
attributes:
117-
label: Contributing Guidelines
118-
description: By submitting this issue, you agree that you have read the [Report a Bug](https://github.com/nginxinc/kubernetes-ingress/blob/main/CONTRIBUTING.md#report-a-bug) section of our [Contributing Guidelines](https://github.com/nginxinc/kubernetes-ingress/blob/main/CONTRIBUTING.md)
119-
options:
120-
- label: I confirm that I have read the Report a Bug section of the Contributing Guidelines
121-
required: true
82+
required: true

.github/data/patch-images.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@
5959
"target_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap/nginx-plus-ingress",
6060
"platforms": "linux/amd64"
6161
},
62+
{
63+
"source_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap/nginx-plus-ingress",
64+
"source_os": "ubi8",
65+
"target_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap/nginx-plus-ingress",
66+
"platforms": "linux/amd64"
67+
},
6268
{
6369
"source_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap-v5/nginx-plus-ingress",
6470
"source_os": "debian",
@@ -71,6 +77,12 @@
7177
"target_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap-v5/nginx-plus-ingress",
7278
"platforms": "linux/amd64"
7379
},
80+
{
81+
"source_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap-v5/nginx-plus-ingress",
82+
"source_os": "ubi8",
83+
"target_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap-v5/nginx-plus-ingress",
84+
"platforms": "linux/amd64"
85+
},
7486
{
7587
"source_image": "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-dos/nginx-plus-ingress",
7688
"source_os": "debian",

.github/data/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
IC_VERSION=4.0.0
2-
HELM_CHART_VERSION=1.5.0
2+
HELM_CHART_VERSION=2.0.0

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ updates:
5656
- "patch"
5757

5858
- package-ecosystem: gomod
59-
directory: /docs
59+
directory: /site
6060
schedule:
6161
interval: weekly

.github/scripts/release-notes-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ROOTDIR=$(git rev-parse --show-toplevel || echo ".")
66
TMPDIR=/tmp
77
DEBUG=${DEBUG:-"false"}
88

9-
DOCS_TO_UPDATE_FOLDER=${ROOTDIR}/docs/content
9+
DOCS_TO_UPDATE_FOLDER=${ROOTDIR}/site/content
1010

1111
usage() {
1212
echo "Usage: $0 <ic_version> <helm_chart_version> <k8s_versions> <release_date>"

.github/scripts/release-version-update.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DEPLOYMENT_PATH="${ROOTDIR}/deployments"
99
EXAMPLES_PATH="${ROOTDIR}/examples"
1010
DEBUG=${DEBUG:-"false"}
1111

12-
DOCS_TO_UPDATE_FOLDER=${ROOTDIR}/docs/content
12+
DOCS_TO_UPDATE_FOLDER=${ROOTDIR}/site/content
1313
FILES_TO_UPDATE_IC_VERSION=(
1414
"${ROOTDIR}/.github/data/version.txt"
1515
"${ROOTDIR}/README.md"
@@ -121,9 +121,9 @@ for i in "${FILE_TO_UPDATE_HELM_CHART_VERSION[@]}"; do
121121
done
122122

123123
# update docs with new versions
124-
echo -n "${new_ic_version}" > ./docs/layouts/shortcodes/nic-version.html
125-
echo -n "${new_helm_chart_version}" > ./docs/layouts/shortcodes/nic-helm-version.html
126-
echo -n "${new_operator_version}" > ./docs/layouts/shortcodes/nic-operator-version.html
124+
echo -n "${new_ic_version}" > ./site/layouts/shortcodes/nic-version.html
125+
echo -n "${new_helm_chart_version}" > ./site/layouts/shortcodes/nic-helm-version.html
126+
echo -n "${new_operator_version}" > ./site/layouts/shortcodes/nic-operator-version.html
127127

128128
# update examples with new versions
129129
example_files=$(find "${EXAMPLES_PATH}" -type f -name "*.md")

.github/scripts/variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ get_docker_md5() {
1818
}
1919

2020
get_go_code_md5() {
21-
find . -type f \( -name "*.go" -o -name go.mod -o -name go.sum -o -name "*.tmpl" -o -name "version.txt" \) -not -path "./docs*" -exec md5sum {} + | LC_ALL=C sort | md5sum | awk '{ print $1 }'
21+
find . -type f \( -name "*.go" -o -name go.mod -o -name go.sum -o -name "*.tmpl" -o -name "version.txt" \) -not -path "./site*" -exec md5sum {} + | LC_ALL=C sort | md5sum | awk '{ print $1 }'
2222
}
2323

2424
get_tests_md5() {

.github/workflows/build-base-images.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
image_matrix_nap: ${{ steps.vars.outputs.image_matrix_nap }}
3030
steps:
3131
- name: Checkout Repository
32-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
32+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3333

3434
- name: Output Variables
3535
id: vars
@@ -55,10 +55,10 @@ jobs:
5555
matrix: ${{ fromJSON( needs.checks.outputs.image_matrix_oss ) }}
5656
steps:
5757
- name: Checkout Repository
58-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
58+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
5959

6060
- name: Docker Buildx
61-
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
61+
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
6262

6363
- name: Setup QEMU
6464
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Authenticate to Google Cloud
6969
id: auth
70-
uses: google-github-actions/auth@62cf5bd3e4211a0a0b51f2c6d6a37129d828611d # v2.1.5
70+
uses: google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70 # v2.1.6
7171
with:
7272
token_format: access_token
7373
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -92,7 +92,7 @@ jobs:
9292
type=raw,value=${{ needs.checks.outputs.docker_md5 }},enable=${{ needs.checks.outputs.docker_md5 != '' }}
9393
9494
- name: Build Base Container
95-
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
95+
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
9696
with:
9797
file: build/Dockerfile
9898
context: "."
@@ -120,10 +120,10 @@ jobs:
120120
matrix: ${{ fromJSON( needs.checks.outputs.image_matrix_plus ) }}
121121
steps:
122122
- name: Checkout Repository
123-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
123+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
124124

125125
- name: Docker Buildx
126-
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
126+
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
127127

128128
- name: Setup QEMU
129129
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
@@ -132,7 +132,7 @@ jobs:
132132

133133
- name: Authenticate to Google Cloud
134134
id: auth
135-
uses: google-github-actions/auth@62cf5bd3e4211a0a0b51f2c6d6a37129d828611d # v2.1.5
135+
uses: google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70 # v2.1.6
136136
with:
137137
token_format: access_token
138138
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -157,7 +157,7 @@ jobs:
157157
type=raw,value=${{ needs.checks.outputs.docker_md5 }},enable=${{ needs.checks.outputs.docker_md5 != '' }}
158158
159159
- name: Build Base Container
160-
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
160+
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
161161
with:
162162
file: build/Dockerfile
163163
context: "."
@@ -188,14 +188,14 @@ jobs:
188188
matrix: ${{ fromJSON( needs.checks.outputs.image_matrix_nap ) }}
189189
steps:
190190
- name: Checkout Repository
191-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
191+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
192192

193193
- name: Docker Buildx
194-
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
194+
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
195195

196196
- name: Authenticate to Google Cloud
197197
id: auth
198-
uses: google-github-actions/auth@62cf5bd3e4211a0a0b51f2c6d6a37129d828611d # v2.1.5
198+
uses: google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70 # v2.1.6
199199
with:
200200
token_format: access_token
201201
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -229,7 +229,7 @@ jobs:
229229
type=raw,value=${{ needs.checks.outputs.docker_md5 }},enable=${{ needs.checks.outputs.docker_md5 != '' }}
230230
231231
- name: Build Base Container
232-
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
232+
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
233233
with:
234234
file: build/Dockerfile
235235
context: "."

.github/workflows/build-oss.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
image_digest: ${{ steps.build-push.outputs.digest }}
5353
steps:
5454
- name: Checkout Repository
55-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
55+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
5656
with:
5757
ref: ${{ inputs.branch }}
5858
fetch-depth: 0
5959

6060
- name: Authenticate to Google Cloud
6161
id: auth
62-
uses: google-github-actions/auth@62cf5bd3e4211a0a0b51f2c6d6a37129d828611d # v2.1.5
62+
uses: google-github-actions/auth@8254fb75a33b976a221574d287e93919e6a36f70 # v2.1.6
6363
with:
6464
token_format: access_token
6565
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -119,11 +119,11 @@ jobs:
119119
if: ${{ steps.images_exist.outputs.base_exists != 'true' || steps.images_exist.outputs.target_exists != 'true' }}
120120

121121
- name: Docker Buildx
122-
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
122+
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
123123
if: ${{ steps.images_exist.outputs.base_exists != 'true' || steps.images_exist.outputs.target_exists != 'true' }}
124124

125125
- name: Build Base Container
126-
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
126+
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
127127
with:
128128
file: build/Dockerfile
129129
context: "."
@@ -147,15 +147,15 @@ jobs:
147147
echo "full-build: ${{ inputs.full-build }}"
148148
149149
- name: Fetch Cached Artifacts
150-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
150+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
151151
with:
152152
path: ${{ github.workspace }}/dist
153153
key: nginx-ingress-${{ inputs.go-md5 }}
154154
fail-on-cache-miss: true
155155
if: ${{ steps.images_exist.outputs.base_exists != 'true' || steps.images_exist.outputs.target_exists != 'true' }}
156156

157157
- name: Build Docker image
158-
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
158+
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
159159
id: build-push
160160
with:
161161
file: build/Dockerfile

0 commit comments

Comments
 (0)