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

Name space field getting ignored #1

Open
roy-urbint opened this issue Nov 3, 2022 · 0 comments
Open

Name space field getting ignored #1

roy-urbint opened this issue Nov 3, 2022 · 0 comments

Comments

@roy-urbint
Copy link

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"

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

No branches or pull requests

1 participant