Browse Source

Add ingress annotations (#9492)

3.0.0/version-upgrade
jiachuan.zhu 3 years ago committed by GitHub
parent
commit
24e455304c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      deploy/kubernetes/dolphinscheduler/templates/ingress.yaml
  2. 1
      deploy/kubernetes/dolphinscheduler/values.yaml

4
deploy/kubernetes/dolphinscheduler/templates/ingress.yaml

@ -28,6 +28,10 @@ metadata:
labels:
app.kubernetes.io/name: {{ include "dolphinscheduler.fullname" . }}
{{- include "dolphinscheduler.common.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules:
- host: {{ .Values.ingress.host }}

1
deploy/kubernetes/dolphinscheduler/values.yaml

@ -403,6 +403,7 @@ ingress:
enabled: false
host: "dolphinscheduler.org"
path: "/dolphinscheduler"
annotations: {}
tls:
enabled: false
secretName: "dolphinscheduler-tls"

Loading…
Cancel
Save