Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable caching of Secrets and ConfigMaps #468

Merged
merged 1 commit into from
Jan 30, 2023
Merged

Disable caching of Secrets and ConfigMaps #468

merged 1 commit into from
Jan 30, 2023

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Jan 30, 2023

You can re-enable caching by starting the controller with the argument
--feature-gates=CacheSecretsAndConfigMaps=true.

xref: fluxcd/flux2#3426

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

The controller fails to start because the flag is not enabled, please add featureGates.BindFlags(flag.CommandLine)

main.go Outdated Show resolved Hide resolved
You can re-enable caching by starting the controller with the argument
`--feature-gates=CacheSecretsAndConfigMaps=true`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
@hiddeco hiddeco merged commit 2f6df31 into main Jan 30, 2023
@hiddeco hiddeco deleted the no-cache-secrets branch January 30, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants