Closed ChunyiLyu closed 2 months ago
Promise initialized with kratix init helm-promise and kratix init operator-promise defines a resource configure pipeline that's written to workflows/resource/configure/workflow.yaml
kratix init helm-promise
kratix init operator-promise
workflows/resource/configure/workflow.yaml
and looks like
- apiVersion: platform.kratix.io/v1alpha1 kind: Pipeline metadata: name: instance-configure spec: containers: - env: ... image: ghcr.io/syntasso/kratix-cli/from-api-to-operator:v0.1.0 name: from-api-to-operator
or
- apiVersion: platform.kratix.io/v1alpha1 kind: Pipeline metadata: name: instance-configure spec: ... image: ghcr.io/syntasso/kratix-cli/helm-resource-configure:v0.1.0 name: instance-configure
When building promise with kratix build promise this generated workflow is not included in the final promise.
kratix build promise
kratix build promise is expecting the workflow.yaml file in a specific structure. kratix add container generated workflow file looks like
kratix add container
promise: {} resource: configure: - apiVersion: platform.kratix.io/v1alpha1 kind: Pipeline metadata: name: instance-configure spec: containers: - image: test:latest name: test
Description
Promise initialized with
kratix init helm-promise
andkratix init operator-promise
defines a resource configure pipeline that's written toworkflows/resource/configure/workflow.yaml
and looks like
or
When building promise with
kratix build promise
this generated workflow is not included in the final promise.Issue
kratix build promise
is expecting the workflow.yaml file in a specific structure.kratix add container
generated workflow file looks like