chore: testing build
Some checks failed
Build, test, publish, deploy / build-test (push) Has been cancelled
Build, test, publish, deploy / integration-test (push) Has been cancelled
Build, test, publish, deploy / publish (push) Has been cancelled
Build, test, publish, deploy / deploy-prd (push) Has been cancelled
Some checks failed
Build, test, publish, deploy / build-test (push) Has been cancelled
Build, test, publish, deploy / integration-test (push) Has been cancelled
Build, test, publish, deploy / publish (push) Has been cancelled
Build, test, publish, deploy / deploy-prd (push) Has been cancelled
This commit is contained in:
parent
d3ee64282d
commit
8942383ff9
13 changed files with 353 additions and 44 deletions
18
docs/commands
Normal file
18
docs/commands
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Delete the incomplete secret
|
||||
kubectl delete secret go-loose-runtime --kubeconfig=/home/dnoulet/.kube/config_lcl --insecure-skip-tls-verify -n go-insane-lcl --ignore-not-found
|
||||
|
||||
# Recreate it with all required properties mapped correctly
|
||||
kubectl create secret generic go-loose-runtime \
|
||||
--from-literal=postgres-password="goloose" \
|
||||
--from-literal=postgresql-password="goloose" \
|
||||
--from-literal=session-secret="localdevsecret123" \
|
||||
--from-literal=database-url="postgres://goloose:goloose@go-loose-postgresql:5432/goloose?sslmode=disable" \
|
||||
--kubeconfig=/home/dnoulet/.kube/config_lcl \
|
||||
--insecure-skip-tls-verify \
|
||||
-n go-insane-lcl
|
||||
|
||||
KUBECONFIG=~/.kube/config_lcl kubectl config set-cluster local --insecure-skip-tls-verify=true
|
||||
|
||||
openssl s_client -showcerts -connect rancher.intern-urpi.be:443 </dev/null 2>/dev/null | sed -n '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ~/.kube/rancher-ca.crt
|
||||
KUBECONFIG=~/.kube/config_lcl kubectl config set-cluster local --certificate-authority=/home/dnoulet/.kube/rancher-ca.crt
|
||||
KUBECONFIG=~/.kube/config_lcl kubectl config set-cluster local --insecure-skip-tls-verify=false
|
||||
Loading…
Add table
Add a link
Reference in a new issue