Add chart values to var_file;Add default null
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
e3e46bae7d
commit
6220e2a9aa
@ -28,7 +28,7 @@
|
|||||||
path: /opt/firstboot/ansible/vars/metacluster.yml
|
path: /opt/firstboot/ansible/vars/metacluster.yml
|
||||||
block: |2
|
block: |2
|
||||||
{{ item.key }}:
|
{{ item.key }}:
|
||||||
{{ item.value.chart_values }}
|
{{ item.value.chart_values | default('~') }}
|
||||||
loop: "{{ lookup('ansible.builtin.dict', components) }}"
|
loop: "{{ lookup('ansible.builtin.dict', components) }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.key }}"
|
label: "{{ item.key }}"
|
||||||
|
@ -20,18 +20,50 @@ 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:
|
||||||
|
defaultSettings:
|
||||||
|
defaultDataPath: /mnt/blockstorage
|
||||||
|
defaultReplicaCount: 1
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
host: {% raw %}storage.{{ vapp['metacluster.fqdn'] }}{% endraw %}
|
||||||
|
persistence:
|
||||||
|
defaultClassReplicaCount: 1
|
||||||
|
|
||||||
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:
|
||||||
|
expose:
|
||||||
|
ingress:
|
||||||
|
hosts:
|
||||||
|
core: registry.{{ vapp['metacluster.fqdn'] }}
|
||||||
|
externalURL: https://registry.{{ vapp['metacluster.fqdn'] }}
|
||||||
|
harborAdminPassword: "{{ vapp['guestinfo.rootpw'] }}"
|
||||||
|
notary:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
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:
|
||||||
|
gitea:
|
||||||
|
admin:
|
||||||
|
username: administrator
|
||||||
|
password: "{{ vapp['guestinfo.rootpw'] }}"
|
||||||
|
email: admin@{{ vapp['metacluster.fqdn'] }}
|
||||||
|
image:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
ingress:
|
||||||
|
hosts:
|
||||||
|
- host: git.{{ vapp['metacluster.fqdn'] }}
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
|
||||||
argo-cd:
|
argo-cd:
|
||||||
helm:
|
helm:
|
||||||
|
Loading…
Reference in New Issue
Block a user