diff --git a/chart/templates/daemonset-sa.yaml b/chart/templates/daemonset-sa.yaml index ef3fb8c..d1cb711 100644 --- a/chart/templates/daemonset-sa.yaml +++ b/chart/templates/daemonset-sa.yaml @@ -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 diff --git a/chart/values.yaml b/chart/values.yaml index 98acaf3..db64a0d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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: {}