Resolve "add `undeploy` command"
Files
14+ 46
− 49
@@ -3,7 +3,6 @@
@@ -3,7 +3,6 @@
@@ -29,7 +28,7 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then
@@ -29,7 +28,7 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then
LONGOPTS=docker-config:,tag:,build-arg:,set:,set-string:,charts:,name:,token:,certificate-authority:,namespace:,cluster-url:,service-account:,output:,input:
@@ -218,8 +217,8 @@ prepare_helm() {
@@ -218,8 +217,8 @@ prepare_helm() {
@@ -233,7 +232,19 @@ prepare_helm_command() {
@@ -233,7 +232,19 @@ prepare_helm_command() {
@@ -245,24 +256,6 @@ prepare_helm_command() {
@@ -245,24 +256,6 @@ prepare_helm_command() {
# if [ "$(helm ls --tiller-namespace=${namespace} --namespace=${namespace} --deleted --failed --short | grep ${name})" != "" ];then
@@ -273,23 +266,26 @@ helm_deploy() {
@@ -273,23 +266,26 @@ helm_deploy() {
while [ "$(helm ls --tiller-namespace=${namespace} --namespace=${namespace} | grep ${name} | awk -F"\t" '{ print $4; }')" != "DEPLOYED" ]; do
@@ -309,17 +305,6 @@ prepare_image_publisher() {
@@ -309,17 +305,6 @@ prepare_image_publisher() {
@@ -341,8 +326,17 @@ save_image() {
@@ -341,8 +326,17 @@ save_image() {
@@ -424,13 +418,16 @@ fi
@@ -424,13 +418,16 @@ fi