PoC to read config from a file

This commit is contained in:
Ovidio Mallo 2016-12-09 14:43:49 +01:00
parent 750cec38b5
commit 627e4c2880

View file

@ -1,3 +1,5 @@
import groovy.json.JsonSlurper
def getOcCmd() {
return "oc --token=`cat /var/run/secrets/kubernetes.io/serviceaccount/token` --server=https://openshift.default.svc.cluster.local --certificate-authority=/run/secrets/kubernetes.io/serviceaccount/ca.crt"
}