Skip to content

Commit 3f7221d

Browse files
Merge branch 'main' into security-context
2 parents 878e5f0 + a66a1f9 commit 3f7221d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Parameter | Description | Default
137137
`ingress.path` | Ingress accepted path | `/`
138138
`ingress.pathType` | Ingress [path type](https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types) | `ImplementationSpecific`
139139
`ingress.extraPaths` | Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions). | `[]`
140+
`ingress.labels` | Ingress extra labels | `{}`
140141
`ingress.annotations` | Ingress annotations | `nil`
141142
`ingress.hosts` | Ingress accepted hostnames | `nil`
142143
`ingress.tls` | Ingress TLS configuration | `nil`

helm/oauth2-proxy/templates/ingress.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ kind: Ingress
99
metadata:
1010
labels:
1111
app: {{ template "oauth2-proxy.name" . }}
12-
{{- include "oauth2-proxy.labels" . | indent 4 }}
12+
{{- include "oauth2-proxy.labels" . | indent 4 }}
13+
{{- if .Values.ingress.labels }}
14+
{{ toYaml .Values.ingress.labels | indent 4 }}
15+
{{- end }}
1316
name: {{ template "oauth2-proxy.fullname" . }}
1417
namespace: {{ template "oauth2-proxy.namespace" $ }}
1518
{{- with .Values.ingress.annotations }}

helm/oauth2-proxy/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ ingress:
153153
# name: ssl-redirect
154154
# port:
155155
# name: use-annotation
156+
labels: {}
156157
# annotations:
157158
# kubernetes.io/ingress.class: nginx
158159
# kubernetes.io/tls-acme: "true"
@@ -265,7 +266,7 @@ httpScheme: http
265266
htpasswdFile:
266267
enabled: false
267268
existingSecret: ""
268-
entries: {}
269+
entries: []
269270
# One row for each user
270271
# example:
271272
# entries:

0 commit comments

Comments
 (0)