mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[oauth2-proxy] add support for ingressClassName (#592)
This commit is contained in:
parent
bb810f947a
commit
a4b4eee806
@ -1,5 +1,5 @@
|
||||
name: oauth2-proxy
|
||||
version: 4.3.0
|
||||
version: 4.4.0
|
||||
apiVersion: v1
|
||||
appVersion: 5.1.0
|
||||
home: https://oauth2-proxy.github.io/oauth2-proxy/
|
||||
|
@ -87,6 +87,7 @@ Parameter | Description | Default
|
||||
`image.tag` | Image tag | `v5.1.0`
|
||||
`imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods)
|
||||
`ingress.enabled` | Enable Ingress | `false`
|
||||
`ingress.ingressClassName` | Set ingressClassName | `nil`
|
||||
`ingress.path` | Ingress accepted path | `/`
|
||||
`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). | `[]`
|
||||
`ingress.annotations` | Ingress annotations | `nil`
|
||||
|
@ -21,6 +21,11 @@ metadata:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" -}}
|
||||
{{- if .Values.ingress.ingressClassName }}
|
||||
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- range $host := .Values.ingress.hosts }}
|
||||
- host: {{ $host | quote }}
|
||||
|
@ -99,6 +99,8 @@ ingress:
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
# Define the ingressClassName
|
||||
# ingressClassName: nginx
|
||||
|
||||
resources: {}
|
||||
# limits:
|
||||
|
Loading…
Reference in New Issue
Block a user