Projects STRLCPY wrongsecrets Commits 30548a38
🤬
  • ■ ■ ■ ■ ■
    k8s/helm-vault-values.yml
    skipped 1 lines
    2 2   affinity:
    3 3   ha:
    4 4   enabled: true
     5 + storage: raft
    5 6   
  • ■ ■ ■ ■ ■ ■
    k8s-vault-minkube-start.sh
    skipped 27 lines
    28 28   kubectl apply -f k8s/secrets-secret.yml
    29 29   kubectl apply -f k8s/challenge33.yml
    30 30  fi
    31  -helm list | grep 'consul' &> /dev/null
    32  -if [ $? == 0 ]; then
    33  - echo "Consul is already installed"
    34  -else
    35  - helm repo add hashicorp https://helm.releases.hashicorp.com
    36  -fi
    37  -helm upgrade --install consul hashicorp/consul --set global.name=consul --create-namespace -n consul --values k8s/helm-consul-values.yml
    38  - 
    39  -while [[ $(kubectl get pods -n consul -l app=consul -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True True True True" ]]; do echo "waiting for Consul" && sleep 2; done
    40 31   
    41 32  helm list | grep 'vault' &> /dev/null
    42 33  if [ $? == 0 ]; then
    skipped 87 lines
Please wait...
Page is in error, reload to recover