Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add component argo workflow #6

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

achatur
Copy link

@achatur achatur commented Feb 15, 2024

Adds argo-workflow as a component. This is not adding events or the workflows yet. It's just setting up the workflow namespace and environment to be used. New workflow namespace is configured as "argo".

@achatur achatur force-pushed the PUC-133-add-component-argo-workflow branch 2 times, most recently from 750fc09 to d520ad3 Compare February 15, 2024 15:38
README.md Outdated
### Setup Argo Workflow

```bash
kubectl kustomize --enable-helm components/11-argo-workflow/ | kubectl apply --server-side -f -
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So here you say it needs server side apply but then the ArgoCD config isn't using server side apply. Which is it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also shouldn't need to add this to the top level readme since Argo should deploy this automatically.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering that. OK I'll remove this

---

apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole config file assumes that you're running on kind and will fail in any other cluster.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. so I am thinking overlay w/ dev vs prod. Would that work? This can remain a template

helm.sh/chart: argo-workflows-0.40.10
app.kubernetes.io/instance: argo
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: "0.40.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hardcoded versions here will break in the future. But what's the point of the ConfigMap? it's empty?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no point.. it was a place holder but I can remove it

valuesFile: values.yaml
releaseName: argo-workflow
version: 0.40.10
repo: https://argoproj.github.io/argo-helm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given what the project says about the charts being community maintained and not officially maintained. The fact that the kustomize native config is the officially maintained config. We also want to install this in the namespaced form and not cluster wide which the charts don't support. I think we switch.

@achatur achatur force-pushed the PUC-133-add-component-argo-workflow branch 2 times, most recently from 74bc8c4 to 50ef5d7 Compare February 15, 2024 23:08
We need to add Argo Workflows as a component. This adds it via a
kustomize template.
@cardoe cardoe force-pushed the PUC-133-add-component-argo-workflow branch from 50ef5d7 to 9238f09 Compare February 16, 2024 17:02
@cardoe cardoe changed the title feat: Puc 133 add component argo workflow feat: add component argo workflow Feb 16, 2024
@cardoe cardoe merged commit 75432ce into main Feb 16, 2024
6 checks passed
@cardoe cardoe deleted the PUC-133-add-component-argo-workflow branch February 16, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants