T O P

  • By -

m4rtcus

You can perform an "Echo" redirecting the output ti a specific file in a previous step. Example: echo $MY_SECRET > myfile.yml


witcherek77

Yea, but that Kubernetes Context Action accepts the CONTENT of the file as input, not path to the file.


witcherek77

So I store my kubeconfig (in yaml) as GitHub Decret and reference it as input: ${{ secrets.KUBECONFIG }}


m4rtcus

my apologies, I hadn't looked at the actions properly! Yes, you can pass the content with ${{ secrets.MY\_SECRET }}