Giter Site home page Giter Site logo

Comments (2)

ryanemerson avatar ryanemerson commented on June 5, 2024 1

@dmvolod Thanks for commenting. From what I can see in the helm docs, "no-update" isn't a valid value for the helm.sh/resource-policy annotation, the only option is "keep" https://helm.sh/docs/howto/charts_tips_and_tricks/#tell-helm-not-to-uninstall-a-resource.

Maybe I was too quick to remove this annotation though, as removing the Secret during a chart upgrade would result in new user credentials being generated and any user applications being broken on upgrade.

I think I should revert the commit and update the annotation value to be "keep". We will then need to update the docs to state that the generated Secret needs to be manually uninstalled.

Ideally what we require is the ability to keep a resource during update/rollback but remove on delete, however this doesn't seem to exist helm/helm#7839 😞.

@fabriziosta FYI, it looks like we won't be able to remove the secret after all.

from infinispan-helm-charts.

dmvolod avatar dmvolod commented on June 5, 2024

@ryanemerson I don't remember why this annotation added, but probably can take a side effect. More detail tests in CI with install/update/uninstall and resource validation after these stages need to be implemented

annotations:
    "helm.sh/resource-policy": no-update

from infinispan-helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.