To update the Dex package, follow the next steps.
Run the following commands:
helm repo add dex https://charts.dexidp.io
helm repo update
helm template dex dex/dex -n kube-system --values MAINTENANCE.values.yaml > dex-built.yml
With the dex-built.yml
file, check differences with the current deploy.yml
file and change accordingly.
What was customized (what differs from the helm template command):
- Simplified the labels
- Changed metrics port name from
telemetry
tometrics
- Simplified container command
- Changed configuration path
- Added resources and limits
- Added interval
30s
to ServiceMonitor - Removed secret, since it's custom for each dex deploy
- Changed the themes and templates with custom branding
- Added securityContext configuration to be compliant with the
restricted
PSS. You should not see differences in the diff.
To customize the frontend templates, find and edit the files under the folder web/templates
, if you need to just change the styles, edit the files under web/themes/{light, dark}/styles.css
.
Then, to apply the changes, run the following command:
tar -czf web.tar.gz -C web .