Skip to content
Snippets Groups Projects
Unverified Commit aca9875f authored by Varac's avatar Varac
Browse files

Ignore error msg if namespace exists

parent 9c0bf718
No related branches found
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ directory **on your provisioning machine**. Don't forget to replace ...@@ -150,7 +150,7 @@ directory **on your provisioning machine**. Don't forget to replace
export KUBECONFIG=$CLUSTER_DIR/kube_config_cluster.yml export KUBECONFIG=$CLUSTER_DIR/kube_config_cluster.yml
# Ensure flux-system namespace is created # Ensure flux-system namespace is created
kubectl get namespace flux-system || kubectl create namespace flux-system kubectl get namespace flux-system 2>/dev/null || kubectl create namespace flux-system
# This inserts the configuration from .flux.env into your cluster as a "secret" # This inserts the configuration from .flux.env into your cluster as a "secret"
kubectl apply -k $CLUSTER_DIR kubectl apply -k $CLUSTER_DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment