UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 81f94996 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'k3d-dev-sh-update' into 'master'

Add /etc/hosts file entries for other apps and keycloak's NodeHosts entry in coredns (technically this is a doc update)

Closes #1315

See merge request platform-one/big-bang/bigbang!2124
parents 7685ec8b 9e9ab30e
No related branches found
No related tags found
1 merge request!2124Add /etc/hosts file entries for other apps and keycloak's NodeHosts entry in coredns (technically this is a doc update)
......@@ -469,9 +469,12 @@ if [[ "$METAL_LB" == true ]]; then
# fix /etc/hosts for new cluster
sudo sed -i '/bigbang.dev/d' /etc/hosts
sudo bash -c "echo '## begin bigbang.dev section' >> /etc/hosts"
sudo bash -c "echo 172.20.1.240 keycloak.bigbang.dev >> /etc/hosts"
sudo bash -c "echo 172.20.1.241 gitlab.bigbang.dev >> /etc/hosts"
sudo bash -c "echo 172.20.1.240 keycloak.bigbang.dev vault.bigbang.dev >> /etc/hosts"
sudo bash -c "echo 172.20.1.241 anchore-api.bigbang.dev anchore.bigbang.dev argocd.bigbang.dev gitlab.bigbang.dev registry.bigbang.dev tracing.bigbang.dev kiali.bigbang.dev kibana.bigbang.dev chat.bigbang.dev minio.bigbang.dev minio-api.bigbang.dev alertmanager.bigbang.dev grafana.bigbang.dev prometheus.bigbang.dev nexus.bigbang.dev sonarqube.bigbang.dev tempo.bigbang.dev twistlock.bigbang.dev >> /etc/hosts"
sudo bash -c "echo '## end bigbang.dev section' >> /etc/hosts"
# run kubectl to add keycloak and vault's hostname/IP to the configmap for coredns, restart coredns
kubectl get configmap -n kube-system coredns -o yaml | sed '/^ 172.20.0.1 host.k3d.internal$/a\ \ \ \ 172.20.1.240 keycloak.bigbang.dev vault.bigbang.dev' | kubectl apply -f -
kubectl delete pod -n kube-system -l k8s-app=kube-dns
ENDSSH
fi
......
......@@ -2,7 +2,7 @@
> NOTE: This script does not does not install Flux or deploy Big Bang. You must handle those deployments after your k3d dev cluster is ready.
The instance will automatically terminate in the middle of the night at 08:00 UTC.
The instance will automatically terminate 8 hours after creation.
## Install and Configure Dependencies
......
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