-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
Labels
No labels