Last active
February 1, 2018 21:23
-
-
Save vreon/3968a73d63f306fa80fd9f53dfa7020a to your computer and use it in GitHub Desktop.
argoproj/argo-workflows#711 super-brittle workaround
This file contains 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: kubectl | |
http: | |
url: https://storage.googleapis.com/kubernetes-release/release/v1.8.0/bin/linux/amd64/kubectl | |
path: /usr/local/bin/kubectl | |
mode: 755 | |
script: | |
image: busybox | |
command: [sh] | |
source: | | |
echo "PASSWORD=$(kubectl get secret my-secret -o jsonpath='{.data.password}' | base64 -d)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment