How to use shared yaml secret in pipelines

Hello,

How can we use shared yaml secrets in helm pipeline

It’s not working with:

deploy-to-k8s:
     title: Deploying api to Staging
     stage: "deploy-to-k8s"
     type: helm
     arguments:
       action: install
       chart_name: api
       release_name: api
       helm_version: 3.0.3
       kube_context: my-test-cluster
       custom_value_files:
       - ./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.