home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit deecc4dfa3446892b1e36cde5dcd6b9f52072275
parent b13f7b18eb8ffe6006b5bc4ba035f757806a4077
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri,  6 May 2022 14:15:18 +0200

chos4: remove extra setup

It is done server-side now.

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

Diffstat:
Mnix/packages/my/scripts/bin/chos4 | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/nix/packages/my/scripts/bin/chos4 b/nix/packages/my/scripts/bin/chos4 @@ -28,21 +28,6 @@ for machineset in $(oc get machineset -n openshift-machine-api -o name); do oc scale --replicas=2 ${machineset} -n openshift-machine-api done -echo ">>> setup identity providers" -if test -f $HOME/sync/work/chos4/users.htpasswd; then - oc get -n openshift-config secret htpass-secret && \ - oc delete -n openshift-config secret htpass-secret - oc create secret generic htpass-secret --from-file=htpasswd=$HOME/sync/work/chos4/users.htpasswd -n openshift-config -fi -if test -f $HOME/sync/work/chos4/github.clientsecret; then - oc get -n openshift-config secret github-secret && \ - oc delete -n openshift-config secret github-secret - oc create secret generic github-secret --from-file=$HOME/sync/work/chos4/github.clientsecret -n openshift-config -fi -if test -f $HOME/sync/work/chos4/oauth.yaml; then - oc apply -f $HOME/sync/work/chos4/oauth.yaml -fi - if [[ "$1" == "install" ]]; then op-inst fi