Secrets
You can store key value pairs in Pipekit and have them passed to your running workflow as environment variables.
Environments
Adding Secrets to a Run Condition
Using Secrets in your Workflow
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: test-secret
spec:
entrypoint: test-secret
templates:
- name: test-secret
container:
image: ubuntu
command:
- /bin/bash
- -c
- |
if [ "${MY_SECRET}" == "my-secret-value" ]
then
echo "Secrets are working!"
echo ${MY_SECRET}
else
echo "Secrets are not working!"
echo ${MY_SECRET}
exit 1
fiLast updated