ROX-17260: Add annotation to trigger yearly certificate rotation #1188
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a trigger to roll out aggregator pods once a year in order to use a rotated certificate.
Checklist (Definition of Done)
[ ] Unit and integration tests addedTest manual
[ ] Documentation added if necessary (i.e. changes to dev setup, test execution, ...)ROX-12345: ...
[ ] Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.[ ] Add secret to app-interface Vault or Secrets Manager if necessary[ ] RDS changes were e2e tested manually[ ] Check AWS limits are reasonable for changes provisioning new resourcesTest manual
Manual testing is possible on a local cluster (i.e. colima), but it requires some modifications to go around OpenShift generated secrets.
Steps:
audit-logs
chart directory:06-statefulset.yaml
- to settls-secret
as optionaltest-values.yaml
file with the following content:We are disabling TLS, because it's not relevant to test if pods will be rolled out, and also access to AWS healthcheck is not relevant.
Pods should not be restarted.
06-statefulset.yaml
to simulate next year:This time pods should be restarted.