Skip to content

Commit

Permalink
add command to delete configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Jun 4, 2024
1 parent 1c7c876 commit fab62b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gen3/bin/kube-setup-spark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source "${GEN3_HOME}/gen3/lib/utils.sh"
gen3_load "gen3/lib/kube-setup-init"

[[ -z "$GEN3_ROLL_ALL" ]] && gen3 kube-setup-secrets
g3kubectl delete configmap hadoop-spark-config
g3kubectl create configmap hadoop-spark-config --from-file="${GEN3_HOME}/kube/services/spark/config-map.yaml"
gen3 roll spark $@
g3kubectl apply -f "${GEN3_HOME}/kube/services/spark/spark-service.yaml"
Expand Down

0 comments on commit fab62b9

Please sign in to comment.