Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

standardize condition and remove phase #3

Merged
merged 1 commit into from Dec 28, 2020
Merged

standardize condition and remove phase #3

merged 1 commit into from Dec 28, 2020

Conversation

mcavoyk
Copy link
Contributor

@mcavoyk mcavoyk commented Dec 22, 2020

A few minor changes to the status of ExternalSecret and SecretStore.

  • Use standard condition schema based on kube api-machinery
  • Add status.refreshTime to track last time the secret was fetched (needed by controller to remain stateless and implement spec.refreshInterval)
  • Remove status.phase, high level summary fields like phase should be generally avoided. If these additional states need to be tracked then a separate condition should be added.
  • Clarify Ready condition's meaning for ExternalSecret and SecretStore

Copy link
Member

@moolen moolen left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@mcavoyk mcavoyk merged commit a67d45d into main Dec 28, 2020
moolen added a commit to external-secrets/external-secrets that referenced this pull request Feb 6, 2021
moolen added a commit to external-secrets/external-secrets that referenced this pull request Feb 6, 2021
see external-secrets/crd-spec#3

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
moolen added a commit to external-secrets/external-secrets that referenced this pull request Feb 6, 2021
see external-secrets/crd-spec#3

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants