Skip to content

Commit

Permalink
Merge branch 'main' into feat/regex-ingress-resource
Browse files Browse the repository at this point in the history
  • Loading branch information
jjngx authored Jul 26, 2023
2 parents 6d0c969 + 0a02259 commit 585bedc
Show file tree
Hide file tree
Showing 24 changed files with 141 additions and 243 deletions.
13 changes: 0 additions & 13 deletions .github/dependency-review-config.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/labels.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ jobs:
if: ${{ github.event_name == 'push' && ! startsWith(github.ref, 'refs/heads/release-') }}
permissions:
contents: write # for pushing to Helm Charts repository
packages: write # for helm to push to GHCR
steps:
- name: Checkout Repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- name: "Dependency Review"
uses: actions/dependency-review-action@1360a344ccb0ab6e9475edef90ad2f46bf8003b1 # v3.0.6
with:
config-file: "./.github/dependency-review-config.yml"
config-file: "nginxinc/k8s-common/dependency-review-config.yml@main"
40 changes: 0 additions & 40 deletions .github/workflows/sync.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ jobs:
platforms: linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x
image: debian
tag: ${{ needs.variables.outputs.kic-tag }}
permissions:
contents: read
actions: read
security-events: write
id-token: write
packages: write
secrets: inherit
if: ${{ needs.check.outputs.needs-updating-debian == 'true' }}

Expand All @@ -185,6 +191,12 @@ jobs:
platforms: linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x
image: alpine
tag: ${{ needs.variables.outputs.kic-tag }}
permissions:
contents: read
actions: read
security-events: write
id-token: write
packages: write
secrets: inherit
if: ${{ needs.check.outputs.needs-updating-alpine == 'true' }}

Expand All @@ -196,5 +208,11 @@ jobs:
platforms: linux/arm64,linux/amd64,linux/ppc64le,linux/s390x
image: ubi
tag: ${{ needs.variables.outputs.kic-tag }}
permissions:
contents: read
actions: read
security-events: write
id-token: write
packages: write
secrets: inherit
if: ${{ needs.check.outputs.needs-updating-ubi == 'true' }}
6 changes: 5 additions & 1 deletion deployments/helm-chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,13 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
Selector labels
*/}}
{{- define "nginx-ingress.selectorLabels" -}}
{{- if .Values.controller.selectorLabels -}}
{{ toYaml .Values.controller.selectorLabels }}
{{- else -}}
app.kubernetes.io/name: {{ include "nginx-ingress.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{- end -}}
{{- end -}}

{{/*
Expand the name of the configmap.
Expand Down
3 changes: 3 additions & 0 deletions deployments/helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ controller:
## The kind of the Ingress Controller installation - deployment or daemonset.
kind: deployment

## The selectorLabels used to overide the default values.
selectorLabels: {}

## Annotations for deployments and daemonsets
annotations: {}

Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/app-protect-dos/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/app-protect-dos/syslog2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog-2
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/app-protect-waf/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion examples/ingress-resources/app-protect-dos/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion examples/ingress-resources/app-protect-dos/syslog2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog-2
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion examples/ingress-resources/app-protect-waf/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion tests/data/ap-waf-grpc/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion tests/data/ap-waf/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion tests/data/ap-waf/syslog2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog2
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion tests/data/appprotect/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion tests/data/appprotect/syslog2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog2
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
2 changes: 1 addition & 1 deletion tests/data/dos/dos-syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: coredns-external-backend
image: coredns/coredns:1.8.6
image: coredns/coredns:1.10.1
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts:
- name: config-volume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: coredns
image: coredns/coredns:1.8.6
image: coredns/coredns:1.10.1
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts:
- name: config-volume
Expand Down
2 changes: 1 addition & 1 deletion tests/data/virtual-server-dos/syslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: syslog
image: balabit/syslog-ng:3.38.1
image: balabit/syslog-ng:4.3.0
ports:
- containerPort: 514
- containerPort: 601
Expand Down
Loading

0 comments on commit 585bedc

Please sign in to comment.