feat: Include new component argo workflows
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user