PoC to read the config from a file
This commit is contained in:
parent
e2a1062431
commit
5572d4751e
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import org.yaml.snakeyaml.Yaml
|
||||
|
||||
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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue