Annotation for service LonghornManager will be configurable.

Signed-off-by: Amadeusz Kryze <amadeusz.kryze@gmail.com>
This commit is contained in:
Amadeusz Kryze 2022-07-20 12:16:34 +02:00 committed by David Ko
parent d48e95b8c3
commit 1e7289dfe0
2 changed files with 9 additions and 0 deletions

View File

@ -117,6 +117,10 @@ metadata:
app: longhorn-manager
name: longhorn-backend
namespace: {{ include "release_namespace" . }}
{{- if .Values.longhornManager.serviceAnnotations }}
annotations:
{{ toYaml .Values.longhornManager.serviceAnnotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.manager.type }}
sessionAffinity: ClientIP

View File

@ -141,6 +141,11 @@ longhornManager:
## and uncomment this example block
# label-key1: "label-value1"
# label-key2: "label-value2"
serviceAnnotations: {}
## If you want to set annotations for the Longhorn Manager delete the `{}` in the line above
## and uncomment this example block
# annotation-key1: "annotation-value1"
# annotation-key2: "annotation-value2"
longhornDriver:
priorityClass: ~