about summary refs log tree commit diff
path: root/scripts/create-secret
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 17:54:07 +0200
committermakefunstuff <[email protected]>2024-06-28 17:54:07 +0200
commitb427ae29bd6d0abc447d70fe082ceddfcc42a10e (patch)
tree0971f5c20c64f9ba2fa81b753e200ffcf7db56c9 /scripts/create-secret
parent8c6eeb9045125aa3b0666deccc3815e78112ea16 (diff)
downloadk3s-lab-b427ae29bd6d0abc447d70fe082ceddfcc42a10e.tar.gz
it works!!!!!1111
Diffstat (limited to 'scripts/create-secret')
-rwxr-xr-xscripts/create-secret24
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/create-secret b/scripts/create-secret
deleted file mode 100755
index d9aa929..0000000
--- a/scripts/create-secret
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-set -e
-
-function createSecret() {
-  local secretName=$1
-  local secretKey=$2
-  local secretValue=$3
-
-  kubectl create secret generic $secretName --from-literal=$secretKey=$secretValue
-}
-
-function help() {
-  echo "Usage: create-secret <secret name> <secret key> <secret value>"
-}
-
-case "$#" in
-  3)
-    createSecret $1 $2 $3
-    ;;
-  *)
-    help
-    ;;
-esac