diff --git a/generate-secrets.sh b/generate-secrets.sh deleted file mode 100755 index a49ede2..0000000 --- a/generate-secrets.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -NAMESPACE="$1" -if [[ -z $1 ]]; then - NAMESPACE=default -fi - -kubectl -n $NAMESPACE create secret generic database-auth-secret \ ---dry-run=client \ ---from-literal=password=$(tr -dc 'A-Za-z0-9' /dev/null | base64 -w 0) \ --o yaml | \ -kubectl -n $NAMESPACE apply -f - - -mkdir -p ./temphostkeys/etc/ssh -ssh-keygen -A -f ./temphostkeys -kubectl -n $NAMESPACE create secret generic host-keys-secret \ ---dry-run=client \ ---from-file=./temphostkeys/etc/ssh \ --o yaml | \ -kubectl -n $NAMESPACE apply -f - -rm -rf ./temphostkeys - -OOD_PASS=$(tr -dc 'A-Za-z0-9' >>>>>> main