Skip to content

Commit

Permalink
feat: PUC-113 Add Argo Workflow as Component
Browse files Browse the repository at this point in the history
As part of the install process for dev and production, we need to add Argo Workflows as a component.  This adds the kustomize template to create the helm charts.  This is barebones.  We may need to update with proper values we want for prod.
  • Loading branch information
Amir Chatur committed Feb 12, 2024
1 parent f58c023 commit 2282aa1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/00-namespaces/argo-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: argo
labels:
kubernetes.io/metadata.name: argo
name: argo
1 change: 1 addition & 0 deletions components/00-namespaces/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ kind: Kustomization
resources:
- nautobot.yaml
- openstack.yaml
- argo-workflow.yaml
15 changes: 15 additions & 0 deletions components/11-argo-workflow/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

helmGlobals:
chartHome: ../../charts/

helmCharts:
- name: argo-workflows
includeCRDs: true
namespace: argo
valuesFile: values.yaml
releaseName: argo-workflow
version: 0.40.10
repo: https://argoproj.github.io/argo-helm
4 changes: 4 additions & 0 deletions components/11-argo-workflow/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
controller.workflowNamespaces: argo
workflow.serviceAccount.create: True

Check warning on line 2 in components/11-argo-workflow/values.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

2:33 [truthy] truthy value should be one of [false, true]
workflow.serviceAccount.name: wf-tester
server.enabled: True

Check warning on line 4 in components/11-argo-workflow/values.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

4:17 [truthy] truthy value should be one of [false, true]

Check failure on line 4 in components/11-argo-workflow/values.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

4:21 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 2282aa1

Please sign in to comment.