Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 767 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 767 Bytes

infrastructure

Setup k8s Cluster

Ensure the contents of 1password-credentials.json are Base64-encoded before applying the manifest.

$ kubectl kustomize --enable-helm k8s/init/${ENV_NAME} | kubectl apply -f -

Useful Commands

  • Generate long-lived bearer token for kubernetes-dashboard
$ kubectl create token admin-user -n kubernetes-dashboard --duration=4294967296s
  • Obtain Argo CD initial password
$ kubectl get secret argocd-initial-admin-secret \
    -n argo-cd \
    -o jsonpath="{.data.password}" | base64 -d; echo
  • Format / Lint manifest files
$ yarn format
$ yarn lint