Skip to content

Commit 69dcd0c

Browse files
author
Byron Mansfield Arvest
committed
Adds support for annotations on the service
1 parent c727ff4 commit 69dcd0c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

charts/dashboard/templates/dashboard.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ metadata:
44
name: dashboard
55
labels:
66
{{- include "projectsveltos.labels" . | nindent 4 }}
7+
{{- with .Values.dashboard.annotations }}
8+
annotations:
9+
{{- range $key, $value := . }}
10+
{{ $key }}: {{ $value | quote }}
11+
{{- end }}
12+
{{- end }}
713
spec:
814
type: {{ .Values.dashboard.type }}
915
selector:
1016
app: dashboard
1117
{{- include "projectsveltos.selectorLabels" . | nindent 4 }}
1218
ports:
13-
{{- .Values.dashboard.ports | toYaml | nindent 2 -}}
19+
{{- .Values.dashboard.ports | toYaml | nindent 2 -}}

charts/dashboard/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ global:
33
useDigest: false
44
imagePullSecrets: []
55
dashboard:
6+
annotations: {}
67
dashboard:
78
image:
89
repository: projectsveltos/dashboard

0 commit comments

Comments
 (0)