From b427ae29bd6d0abc447d70fe082ceddfcc42a10e Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 18:54:07 +0300 Subject: it works!!!!!1111 --- scripts/create-secret | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 scripts/create-secret (limited to 'scripts/create-secret') 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 " -} - -case "$#" in - 3) - createSecret $1 $2 $3 - ;; - *) - help - ;; -esac -- cgit 1.4.1-2-gfad0