Skip to content

Commit

Permalink
update ingress for the api (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs authored Sep 18, 2023
1 parent 9b4dd75 commit 047e4fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/testkube/values-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions charts/testkube/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 047e4fd

Please sign in to comment.