You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2022/04/19 12:02:01 UTC
[dolphinscheduler] branch dev updated: Add ingress annotations (#9492)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 24e455304c Add ingress annotations (#9492)
24e455304c is described below
commit 24e455304cdd6a5018c74c9781a20877076960da
Author: jiachuan.zhu <ch...@gmail.com>
AuthorDate: Tue Apr 19 20:01:57 2022 +0800
Add ingress annotations (#9492)
---
deploy/kubernetes/dolphinscheduler/templates/ingress.yaml | 4 ++++
deploy/kubernetes/dolphinscheduler/values.yaml | 1 +
2 files changed, 5 insertions(+)
diff --git a/deploy/kubernetes/dolphinscheduler/templates/ingress.yaml b/deploy/kubernetes/dolphinscheduler/templates/ingress.yaml
index 0fa1a8b5c9..e4b2ec337f 100644
--- a/deploy/kubernetes/dolphinscheduler/templates/ingress.yaml
+++ b/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 }}
diff --git a/deploy/kubernetes/dolphinscheduler/values.yaml b/deploy/kubernetes/dolphinscheduler/values.yaml
index a408bcdfb0..f1dd6b0c9a 100644
--- a/deploy/kubernetes/dolphinscheduler/values.yaml
+++ b/deploy/kubernetes/dolphinscheduler/values.yaml
@@ -403,6 +403,7 @@ ingress:
enabled: false
host: "dolphinscheduler.org"
path: "/dolphinscheduler"
+ annotations: {}
tls:
enabled: false
secretName: "dolphinscheduler-tls"