Packer.Images/ansible/vars/metacluster.yml
Danny Bessems a1779be079
Some checks failed
continuous-integration/drone/push Build is failing
Change yq syntax
2022-06-27 09:03:43 +02:00

51 lines
1.3 KiB
YAML

platform:
k3s:
version: v1.24.1+k3s1
helm_repositories:
- name: longhorn
url: https://charts.longhorn.io
- name: harbor
url: https://helm.goharbor.io
- name: argo
url: https://argoproj.github.io/argo-helm
components:
longhorn:
helm:
version: 1.3.0
chart: longhorn/longhorn
parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + .tag'
harbor:
helm:
version: 1.9.1 # (= Harbor v2.5.1)
chart: harbor/harbor
parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + .tag'
argo-cd:
helm:
version: 4.9.7 # (= ArgoCD v2.4.2)
chart: argo/argo-cd
parse_logic: yq e '.. | select(has("repository")) |= (with(select(.tag == "" or .tag == null); .repository + ":v2.4.2") | with(select(.tag != "" and .tag != null); .repository + ":" + .tag))'
dependencies:
ansible_galaxy_collections:
- ansible.utils
- community.general
- kubernetes.core
static_binaries:
- 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:
- skopeo