Annotation for service LonghornManager will be configurable.
Signed-off-by: Amadeusz Kryze <amadeusz.kryze@gmail.com>
This commit is contained in:
parent
d48e95b8c3
commit
1e7289dfe0
@ -117,6 +117,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
|
||||||
|
@ -141,6 +141,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