fix production environment
This commit is contained in:
parent
70dbf09140
commit
51076e21dd
9
helmfile/environments/production.yaml.gotmpl
Normal file
9
helmfile/environments/production.yaml.gotmpl
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#{{ $branded_image_tag:= env "BRANDED_IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
|
||||||
|
#{{ $ocelot_image_tag := env "OCELOT_IMAGE_TAG" | default (exec "../scripts/ocelot_image_tag.sh" (list) | trim) }}
|
||||||
|
{{ $image_tag := env "IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
|
||||||
|
|
||||||
|
domain: wir-social-production.ocelot-social-production.it4c.org
|
||||||
|
namespace: wir-social-ocelot-production
|
||||||
|
#image_tag: {{ env "IMAGE_TAG" | default (printf "ocelot-%s--branded-%s" $ocelot_image_tag $branded_image_tag) }}
|
||||||
|
image_tag: {{ $image_tag }}
|
||||||
|
github_repository: wir-social/wir.social
|
||||||
@ -1,7 +0,0 @@
|
|||||||
{{ $branded_image_tag:= env "BRANDED_IMAGE_TAG" | default (exec "../scripts/branded_image_tag.sh" (list) | trim) }}
|
|
||||||
{{ $ocelot_image_tag := env "OCELOT_IMAGE_TAG" | default (exec "../scripts/ocelot_image_tag.sh" (list) | trim) }}
|
|
||||||
|
|
||||||
domain: wir-social-staging.ocelot-social.it4c.org
|
|
||||||
namespace: wir-social-ocelot
|
|
||||||
image_tag: {{ env "IMAGE_TAG" | default (printf "ocelot-%s--branded-%s" $ocelot_image_tag $branded_image_tag) }}
|
|
||||||
github_repository: wir-social/wir.social
|
|
||||||
@ -3,6 +3,9 @@ environments:
|
|||||||
default:
|
default:
|
||||||
values:
|
values:
|
||||||
- ./environments/default.yaml.gotmpl
|
- ./environments/default.yaml.gotmpl
|
||||||
|
production:
|
||||||
|
values:
|
||||||
|
- ./environments/production.yaml.gotmpl
|
||||||
---
|
---
|
||||||
repositories:
|
repositories:
|
||||||
- name: ocelot-social
|
- name: ocelot-social
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user