Skip to content

Instantly share code, notes, and snippets.

@vreon
Last active February 1, 2018 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vreon/06c73e6f8e10e6e23819be25d011b281 to your computer and use it in GitHub Desktop.
Save vreon/06c73e6f8e10e6e23819be25d011b281 to your computer and use it in GitHub Desktop.
argoproj/argo-workflows#711 not-super-onerous workaround
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: test
spec:
entrypoint: main
templates:
- name: main
inputs:
artifacts:
- name: script
path: /bin/my-script
mode: 755
raw:
data: |
#!/bin/sh
printenv
container:
image: busybox
command: [my-script]
env:
- name: PASSWORD
valueFrom:
secretKeyRef:
name: my-secret
key: password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment