How to use shared yaml secret in pipelines


How can we use shared yaml secrets in helm pipeline

It’s not working with:

     title: Deploying api to Staging
     stage: "deploy-to-k8s"
     type: helm
       action: install
       chart_name: api
       release_name: api
       helm_version: 3.0.3
       kube_context: my-test-cluster
       - ./helm-charts/api/staging-values.yaml
       - my-secret-yaml

In this link it’s not quite clear how to use it in pipeline

Hello and welcome to the Codefresh community.

You need to import your shared configuration in your pipeline first. Have you done this?

Note that this is only for individual values. If you have a whole yaml there is another part in the docs that explains that.

Let me know if that helps.