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

Add support for one-off resources #161

Merged
merged 3 commits into from
Aug 12, 2023
Merged

Add support for one-off resources #161

merged 3 commits into from
Aug 12, 2023

Conversation

stefanprodan
Copy link
Owner

This PR introduces the action.timoni.sh/one-off: "enabled" annotation for allowing module authors to configure resources that are only applied if they don't exist on the cluster.

This can be used for creating Kubernetes Secrets, MutatingWebhookConfiguration and ValidatingWebhookConfigurations which are managed by cert-manager, or any other resource that should be deployed only once in the app lifecycle.

Signed-off-by: Stefan Prodan <[email protected]>
To apply resources only if they don't exist on the cluster,
module authors can annotate them with `action.timoni.sh/one-off: "enabled"`.

Signed-off-by: Stefan Prodan <[email protected]>
@stefanprodan stefanprodan added enhancement New feature or request area/api API related issues and pull requests area/runtime Kubernetes operations related issues and pull requests labels Aug 11, 2023
@stefanprodan stefanprodan merged commit 63e24ed into main Aug 12, 2023
@stefanprodan stefanprodan deleted the one-off-action branch August 12, 2023 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API related issues and pull requests area/runtime Kubernetes operations related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant