Verified Commit 98d46c3f authored by Dmytro Bogatov's avatar Dmytro Bogatov 💕

Fix #9.

parent 2ccb9fc1
......@@ -98,11 +98,6 @@ generate-service () {
cp sources/service/{service,deployment}.yaml services/$service
cp sources/service/ingress/{main,rule-*}.yaml services/$service/ingress
if [ "$service" == "legacy-dbogatov-org" ]
then
replicas="1"
fi
if [ "$service" == "webcam-dbogatov-org" ]
then
auth="ingress.kubernetes.io/auth-type: basic"
......
......@@ -8,6 +8,9 @@ metadata:
ingress.kubernetes.io/force-ssl-redirect: "true"
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/from-to-www-redirect: "true"
ingress.kubernetes.io/affinity: "cookie"
ingress.kubernetes.io/session-cookie-name: "route"
ingress.kubernetes.io/session-cookie-hash: "md5"
ingress.kubernetes.io/auth-secret: basic-auth
ingress.kubernetes.io/auth-realm: "Authentication Required!"
__AUTH__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment