Different syntax to allow raw jinja strings
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-07-04 15:12:27 +02:00
parent caf45b5270
commit fe8765ded7
2 changed files with 7 additions and 8 deletions

View File

@ -6,7 +6,6 @@
- /opt/metacluster/helm-charts
- /opt/metacluster/container-images
#- name: Inject values (re: firstboot logic)
- name: Add helm repositories
kubernetes.core.helm_repository:

View File

@ -26,7 +26,7 @@ components:
defaultReplicaCount: 1
ingress:
enabled: true
host: storage.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %}
host: storage.{{ '{{' }} vapp['metacluster.fqdn'] {{ '}}' }}
persistence:
defaultClassReplicaCount: 1
@ -39,9 +39,9 @@ components:
expose:
ingress:
hosts:
core: registry.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %}
externalURL: https://registry.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %}
harborAdminPassword: "{% raw %}{{ vapp['guestinfo.rootpw'] }}{% endraw %}"
core: registry.{{ '{{' }} vapp['metacluster.fqdn'] {{ '}}' }}
externalURL: https://registry.{{ '{{' }} vapp['metacluster.fqdn'] {{ '}}' }}
harborAdminPassword: "{{ '{{' }} vapp['guestinfo.rootpw'] {{ '}}' }}"
notary:
enabled: false
@ -54,13 +54,13 @@ components:
gitea:
admin:
username: administrator
password: "{% raw %}{{ vapp['guestinfo.rootpw'] }}{% endraw %}"
email: admin@{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %}
password: "{{ '{{' }} vapp['guestinfo.rootpw'] {{ '}}' }}"
email: admin@{{ '{{' }} vapp['metacluster.fqdn'] {{ '}}' }}
image:
pullPolicy: IfNotPresent
ingress:
hosts:
- host: git.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %}
- host: git.{{ '{{' }} vapp['metacluster.fqdn'] {{ '}}' }}
paths:
- path: /
pathType: Prefix