Skip to content

Commit

Permalink
chore: fix default sticky session
Browse files Browse the repository at this point in the history
  • Loading branch information
JayArrowz committed May 25, 2024
1 parent 30cfb75 commit 67d6605
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file removed charts/common-templates-0.2.0.tgz
Binary file not shown.
Binary file added charts/common-templates-0.3.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/common-templates/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: common-templates
description: A Helm chart for common templates
type: library
version: 0.2.0
version: 0.3.0
4 changes: 2 additions & 2 deletions charts/common-templates/templates/_common-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ metadata:
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- if .Values.ingress.stickySessions }}
{{- if (default false .Values.ingress.stickySessions) }}
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/affinity-mode: "balanced"
nginx.ingress.kubernetes.io/session-cookie-name: "{{ .Values.ingress.cookieName }}"
nginx.ingress.kubernetes.io/session-cookie-name: "{{ .Values.ingress.cookieName | default "SESSIONID" }}"
nginx.ingress.kubernetes.io/session-cookie-path: "/"
nginx.ingress.kubernetes.io/session-cookie-samesite: "None"
nginx.ingress.kubernetes.io/session-cookie-secure: "true"
Expand Down
4 changes: 2 additions & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ entries:
digest: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
name: common-templates
urls:
- charts/common-templates-0.2.0.tgz
version: 0.2.0
- charts/common-templates-0.3.0.tgz
version: 0.3.0
generated: '2024-05-25T16:41:04Z'

0 comments on commit 67d6605

Please sign in to comment.