Skip to content

abarrak/dex-helmfile-offline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dex Helmfile - Offline Example

A helm release repo for deploying dex server in offline environment (no internet).

Read the article about the example here.

Deployment

$ ./offline.sh
$ export $(cat .env | xargs)
$ helmfile fetch
$ helmfile build > ./output/final-$(date +%Y-%d-%m-at-%H-%M).yml

In case helmfile binary is not available in the target environment, just template plain manifests.

$ helmfile template > ./output/plain-final-$(date +%Y-%d-%m-at-%H-%M).yml

Finally, on the production node load the offline ./output directory and sync or apply the change.

Usage

Pass the API server aguments as follows:

--oidc-issuer-url=https://internal.cluster.lan/auth
--oidc-client-id=kubernetes
--oidc-username-claim=email
--oidc-groups-claim=groups
--oidc-groups-prefix='oidc:'

Use kubelogin script to issue credentials for end users.

Author

Abdullah Barrak (@abarrak).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages