mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Add ingressClassName to ingress template (#858)
This commit is contained in:
parent
eb6d69e1fd
commit
c310363c99
2 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,9 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.ingress.ingressClassName }}
|
||||
ingressClassName: {{ . }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
|
|
|
@ -64,6 +64,10 @@ ingress:
|
|||
annotations:
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
|
||||
# -- Defines which ingress controller will implement the resource
|
||||
ingressClassName: ""
|
||||
|
||||
hosts:
|
||||
- host: chart-example.local
|
||||
paths:
|
||||
|
|
Loading…
Reference in a new issue