diff --git a/deploy/charts/rook-ceph-cluster/templates/ingress.yaml b/deploy/charts/rook-ceph-cluster/templates/ingress.yaml index ecfb7c470..47746b462 100644 --- a/deploy/charts/rook-ceph-cluster/templates/ingress.yaml +++ b/deploy/charts/rook-ceph-cluster/templates/ingress.yaml @@ -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 }} diff --git a/deploy/charts/rook-ceph-cluster/values.yaml b/deploy/charts/rook-ceph-cluster/values.yaml index 02d9e77a0..3ff95347e 100644 --- a/deploy/charts/rook-ceph-cluster/values.yaml +++ b/deploy/charts/rook-ceph-cluster/values.yaml @@ -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