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

Is there autoupdate procedure? #129

Open
den-vasyliev opened this issue Mar 14, 2023 · 10 comments
Open

Is there autoupdate procedure? #129

den-vasyliev opened this issue Mar 14, 2023 · 10 comments

Comments

@den-vasyliev
Copy link

Hello!

Flux source refreshing so frequently - is there a chance to get fresh updates here?

Thanks for the catalogue!

@eyarz
Copy link
Member

eyarz commented Mar 14, 2023

Unfortunately, there is no auto-update, so any required update is done manually (by submitting a PR).
We'll need the help of the community to design and coding capability.

@den-vasyliev
Copy link
Author

So, to update flux crd's it's needs to open PR for the exact release - am I right?
Beleive we can create such step in GitHubflow to get refresh periodically

@eyarz
Copy link
Member

eyarz commented Mar 14, 2023

it depends.

  • auto-update the catalog - maybe add a github workflow (cron?) that will check if the origin repo (e.g. source-controller) was updated and will update the schemas in the catalog
  • auto-update your schemas - this is easier. you can use the CRD Extractor script to pull the schemas from your cluster and pass them locally (instead of pulling them from the catalog)

@den-vasyliev
Copy link
Author

thanks!

@xNok
Copy link

xNok commented Sep 26, 2023

I was curious about what the index.yaml actually does. This seems like a good place to build a script that checks for updates.

@seanpoulter-foci
Copy link

Unfortunately, there is no auto-update, so any required update is done manually (by submitting a PR). We'll need the help of the community to design and coding capability.

Would you want to focus on automating the process? It seems like we're building up a queue of PRs. I'd be happy to facilitate an ensemble (mob) for everyone interested to get'r done.

@apresti12
Copy link

Has there been any progress on this? I think you could just have a map of crds to urls

external-secrets.io: 
  - https://raw.githubusercontent.com/external-secrets/external-secrets/main/config/crds/bases/external-secrets.io_clusterexternalsecrets.yaml

Then just run a github action on a schedule to pull the latest CRDs and use a conversion script like this from the kubeconform repo

@eyarz
Copy link
Member

eyarz commented Jul 6, 2024

@apresti12 totally open to get any help on this :)

@seanpoulter
Copy link

seanpoulter commented Jul 22, 2024

@apresti12 totally open to get any help on this :)

You want a PR to auto-update the catalog?

@eyarz
Copy link
Member

eyarz commented Aug 2, 2024

You want a PR to auto-update the catalog?

yes, the idea is that if the CRD schema was updated on the source it should somehow update the schema in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants