Skip to content

Instantly share code, notes, and snippets.

@wstrange
Last active April 20, 2018 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wstrange/3b460b0dcac967568f9f227aba854956 to your computer and use it in GitHub Desktop.
Save wstrange/3b460b0dcac967568f9f227aba854956 to your computer and use it in GitHub Desktop.
Quick start for forgeops 6.0
#!/bin/bash
# delete existing git secret from older install
kubectl delete secret git-ssh-key
helm repo add forgerock https://storage.googleapis.com/forgerock-charts
helm repo update
# make sure you are in your namespace here. Try the kubens command!
helm install forgerock/cmp-platform
# this will take approx. 3-5 min to provision everything. Create /etc/host entries for all the ingresses
sleep 30
kubectl get ing
# Watch events using something like this:
kubectl get pod -w
# Or tail some logs..
kubectl logs amsterxxxx -c amster -f
# When you are done you can delete the release
# helm delete --purge release-xxxx
# Dont forget to delete any pvcs that may have been allocated:
# kubectl get pvc
# kubectl delete pvc xxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment