platform: k3s: version: v1.24.1+k3s1 helm_repositories: - name: longhorn url: https://charts.longhorn.io - name: harbor url: https://helm.goharbor.io - name: gitea-charts url: https://dl.gitea.io/charts/ - name: argo url: https://argoproj.github.io/argo-helm components: longhorn: helm: version: 1.3.0 chart: longhorn/longhorn parse_logic: cat values.yaml | yq eval '.. | select(has("repository")) | .repository + ":" + .tag' chart_values: defaultSettings: defaultDataPath: /mnt/blockstorage defaultReplicaCount: 1 ingress: enabled: true host: storage.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %} persistence: defaultClassReplicaCount: 1 harbor: helm: version: 1.9.1 # (= Harbor v2.5.1) chart: harbor/harbor parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' chart_values: expose: ingress: hosts: core: registry.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %} externalURL: https://registry.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %} harborAdminPassword: "{% raw %}{{ vapp['guestinfo.rootpw'] }}{% endraw %}" notary: enabled: false gitea: helm: version: v5.0.9 # (= Gitea v1.16.8) chart: gitea-charts/gitea parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | sed '/:/!s/$/:latest/' chart_values: gitea: admin: username: administrator password: "{% raw %}{{ vapp['guestinfo.rootpw'] }}{% endraw %}" email: admin@{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %} image: pullPolicy: IfNotPresent ingress: hosts: - host: git.{% raw %}{{ vapp['metacluster.fqdn'] }}{% endraw %} paths: - path: / pathType: Prefix argo-cd: helm: version: 4.9.7 # (= ArgoCD v2.4.2) chart: argo/argo-cd parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' dependencies: ansible_galaxy_collections: - ansible.posix - ansible.utils - community.general - kubernetes.core container_images: - quay.io/skopeo/stable:v1.8.0 static_binaries: - filename: tea url: https://dl.gitea.io/tea/0.8.0/tea-0.8.0-linux-amd64 - filename: helm url: https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz archive: compressed extra_opts: --strip-components=1 - filename: yq url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64 packages: - lvm2 - skopeo