Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve secret management #46

Merged
merged 30 commits into from
Dec 13, 2023
Merged

Improve secret management #46

merged 30 commits into from
Dec 13, 2023

Conversation

machisuji
Copy link
Member

@machisuji machisuji commented Dec 12, 2023

Takes the changes from #8 and #20, adapts them and unifies them.
Thanks to @johanneskastl and @pitwegner for the PRs!

In the course of this process the following changes were made as well.

  • introduce an existingSecret option for S3 credentials (secret access key and access key id)
  • change s3.accessKeyId and s3.secretAccessKeyId to s3.auth.accessKeyId and s3.auth.secretAccessKey

Moreover, installations or upgrades will fail if no postgres password is provided.

Error: INSTALLATION FAILED: execution error at (openproject/templates/worker-deployment.yaml:80:14): Database password is required. Please set postgresql.auth.existingSecret (recommended) or postgresql.auth.password

Important

For this to work it needs the latest OpenProject 13.1 images (to be released tomorrow, 13th Dec 2023).
For the released images to work correctly, the database.yml bug has to be fixed as well. Working on that. Until this is released the test will fail with the following.

connection to server at "10.96.170.25", port 5432 failed: fe_sendauth: no password supplied (ActiveRecord::ConnectionNotEstablished)

So this PR will only go green once 13.1 is released including that bug fix which is when this will be merged.

pitwegner and others added 27 commits February 24, 2023 14:55
exclude memcache and Postgres secret var
…m .Values.environment to a separate secret
…ironment, as those now live in a separate secret
… used (.Values.openproject.cache.store equals memcache)
…TABASE_URL, needs to be set in another environment variable from e.g. the existing secret
Copy link

changeset-bot bot commented Dec 12, 2023

🦋 Changeset detected

Latest commit: 33c7ab0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@openproject/helm-charts Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@oliverguenther oliverguenther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you for consolidating the two issues 💙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants