Skip to content

Commit

Permalink
fix sh script now
Browse files Browse the repository at this point in the history
  • Loading branch information
viktoriaas committed Dec 19, 2024
1 parent b887bd4 commit eeb2764
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions create_config_maps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ create_configmap() {
local name=$1
local path=$2

# applying the ConfigMaps directly to cluster

# don't delete configmaps from cluster automatically! if ns changes, it could lead to catastrophe
# don't delete configmaps from cluster automatically! if ns changes, it could lead to catastrophe
# kubectl delete configmap $name --namespace $NAMESPACE --ignore-not-found
# kubectl create configmap $name --from-file=$path --namespace $NAMESPACE
# creating the ConfigMaps locally
Expand All @@ -27,4 +25,6 @@ create_configmap "static-files-js" "$BASE_DIR/static/custom-js"
create_configmap "static-files-css" "$BASE_DIR/static/custom-css"
create_configmap "static-files-woff" "$BASE_DIR/static/woff"
create_configmap "static-files-woff2" "$BASE_DIR/static/woff2"
create_configmap "static-files-images" "$BASE_DIR/static/custom-images"

echo "All ConfigMaps processed successfully."

0 comments on commit eeb2764

Please sign in to comment.