Skip to content

Automate secrets creation and share secrets.yml between rails containers

Ahmad Hassan requested to merge automate-secrets into master

Closes #260 (closed) Relates to gitlab-org/build/CNG!55 (merged)

Uses kubectl container to populate all needed secrets using a helm pre-install hook Creates clusterRoleBinding and serviceAccount also using helm Uses helm hook weights to synchronize creation of needed resources Scripts needed for the creation of secrets are placed in a configmap of shared-secrets chart Uses kubernetes mount subpath to mount secrets.yml only in all rails containers without overriding the contents of the directory itself.

After @joshlambert comment I included generating registry certificate too.

Remaining issues: Update the docs with the new changes

@twk3 @WarheadsSE

Edited by Ahmad Hassan

Merge request reports