2 Commits

Author SHA1 Message Date
cb97703406 Refine templating #3
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-07 17:35:31 +02:00
16df0b65fc Disable TLS verify 2022-07-07 09:57:56 +02:00
3 changed files with 38 additions and 34 deletions

View File

@@ -14,3 +14,7 @@ mirrors:
- https://registry.{{ vapp['metacluster.fqdn'] }} - https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite: rewrite:
"(.*)": "library/quay.io/$1" "(.*)": "library/quay.io/$1"
configs:
"registry.{{ vapp['metacluster.fqdn'] }}":
tls:
insecure_skip_verify: true

View File

@@ -20,7 +20,7 @@ components:
version: 1.3.0 version: 1.3.0
chart: longhorn/longhorn chart: longhorn/longhorn
parse_logic: cat values.yaml | yq eval '.. | select(has("repository")) | .repository + ":" + .tag' parse_logic: cat values.yaml | yq eval '.. | select(has("repository")) | .repository + ":" + .tag'
chart_values: | chart_values: |2
defaultSettings: defaultSettings:
defaultDataPath: /mnt/blockstorage defaultDataPath: /mnt/blockstorage
defaultReplicaCount: 1 defaultReplicaCount: 1
@@ -35,7 +35,7 @@ components:
version: 1.9.1 # (= Harbor v2.5.1) version: 1.9.1 # (= Harbor v2.5.1)
chart: harbor/harbor chart: harbor/harbor
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /'
chart_values: | chart_values: |2
expose: expose:
ingress: ingress:
hosts: hosts:
@@ -50,7 +50,7 @@ components:
version: v5.0.9 # (= Gitea v1.16.8) version: v5.0.9 # (= Gitea v1.16.8)
chart: gitea-charts/gitea chart: gitea-charts/gitea
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | sed '/:/!s/$/:latest/' parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | sed '/:/!s/$/:latest/'
chart_values: | chart_values: |2
gitea: gitea:
admin: admin:
username: administrator username: administrator