Skip to content

Commit

Permalink
Fix apply got secret already exists the 2nd time (GoogleCloudPlatform#21
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Bobgy authored May 20, 2020
1 parent 541432c commit 2e22661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubeflow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ check-iap:
# TODO(jlewi): How can we test to make sure CLIENT_ID is set so we don't create an empty secret.
.PHONY: iap-secret
iap-secret: check-iap
kubectl --context=$(KFCTXT) -n istio-system create secret generic kubeflow-oauth --from-literal=client_id=${CLIENT_ID} --from-literal=client_secret=${CLIENT_SECRET}
kubectl --context=$(KFCTXT) -n istio-system create secret generic kubeflow-oauth --from-literal=client_id=${CLIENT_ID} --from-literal=client_secret=${CLIENT_SECRET} --dry-run -o yaml | kubectl apply -f -

.PHONY: wait-gcp
wait-gcp:
Expand Down

0 comments on commit 2e22661

Please sign in to comment.