Page MenuHomePhabricator

Read api app key and jwtSecret from a k8s secret created from terraform
Closed, ResolvedPublic1 Estimated Story Points

Description

Currently the app key and jwtSecret are hardcoded in a values file.
This was identified while looking an initiative 4
https://github.com/wmde/wbaas-deploy/pull/96#discussion_r746051176

Acceptance Criteria

  • These values come from a secret
  • The secret is created using terraform
  • The values used on wikibase.dev are rotated

Event Timeline

Addshore added a project: Technical-Debt.
Addshore set the point value for this task to 1.Nov 11 2021, 12:48 PM

This PR should solve AC The secret is created using terraform https://github.com/wmde/wbaas-deploy/pull/99

And this PR should solve AC These values come from a secret https://github.com/wbstack/charts/pull/34

Deniz_WMDE updated the task description. (Show Details)

And both together will effectively solve the third one as soon as the changes are applied to staging, which creates the secrets and uses them.