Skip to content

Conversation

@ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Mar 27, 2018

This PR adds a struct to the deployment status storing a sha256 hashes of all secrets used in the deployment.
It listens for changes in secrets and compare the hash of the current secret with the stored ones.
If a change is detect, the deployment is mark with a SecretsChanged condition.
If such a condition is set, the operator will not do anything except looking at the secrets waiting for them to be reverted.

Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

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

LGTM

@ewoutp ewoutp merged commit 562c83d into master Mar 27, 2018
@ewoutp ewoutp deleted the secret-hashes branch March 27, 2018 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants