Pre-requisites
What happened? What did you expect to happen?
NewWorkflowServiceClient calls NewWorkflowServer with a nil value for the workflow defaults.
This means that the server spun up for cli connection differs in behaviour to an actual running server.
This results in workflows such as this:
data:
config: |
artifactRepository: { ... }
workflowDefaults:
spec:
arguments:
parameters:
- name: G-image-alpine
value: someregistry.azurecr.io/alpine:3.21
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: pstemmet-test-workflow-
namespace: argo
spec:
entrypoint: main
templates:
- name: main
container:
image: '{{workflow.parameters.G-image-alpine}}'
command: ["/bin/sh", "-c"]
args:
- "echo 'Hello, world!'"
Working on one submission path but not the other.
Version(s)
:latest
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflow that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
Pre-requisites
:latestimage tag (i.e.quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on:latest. If not, I have explained why, in detail, in my description below.What happened? What did you expect to happen?
NewWorkflowServiceClientcallsNewWorkflowServerwith a nil value for the workflow defaults.This means that the server spun up for cli connection differs in behaviour to an actual running server.
This results in workflows such as this:
Working on one submission path but not the other.
Version(s)
:latest
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflow that uses private images.
N/ALogs from the workflow controller
Logs from in your workflow's wait container