Skip to content

Name space field getting ignored #1

@roy-urbint

Description

@roy-urbint

I'm trying to use this argo-workflow-runner step in the codefresh pipeline. My workflow server is running on kubernetes cluster in workflows namespace. In the argument section if i specify namespace: workflows , its still going to default argo namespace.
Here is the snippet of code.

version: '1.0'
steps:
  run:
    stage: run
    title: Run argo workflow
    type: argo-workflow-runner
    arguments:
      namespace: workflows
      argo_host: '<argo_workflow_host>'
      workflow: |
        workflow:
          metadata:
            generateName: step-
          spec:
            entrypoint: argosay
            arguments:
              parameters:
                - name: message
                  value: hello argo
            templates:
              - name: argosay
                inputs:
                  parameters:
                    - name: message
                      value: '{{workflow.parameters.message}}'
                container:
                  name: main
                  image: 'argoproj/argosay:v2'
                  command:
                    - /argosay
                  args:
                    - echo
                    - '{{inputs.parameters.message}}'
stages:
  - run

Payload:
Export "CF_OUTPUT_URL=https://<argo-workflow-url>/workflows/argo/cf-exp-step-vqbnp"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions