Refactor templating #3
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f04095db8c
commit
eeb1364f1b
@ -20,8 +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: !unsafe |
|
||||||
{% raw %}
|
|
||||||
defaultSettings:
|
defaultSettings:
|
||||||
defaultDataPath: /mnt/blockstorage
|
defaultDataPath: /mnt/blockstorage
|
||||||
defaultReplicaCount: 1
|
defaultReplicaCount: 1
|
||||||
@ -30,15 +29,13 @@ components:
|
|||||||
host: storage.{{ vapp['metacluster.fqdn'] }}
|
host: storage.{{ vapp['metacluster.fqdn'] }}
|
||||||
persistence:
|
persistence:
|
||||||
defaultClassReplicaCount: 1
|
defaultClassReplicaCount: 1
|
||||||
{% endraw %}
|
|
||||||
|
|
||||||
harbor:
|
harbor:
|
||||||
helm:
|
helm:
|
||||||
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: !unsafe |
|
||||||
{% raw %}
|
|
||||||
expose:
|
expose:
|
||||||
ingress:
|
ingress:
|
||||||
hosts:
|
hosts:
|
||||||
@ -47,15 +44,13 @@ components:
|
|||||||
harborAdminPassword: "{{ vapp['guestinfo.rootpw'] }}"
|
harborAdminPassword: "{{ vapp['guestinfo.rootpw'] }}"
|
||||||
notary:
|
notary:
|
||||||
enabled: false
|
enabled: false
|
||||||
{% endraw %}
|
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
helm:
|
helm:
|
||||||
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: !unsafe |
|
||||||
{% raw %}
|
|
||||||
gitea:
|
gitea:
|
||||||
admin:
|
admin:
|
||||||
username: administrator
|
username: administrator
|
||||||
@ -70,15 +65,13 @@ components:
|
|||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
{% endraw %}
|
|
||||||
|
|
||||||
argo-cd:
|
argo-cd:
|
||||||
helm:
|
helm:
|
||||||
version: 4.9.7 # (= ArgoCD v2.4.2)
|
version: 4.9.7 # (= ArgoCD v2.4.2)
|
||||||
chart: argo/argo-cd
|
chart: argo/argo-cd
|
||||||
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: !unsafe |
|
||||||
{% raw %}
|
|
||||||
server:
|
server:
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- --insecure
|
- --insecure
|
||||||
@ -89,7 +82,6 @@ components:
|
|||||||
configs:
|
configs:
|
||||||
secret:
|
secret:
|
||||||
argocdServerAdminPassword: "{{ vapp['guestinfo.rootpw'] | password_hash('bcrypt') }}"
|
argocdServerAdminPassword: "{{ vapp['guestinfo.rootpw'] | password_hash('bcrypt') }}"
|
||||||
{% endraw %}
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user