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 build
make run
make docker-build
make docker-push
make deploy
(Make sure the kubeconfig file is existed in ~/.kube/config
)make undeploy
(Make sure the kubeconfig file is existed in ~/.kube/config
)make all
https://kubernetes.jerxie.com/demo/okta-oauth/authentication/login
invalid.account@gmail.com
Pa$$w0rd