diff options
author | Jakub Latusek <j.latusek@samsung.com> | 2020-09-25 10:47:01 +0200 |
---|---|---|
committer | Jakub Latusek <j.latusek@samsung.com> | 2020-09-25 10:52:42 +0200 |
commit | 44a4b7e5e396f3a7b9e012995834f9a446e5044e (patch) | |
tree | 9df507f43e17dabc372e1d61e47f8aba830b2fe5 /kubernetes | |
parent | 7d54df7a616bfb92045e63b75600f6924851292a (diff) |
[SDNC] Move sessionAffinity
SessionAffinity field is defined in ServiceSpec, not in ServicePort
struct.
Signed-off-by: Jakub Latusek <j.latusek@samsung.com>
Issue-ID: OOM-2562
Change-Id: Ieebd842dc57c45e57fac9e8d4043901e3c71da6a
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/sdnc/templates/service.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/sdnc/templates/service.yaml b/kubernetes/sdnc/templates/service.yaml index b434c4025f..e3be4bc46a 100644 --- a/kubernetes/sdnc/templates/service.yaml +++ b/kubernetes/sdnc/templates/service.yaml @@ -49,9 +49,9 @@ spec: targetPort: {{ .Values.service.internalPort4 }} {{ end }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort4 }} - {{ if .Values.config.sdnr.enabled }} - Session Affinity: ClientIP - {{ end }} + {{ if .Values.config.sdnr.enabled }} + sessionAffinity: ClientIP + {{ end }} selector: app.kubernetes.io/name: {{ include "common.name" . }} app.kubernetes.io/instance: {{ include "common.release" . }} |