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

Clear lookup function cache between chart installs #185

Open
mattfarina opened this issue Aug 2, 2021 · 0 comments
Open

Clear lookup function cache between chart installs #185

mattfarina opened this issue Aug 2, 2021 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@mattfarina
Copy link
Collaborator

The lookup function appears to cache data. This is a problem. For example, you have rancher-monitoring as a chart that depends on rancher-monitoring-crd for the CRDs. When you install rancher-monitoring it sees the CRD chart isn't installed so it installs it. Then, in the rancher-monitoring chart it uses the lookup function to see if the CRDs are installed. In between the install of the two charts the underlying cache isn't cleared so the lookup function will not return their existence in the cluster.

In between the installation of different charts the lookup function needs to have its cache cleared.

@mattfarina mattfarina added the bug Something isn't working label Aug 2, 2021
@mattfarina mattfarina added this to To do in Shit It via automation Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Shit It
To do
Development

No branches or pull requests

1 participant