Skip to content

Commit

Permalink
fix(homepage): make highly-available
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Dec 12, 2024
1 parent f6e4181 commit 4c8aef6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions registry/components/homepage/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
annotations:
configmap.reloader.stakater.com/reload: homepage
secret.reloader.stakater.com/reload: homepage-secrets
replicas: 2
resources:
requests:
cpu: 500m
Expand All @@ -42,6 +43,10 @@ spec:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
nginx.ingress.kubernetes.io/affinity: cookie
nginx.ingress.kubernetes.io/affinity-mode: persistent
nginx.ingress.kubernetes.io/session-cookie-secure: "true"
nginx.ingress.kubernetes.io/session-cookie-change-on-failure: "true"
ingressClassName: nginx
hosts:
- host: homepage.simonemms.com
Expand Down

0 comments on commit 4c8aef6

Please sign in to comment.