Add annotations to longhorn-manager DaemonSet

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
This commit is contained in:
JenTing Hsiao 2021-03-21 16:04:52 +08:00 committed by David Ko
parent eb76703339
commit b4af43d454
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,10 @@ spec:
metadata:
labels: {{- include "longhorn.labels" . | nindent 8 }}
app: longhorn-manager
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
containers:
- name: longhorn-manager

View File

@ -163,3 +163,6 @@ enablePSP: true
## Specify override namespace, specifically this is useful for using longhorn as sub-chart
## and its release namespace is not the `longhorn-system`
namespaceOverride: ""
# Annotations to add to the Longhorn DaemonSet's. Optional.
annotations: {}