-
Notifications
You must be signed in to change notification settings - Fork 0
How to test IdP on k8s for code change
Cesar Celis Hernandez edited this page Jun 17, 2024
·
10 revisions
As stablished in the title, steps for code and testing on IdP and k8s
- Environment Variables:
CGO_ENABLED=0;GOOS=darwin;GOARCH=arm64;CONSOLE_IDP_URL=https://dev-xqm5ioqlmy7qyjvl.us.auth0.com/.well-known/openid-configuration;CONSOLE_IDP_CLIENT_ID=rMVc40T7fwgbEez1svp8wmjBtSaoKIOJ;CONSOLE_IDP_SECRET=SlQcQAUdUjW8ZPbp5qdbQYM5P7Pkp4GtGeXKky_dThl8Uk2NWdGu13dO9ftN0umH;CONSOLE_IDP_CALLBACK=https://localhost:9443/oauth_callback
- Program Arguments:
ui
-
Open Docker
-
Create cluster:
createcluster
-
Install Operator:
installoperator
-
Start k8s API Server locally in Window 1:
$ k proxy
Starting to serve on 127.0.0.1:8001
- Then on terminal directly on Window 2:
cd
cd operator
export CONSOLE_IDP_URL=https://dev-xqm5ioqlmy7qyjvl.us.auth0.com/.well-known/openid-configuration
export CONSOLE_IDP_CLIENT_ID=rMVc40T7fwgbEez1svp8wmjBtSaoKIOJ
export CONSOLE_IDP_SECRET=SlQcQAUdUjW8ZPbp5qdbQYM5P7Pkp4GtGeXKky_dThl8Uk2NWdGu13dO9ftN0umH
export CONSOLE_IDP_CALLBACK=https://localhost:9443/oauth_callback
./minio-operator ui
- Log in via Incognito to: