Annotation for service LonghornManager will be configurable.
Signed-off-by: Amadeusz Kryze <amadeusz.kryze@gmail.com>
(cherry picked from commit 1e7289dfe0
)
This commit is contained in:
parent
c2293062db
commit
7956c08eb5
@ -127,6 +127,10 @@ metadata:
|
|||||||
app: longhorn-manager
|
app: longhorn-manager
|
||||||
name: longhorn-backend
|
name: longhorn-backend
|
||||||
namespace: {{ include "release_namespace" . }}
|
namespace: {{ include "release_namespace" . }}
|
||||||
|
{{- if .Values.longhornManager.serviceAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.longhornManager.serviceAnnotations | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.manager.type }}
|
type: {{ .Values.service.manager.type }}
|
||||||
sessionAffinity: ClientIP
|
sessionAffinity: ClientIP
|
||||||
|
@ -157,6 +157,11 @@ longhornManager:
|
|||||||
## and uncomment this example block
|
## and uncomment this example block
|
||||||
# label-key1: "label-value1"
|
# label-key1: "label-value1"
|
||||||
# label-key2: "label-value2"
|
# 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:
|
longhornDriver:
|
||||||
priorityClass: ~
|
priorityClass: ~
|
||||||
|
Loading…
Reference in New Issue
Block a user