PoC to read config from a file
This commit is contained in:
parent
750cec38b5
commit
627e4c2880
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
import groovy.json.JsonSlurper
|
||||||
|
|
||||||
def getOcCmd() {
|
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"
|
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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue