feat: Include new component argo workflows

This commit is contained in:
Danny Bessems 2024-06-11 21:57:00 +10:00
parent 20f28f7d8a
commit 74070f266c
3 changed files with 41 additions and 1 deletions

View File

@ -1,6 +1,7 @@
- import_tasks: init.yml
- import_tasks: k3s.yml
- import_tasks: assets.yml
- import_tasks: workflow.yml
- import_tasks: virtualip.yml
- import_tasks: metadata.yml
- import_tasks: storage.yml

View File

@ -0,0 +1,20 @@
- block:
- name: Install argo-workflows chart
kubernetes.core.helm:
name: argo-workflows
chart_ref: /opt/metacluster/helm-charts/argo-workflows
release_namespace: argo-workflows
create_namespace: true
wait: false
kubeconfig: "{{ kubeconfig.path }}"
values: "{{ components['argo-workflows'].chart_values }}"
# - name: Trigger handlers
# ansible.builtin.meta: flush_handlers
module_defaults:
ansible.builtin.uri:
validate_certs: no
status_code: [200, 201]
body_format: json

View File

@ -58,7 +58,7 @@ components:
argo-cd:
helm:
version: 6.7.7 # (=ArgoCD v.2.10.5)
version: 6.7.7 # (=Argo CD v2.10.5)
chart: argo/argo-cd
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /'
chart_values: !unsafe |
@ -79,6 +79,25 @@ components:
ingress:
enabled: true
argo-workflows:
helm:
version: 0.41.8 # (=Argo Workflows v3.5.7)
chart: argo/argo-workflows
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /'
chart_values: !unsafe |
controller:
workflowNamespaces:
- default
- firstboot
server:
ingress:
enabled: true
hosts:
- workflow.{{ vapp['workloadcluster.fqdn']}}
paths:
- /
pathType: Prefix
cert-manager:
helm:
version: 1.14.4