Replies: 1 comment
-
Do you have a Otherwise you could try to include them directly in apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../resources/argo-workflows/workflow-template-1.yaml
- ../../resources/argo-workflows/workflow-template-2.yaml
- ../../resources/argo-workflows/workflow-template-3.yaml
...
patches:
- path: argo-workflows-patch.yaml
target:
kind: WorkflowTemplate
name: workflow-1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the use-case where I want to add some tasks to test and run them a little while before I update prod with the same task.

In my kustomization.yaml I have:
workflow-template-1.yaml:
argo-workflows-patch.yaml:
When I run
kubectl kustomize manifests/overlay/dev/
it is only the content from argo-workflows-patch.yaml that shows up and not task A and B.From https://github.com/argoproj/argo-workflows/blob/main/api/openapi-spec/swagger.json#L11981 and other definitions in the same file, it looks like it should be able to merge, so that task A, B, C and D shows up in run-workflow-1.
Do anyone see what I'm doing wrong?
I have tried many different approaches to patching with Kustomize, but the only one I have been able to successfully implement is this:
which is ok, but I also ned to change dependencies for some task,
which can become quite confusing quickly...
Beta Was this translation helpful? Give feedback.
All reactions