Skip to content

fix: resolve race conditions with cloned secrets#34

Merged
thesuperzapper merged 1 commit into
deployKF:mainfrom
thesuperzapper:cloned-secrets-race-conditions
Sep 21, 2023
Merged

fix: resolve race conditions with cloned secrets#34
thesuperzapper merged 1 commit into
deployKF:mainfrom
thesuperzapper:cloned-secrets-race-conditions

Conversation

@thesuperzapper

Copy link
Copy Markdown
Member

This PR addresses race conditions between cloned Secrets and the Pods which mount them.

This is achieved by setting the argocd.argoproj.io/sync-wave to -1 on the Kyverno ClusterPolicies responsible for cloning these secrets, ensuring they are always synced before the rest of their apps.

@thesuperzapper thesuperzapper added this to the v0.1.2 milestone Sep 21, 2023
@thesuperzapper
thesuperzapper force-pushed the cloned-secrets-race-conditions branch from 0f86155 to e73ede9 Compare September 21, 2023 20:40
@thesuperzapper
thesuperzapper merged commit b7a5d54 into deployKF:main Sep 21, 2023
@thesuperzapper
thesuperzapper deleted the cloned-secrets-race-conditions branch September 21, 2023 20:42
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.

1 participant