Open chengjoey opened 1 week ago
Fixes #13871
podSpecPatch seems not to be set when referencing wf template and in Secure mode
podSpecPatch
wf template
Secure
wf:
apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: name: workflow-template-hello-world spec: workflowTemplateRef: name: workflow-template-print-message podSpecPatch: | containers: - name: main image: alpine command: [echo] args: ["hello world"]
kubectl get wf
NAME STATUS AGE MESSAGE workflow-template-hello-world Error 6s PodSpecPatch may not be setted during execution when the controller is set `templateReferencing: Secure`
Fixes #13871
Motivation
podSpecPatch
seems not to be set when referencingwf template
and inSecure
modeModifications
Verification
wf:
kubectl get wf