Skip to content

Commit

Permalink
fix: restrict frontend ingress to some IPs (#209)
Browse files Browse the repository at this point in the history
* fix: restrict frontend ingress to some IPs

* fix: test unset annotation in dev

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* helm is not my friend

* helm hell

* 🤞

* Update .gitlab-ci.yml

* damn

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update www.values.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml
  • Loading branch information
Julien Bouquillon authored Dec 9, 2020
1 parent e985d49 commit 19e68a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions targets/frontend/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ Deploy www (dev):
name: ${CI_COMMIT_REF_SLUG}-dev2
variables:
MANIFEST_FOLDER: targets/frontend/.k8s/environments/dev
HELM_RENDER_ARGS: >-
--set ingress.annotations.nginx\.ingress\.kubernetes\.io\/whitelist-source-range=$IP_ALLOWLIST
Deploy www (prod):
extends:
Expand All @@ -117,3 +119,5 @@ Deploy www (prod):
name: prod2
variables:
MANIFEST_FOLDER: targets/frontend/.k8s/environments/prod
HELM_RENDER_ARGS: >-
--set ingress.annotations.nginx\.ingress\.kubernetes\.io\/whitelist-source-range=$IP_ALLOWLIST

0 comments on commit 19e68a0

Please sign in to comment.