Skip to content

Commit

Permalink
update after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
malaskowski authored and tomaszmichalak committed Dec 5, 2023
1 parent 63c45e2 commit 59e31a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion websight-cms/templates/cms/cms-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "websight-cms.component.fullname" (dict "componentName" "cms" "context" $) }}
annotations:
kubernetes.io/ingress.class: nginx
{{- if gt .Values.cms.replicas 1 }}
{{- if gt (.Values.cms.replicas | int) 1 }}
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "websight-cms-sticky"
nginx.ingress.kubernetes.io/session-cookie-expires: {{ .Values.cms.session.cookie.expires | quote }}
Expand Down
1 change: 0 additions & 1 deletion websight-cms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ cms:
# -- custom CMS ingress annotations
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 5m
kubernetes.io/ingress.class: nginx
# -- cms host
host: "cms.127.0.0.1.nip.io"

Expand Down

0 comments on commit 59e31a6

Please sign in to comment.