Skip to content

Commit 5101d92

Browse files
Merge pull request #56 from jonkerj/ingressclassname
Allow specification of ingressClassName
2 parents 92dc431 + aea6146 commit 5101d92

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 4.1.1
2+
version: 4.2.0
33
apiVersion: v2
44
appVersion: 7.1.3
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Parameter | Description | Default
9696
`image.tag` | Image tag | `v7.1.3`
9797
`imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods)
9898
`ingress.enabled` | Enable Ingress | `false`
99+
`ingress.className` | name referencing IngressClass | `nil`
99100
`ingress.path` | Ingress accepted path | `/`
100101
`ingress.pathType` | Ingress [path type](https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types) | `ImplementationSpecific`
101102
`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
@@ -26,6 +26,9 @@ metadata:
2626
{{ toYaml . | indent 4 }}
2727
{{- end }}
2828
spec:
29+
{{- if .Values.ingress.className }}
30+
ingressClassName: {{ .Values.ingress.className }}
31+
{{- end }}
2932
rules:
3033
{{- range $host := .Values.ingress.hosts }}
3134
- host: {{ $host | quote }}

helm/oauth2-proxy/values.yaml

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

9393
ingress:
9494
enabled: false
95+
# className: nginx
9596
path: /
9697
# Only used if API capabilities (networking.k8s.io/v1) allow it
9798
pathType: ImplementationSpecific

0 commit comments

Comments
 (0)