Skip to content

Commit

Permalink
[VDEVOPS-000]: Session affinity fix
Browse files Browse the repository at this point in the history
Signed-off-by: adobrodey <[email protected]>
  • Loading branch information
ADobrodey committed Mar 7, 2024
1 parent 1874760 commit e837964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/deployment/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: deployment
version: 1.5.4
version: 1.5.5
description: Typical microservice chart. Supports Ingress controller, horizontal-scalable containers
type: application
dependencies:
Expand Down
2 changes: 2 additions & 0 deletions stable/deployment/templates/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ spec:
{{- end }}
{{- end }}
selector: {{ include "k8s-common.labels.matchLabels" . | nindent 4 }}
{{- if ne .Values.service.type "LoadBalancer" }}
sessionAffinity: ClientIP
{{- end }}

{{- if .Values.rollouts.enabled }}
---
Expand Down

0 comments on commit e837964

Please sign in to comment.