| config/ default | 3 years ago | ||
| templates/ authentication | 3 years ago | ||
| .gitignore | 3 years ago | ||
| Dockerfile | 3 years ago | ||
| Makefile | 3 years ago | ||
| README.md | 3 years ago | ||
| go.mod | 3 years ago | ||
| go.sum | 3 years ago | ||
| main.go | 3 years ago | ||
Update the config/default/deployment.yaml to specify the following environment variables
CLIENT_ID : OKTA Oauth client IDCLIENT_SECRET: OKTA Oauth client secertORG_URL: OKTA Developer orginazation URL (e.g. dev-xxxxxxxx.okta.com)KUBE_CA : Kubernetes CA certificate.KUBE_APISERVER: Kubernetes API server endpoint.Update the IMG argument value in Makefile to specify the docker image URL (e.g. "/okta-oauth:latest")
Update the newName and newTag in config/default/kustomization.yaml to match the image URL specified in step 2.
make buildmake runmake docker-buildmake docker-pushmake deploy (Make sure the kubeconfig file is existed in ~/.kube/config)make undeploy (Make sure the kubeconfig file is existed in ~/.kube/config)make allhttps://kubernetes.jerxie.com/demo/okta-oauth/authentication/login
Username: invalid.account@gmail.com Password: Pa$$w0rd