Skip to content

Commit 7dedc0a

Browse files
authored
Merge branch 'main' into oss-workflow
2 parents 104b81c + 4efe4ef commit 7dedc0a

Some content is hidden

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

52 files changed

+185
-282
lines changed

.github/workflows/build-oss.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
io.artifacthub.package.keywords=kubernetes,ingress,nginx,controller
119119
120120
- name: Build Docker image
121-
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
121+
uses: docker/build-push-action@37abcedcc1da61a57767b7588cb9d03eb57e28b3 # v3.3.0
122122
id: build-push
123123
with:
124124
file: build/Dockerfile
@@ -147,7 +147,7 @@ jobs:
147147
ignore-unfixed: 'true'
148148

149149
- name: Upload Trivy scan results to GitHub Security tab
150-
uses: github/codeql-action/upload-sarif@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
150+
uses: github/codeql-action/upload-sarif@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39
151151
continue-on-error: true
152152
with:
153153
sarif_file: 'trivy-results-${{ inputs.image }}.sarif'

.github/workflows/build-plus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
if: ${{ inputs.nap_modules != '' }}
101101

102102
- name: Build Plus Docker image
103-
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
103+
uses: docker/build-push-action@37abcedcc1da61a57767b7588cb9d03eb57e28b3 # v3.3.0
104104
with:
105105
file: build/Dockerfile
106106
context: '.'
@@ -125,7 +125,7 @@ jobs:
125125
${{ inputs.nap_modules != '' && contains(inputs.image, 'ubi') && format('"rhel_license={0}"', secrets.RHEL_LICENSE) || '' }}
126126
127127
- name: Load image for Trivy
128-
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
128+
uses: docker/build-push-action@37abcedcc1da61a57767b7588cb9d03eb57e28b3 # v3.3.0
129129
with:
130130
file: build/Dockerfile
131131
context: '.'
@@ -153,7 +153,7 @@ jobs:
153153
ignore-unfixed: 'true'
154154

155155
- name: Upload Trivy scan results to GitHub Security tab
156-
uses: github/codeql-action/upload-sarif@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
156+
uses: github/codeql-action/upload-sarif@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39
157157
continue-on-error: true
158158
with:
159159
sarif_file: 'trivy-results-${{ inputs.image }}.sarif'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
- name: Docker Buildx
136136
uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
137137
- name: Build Docker Image ${{ matrix.image }}
138-
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
138+
uses: docker/build-push-action@37abcedcc1da61a57767b7588cb9d03eb57e28b3 # v3.3.0
139139
with:
140140
file: build/Dockerfile
141141
context: '.'

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
# Initializes the CodeQL tools for scanning.
3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
39+
uses: github/codeql-action/init@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39
4040
with:
4141
languages: ${{ matrix.language }}
4242
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -47,7 +47,7 @@ jobs:
4747
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4848
# If this step fails, then you should remove it and run the build manually (see below)
4949
- name: Autobuild
50-
uses: github/codeql-action/autobuild@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
50+
uses: github/codeql-action/autobuild@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39
5151

5252
# ℹ️ Command-line programs to run using the OS shell.
5353
# 📚 https://git.io/JvXDl
@@ -61,4 +61,4 @@ jobs:
6161
# make release
6262

6363
- name: Perform CodeQL Analysis
64-
uses: github/codeql-action/analyze@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
64+
uses: github/codeql-action/analyze@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ jobs:
5353

5454
# Upload the results to GitHub's code scanning dashboard.
5555
- name: "Upload to code-scanning"
56-
uses: github/codeql-action/upload-sarif@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
56+
uses: github/codeql-action/upload-sarif@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39
5757
with:
5858
sarif_file: results.sarif

.github/workflows/sync.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,11 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
# This job sync this repo to our internal repo
17-
repo-sync:
18-
runs-on: ubuntu-22.04
19-
if: ${{ github.event.repository.fork == false }}
20-
steps:
21-
- name: Repo Sync
22-
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 # v3.0.0
23-
with:
24-
source_repo: "nginxinc/kubernetes-ingress"
25-
source_branch: "main"
26-
destination_repo: ${{ secrets.SYNC_DEST_REPO_URL }}
27-
destination_branch: "main"
28-
ssh_private_key: ${{ secrets.SYNC_SSH_PRIVATE_KEY }}
29-
3016
# This job sync the labels across the various repos
3117
labels-sync:
18+
runs-on: ubuntu-22.04
19+
if: ${{ github.event.repository.fork == false }}
3220
strategy:
33-
# don't break another job if one is failed
3421
fail-fast: false
3522
matrix:
3623
repo:
@@ -39,8 +26,6 @@ jobs:
3926
- nginxinc/nginx-prometheus-exporter
4027
- nginxinc/nginx-plus-go-client
4128
- nginxinc/nginx-asg-sync
42-
runs-on: ubuntu-22.04
43-
if: ${{ github.event.repository.fork == false }}
4429
steps:
4530
- name: Checkout
4631
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

deployments/common/crds/k8s.nginx.org_virtualserverroutes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ spec:
515515
type: string
516516
jitter:
517517
type: string
518+
keepalive-time:
519+
type: string
518520
mandatory:
519521
type: boolean
520522
passes:

deployments/common/crds/k8s.nginx.org_virtualservers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@ spec:
597597
type: string
598598
jitter:
599599
type: string
600+
keepalive-time:
601+
type: string
600602
mandatory:
601603
type: boolean
602604
passes:

deployments/helm-chart/crds/k8s.nginx.org_virtualserverroutes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ spec:
515515
type: string
516516
jitter:
517517
type: string
518+
keepalive-time:
519+
type: string
518520
mandatory:
519521
type: boolean
520522
passes:

deployments/helm-chart/crds/k8s.nginx.org_virtualservers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@ spec:
597597
type: string
598598
jitter:
599599
type: string
600+
keepalive-time:
601+
type: string
600602
mandatory:
601603
type: boolean
602604
passes:

0 commit comments

Comments
 (0)