home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d7ba801163a150cbfefa6310184233226f0b1493
parent f2745742ac30be58bfdbbbf193bbb32b9bf285e0
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 11 Dec 2019 09:47:52 +0100

chos4: update base url and …

… copy it to sync (to share with other computers)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mpkgs/scripts/bin/chos4 | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pkgs/scripts/bin/chos4 b/pkgs/scripts/bin/chos4 @@ -3,11 +3,15 @@ set -e -BASE_URL="https://openshift-pipelines-install.s3.eu-west-3.amazonaws.com" +BASE_URL="http://osinstall.chmouel.com" curl -s "${BASE_URL}/vincent/kubeadmin.password.gpg"|gpg --decrypt > ~/.kube/kubeadmin.password.os4 curl -s "${BASE_URL}/vincent/webaccess.gpg"|gpg --decrypt > ~/.kube/webaccess.os4 curl -s "${BASE_URL}/vincent/kubeconfig.gpg"|gpg --decrypt > ~/.kube/config.os4 && export KUBECONFIG=~/.kube/config.os4 +if test -d $HOME/sync/work/chos4/; then + cp ~/.kube/*.os4 $HOME/sync/work/chos4/ +fi + export KUBECONFIG=~/.kube/config.os4 oc login -u kubeadmin -p $(cat ~/.kube/kubeadmin.password.os4)