Add Gitea;Allow override of helm-chart basedir
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
0c01f024e9
commit
1842a08a39
@ -59,3 +59,8 @@
|
|||||||
path: /opt/metacluster/container_images
|
path: /opt/metacluster/container_images
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: Cleanup tempfile
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ kubeconfig.path }}"
|
||||||
|
state: absent
|
||||||
|
when: kubeconfig.path is defined
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
- name: Parse helm charts for container images
|
- name: Parse helm charts for container images
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "{{ item.value.helm.parse_logic }}"
|
cmd: "{{ item.value.helm.parse_logic }}"
|
||||||
chdir: /opt/metacluster/helm-charts/{{ item.key }}
|
chdir: /opt/metacluster/helm-charts/{{ item.value.helm.basedir | default(item.key) }}
|
||||||
register: containerimages
|
register: containerimages
|
||||||
loop: "{{ lookup('ansible.builtin.dict', components) }}"
|
loop: "{{ lookup('ansible.builtin.dict', components) }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
@ -8,6 +8,8 @@ platform:
|
|||||||
url: https://charts.longhorn.io
|
url: https://charts.longhorn.io
|
||||||
- name: harbor
|
- name: harbor
|
||||||
url: https://helm.goharbor.io
|
url: https://helm.goharbor.io
|
||||||
|
- name: gitea-charts
|
||||||
|
url: https://dl.gitea.io/charts/
|
||||||
- name: argo
|
- name: argo
|
||||||
url: https://argoproj.github.io/argo-helm
|
url: https://argoproj.github.io/argo-helm
|
||||||
|
|
||||||
@ -25,6 +27,13 @@ components:
|
|||||||
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 '!/ /'
|
||||||
|
|
||||||
|
gitea:
|
||||||
|
helm:
|
||||||
|
version: v5.0.9 # (= Gitea v1.16.8)
|
||||||
|
chart: gitea-charts/gitea
|
||||||
|
basedir: helm-chart
|
||||||
|
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /'
|
||||||
|
|
||||||
argo-cd:
|
argo-cd:
|
||||||
helm:
|
helm:
|
||||||
version: 4.9.7 # (= ArgoCD v2.4.2)
|
version: 4.9.7 # (= ArgoCD v2.4.2)
|
||||||
|
Loading…
Reference in New Issue
Block a user