diff --git a/charts/common-templates-0.2.0.tgz b/charts/common-templates-0.2.0.tgz deleted file mode 100644 index 237f917..0000000 Binary files a/charts/common-templates-0.2.0.tgz and /dev/null differ diff --git a/charts/common-templates-0.3.0.tgz b/charts/common-templates-0.3.0.tgz new file mode 100644 index 0000000..6a0831c Binary files /dev/null and b/charts/common-templates-0.3.0.tgz differ diff --git a/charts/common-templates/Chart.yaml b/charts/common-templates/Chart.yaml index 6ac7560..3038a16 100644 --- a/charts/common-templates/Chart.yaml +++ b/charts/common-templates/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: common-templates description: A Helm chart for common templates type: library -version: 0.2.0 \ No newline at end of file +version: 0.3.0 \ No newline at end of file diff --git a/charts/common-templates/templates/_common-ingress.yaml b/charts/common-templates/templates/_common-ingress.yaml index 041d5d6..5cf9744 100644 --- a/charts/common-templates/templates/_common-ingress.yaml +++ b/charts/common-templates/templates/_common-ingress.yaml @@ -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" diff --git a/index.yaml b/index.yaml index 53f12b7..f70f7f4 100644 --- a/index.yaml +++ b/index.yaml @@ -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'