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 a type for requiring/awaiting state in the cluster #45

Open
ananace opened this issue Apr 18, 2023 · 0 comments
Open

Add a type for requiring/awaiting state in the cluster #45

ananace opened this issue Apr 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ananace
Copy link
Member

ananace commented Apr 18, 2023

After discussion in #34, adding a type that will check for requested state could be useful in ensuring that resource application only happens where/when reasonable. For example; kubectl_apply-ing an operator, and then waiting for it to create its managed CRDs before attempting to use them.

The MVP for this would involve a type that checks the content of a JSON-path of an object, comparing it against a given value - perhaps with a user-provided operator. The Kubernetes match expressions (key, operator, values - with its operators of In/NotIn/Exists/DoesNotExist/Gt/Lt) might be a good design to copy, since it will be familiar to how things are done inside the cluster.

@ananace ananace added the enhancement New feature or request label Apr 18, 2023
@ananace ananace changed the title Add a type for requiring/awaiting state in the clustere Add a type for requiring/awaiting state in the cluster Apr 19, 2023
ananace added a commit to ananace/puppet-k8s that referenced this issue Nov 25, 2024
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

No branches or pull requests

1 participant