From 047e4fde58f5fd486ccf9d2f99a9a236b4ae614e Mon Sep 17 00:00:00 2001 From: ypoplavs <45286051+ypoplavs@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:49:57 +0300 Subject: [PATCH] update ingress for the api (#632) --- charts/testkube/values-develop.yaml | 3 +++ charts/testkube/values-stage.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/charts/testkube/values-develop.yaml b/charts/testkube/values-develop.yaml index d62f5414b..9851faaf6 100644 --- a/charts/testkube/values-develop.yaml +++ b/charts/testkube/values-develop.yaml @@ -156,6 +156,9 @@ testkube-api: nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/cors-allow-credentials: "false" + nginx.ingress.kubernetes.io/auth-type: basic + nginx.ingress.kubernetes.io/auth-secret: htpasswd + nginx.ingress.kubernetes.io/auth-realm: "Enter your credentials" # specify the name of the global IP address resource to be associated with the HTTP(S) Load Balancer. kubernetes.io/ingress.global-static-ip-name: testkube-develop # add an annotation indicating the issuer to use. diff --git a/charts/testkube/values-stage.yaml b/charts/testkube/values-stage.yaml index e1bf08bd8..7f1d9713c 100644 --- a/charts/testkube/values-stage.yaml +++ b/charts/testkube/values-stage.yaml @@ -156,6 +156,9 @@ testkube-api: nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/cors-allow-methods: "GET" nginx.ingress.kubernetes.io/cors-allow-credentials: "false" + nginx.ingress.kubernetes.io/auth-type: basic + nginx.ingress.kubernetes.io/auth-secret: htpasswd + nginx.ingress.kubernetes.io/auth-realm: "Enter your credentials" # specify the name of the global IP address resource to be associated with the HTTP(S) Load Balancer. kubernetes.io/ingress.global-static-ip-name: testkube-integration # add an annotation indicating the issuer to use.