Last active
February 1, 2018 21:21
-
-
Save vreon/06c73e6f8e10e6e23819be25d011b281 to your computer and use it in GitHub Desktop.
argoproj/argo-workflows#711 not-super-onerous workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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