Skip to content

Commit 263c8e1

Browse files
authored
Merge branch 'main' into feat/k8s-labelss
2 parents bd2ee25 + 5101d92 commit 263c8e1

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Parameter | Description | Default
107107
`image.tag` | Image tag | `v7.1.3`
108108
`imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods)
109109
`ingress.enabled` | Enable Ingress | `false`
110+
`ingress.className` | name referencing IngressClass | `nil`
110111
`ingress.path` | Ingress accepted path | `/`
111112
`ingress.pathType` | Ingress [path type](https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types) | `ImplementationSpecific`
112113
`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). | `[]`

helm/oauth2-proxy/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ metadata:
2424
{{ toYaml . | indent 4 }}
2525
{{- end }}
2626
spec:
27+
{{- if .Values.ingress.className }}
28+
ingressClassName: {{ .Values.ingress.className }}
29+
{{- end }}
2730
rules:
2831
{{- range $host := .Values.ingress.hosts }}
2932
- host: {{ $host | quote }}

helm/oauth2-proxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ serviceAccount:
9595

9696
ingress:
9797
enabled: false
98+
# className: nginx
9899
path: /
99100
# Only used if API capabilities (networking.k8s.io/v1) allow it
100101
pathType: ImplementationSpecific

0 commit comments

Comments
 (0)