Fix repository path;Add chart values;Fix ansible galaxy cli syntax
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-04-03 17:25:45 +02:00
parent 5a82c9e122
commit 8e76617794
5 changed files with 37 additions and 4 deletions

View File

@ -39,7 +39,7 @@ steps:
pull: always
commands:
- |
ansible-galaxy install \
ansible-galaxy collection install \
-r ansible/requirements.yml \
-p /scratch/ansible-galaxy
volumes:

View File

@ -16,7 +16,8 @@
- /opt/metacluster/helm-charts
- /opt/metacluster/k3s
- /opt/metacluster/kube-vip
- /opt/workloadcluster/git-repositories/gitops
- /opt/workloadcluster/git-repositories/gitops/charts
- /opt/workloadcluster/git-repositories/gitops/values
- /opt/workloadcluster/helm-charts
- /opt/workloadcluster/node-templates
- /var/lib/rancher/k3s/agent/images

View File

@ -8,7 +8,7 @@
- name: Create hard-links to populate new git-repository
ansible.builtin.shell:
cmd: >-
cp -lr {{ item.path }}/ /opt/workloadcluster/git-repositories/gitops/
cp -lr {{ item.path }}/ /opt/workloadcluster/git-repositories/gitops/charts
loop: "{{ helm_charts.files }}"
loop_control:
label: "{{ item.path | basename }}"

View File

@ -9,7 +9,7 @@ spec:
repoURL: {{ _template.repository.url }}
revision: HEAD
directories:
- path: applicationset/*
- path: charts/*
template:
metadata:
name: {% raw %}'{{ path.basename }}'{% endraw +%}

View File

@ -15,6 +15,38 @@ downstream:
chart_values: !unsafe |
defaultSettings:
defaultDataPath: /mnt/blockstorage
global:
cattle:
systemDefaultRegistry: registry.{{ vapp['metacluster.fqdn'] }}
image:
longhorn:
engine:
repository: library/docker.io/longhornio/longhorn-engine
manager:
repository: library/docker.io/longhornio/longhorn-manager
ui:
repository: library/docker.io/longhornio/longhorn-ui
instanceManager:
repository: library/docker.io/longhornio/longhorn-instance-manager
shareManager:
repository: library/docker.io/longhornio/longhorn-share-manager
backingImageManager:
repository: library/docker.io/longhornio/backing-image-manager
supportBundleKit:
repository: library/docker.io/longhornio/support-bundle-kit
csi:
attacher:
repository: library/docker.io/longhornio/csi-attacher
provisioner:
repository: library/docker.io/longhornio/csi-provisioner
nodeDriverRegistrar:
repository: library/docker.io/longhornio/csi-node-driver-registrar
resizer:
repository: library/docker.io/longhornio/csi-resizer
snapshotter:
repository: library/docker.io/longhornio/csi-snapshotter
livenessProbe:
repository: library/docker.io/longhornio/livenessprobe
sealed-secrets:
version: 2.8.1 # (= Sealed Secrets v0.20.2)