Merge pull request #15722 from rook/mergify/bp/release-1.16/pr-15719
feat: add labels to ingress resource (backport #15719)
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -5,6 +5,9 @@ kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "clusterName" . }}-dashboard
|
||||
namespace: {{ .Release.Namespace }} # namespace:cluster
|
||||
{{- if .Values.ingress.dashboard.labels }}
|
||||
labels: {{- toYaml .Values.ingress.dashboard.labels | nindent 4 }}
|
||||
{{- end}}
|
||||
{{- if .Values.ingress.dashboard.annotations }}
|
||||
annotations: {{- toYaml .Values.ingress.dashboard.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -417,6 +417,8 @@ ingress:
|
||||
# -- Enable an ingress for the ceph-dashboard
|
||||
dashboard:
|
||||
{}
|
||||
# labels:
|
||||
# external-dns/private: "true"
|
||||
# annotations:
|
||||
# external-dns.alpha.kubernetes.io/hostname: dashboard.example.com
|
||||
# nginx.ingress.kubernetes.io/rewrite-target: /ceph-dashboard/$2
|
||||
|
||||
Reference in new issue
Block a user