Giter VIP home page Giter VIP logo

Comments (5)

stefanprodan avatar stefanprodan commented on June 2, 2024

The LastAppliedRevision/LastAttemptedRevision are intended to be common fields for all the toolkit reconcilers, as of now these are used in kustomize and helm controllers. I get your point that from a Chart/Release perspective they are ambiguous.

from helm-controller.

hiddeco avatar hiddeco commented on June 2, 2024

We could record the chart revision as given by Helm in another *ChartRevision status field, question is if this gives us anything of additional value.

from helm-controller.

seaneagan avatar seaneagan commented on June 2, 2024

I see, what about "Source" or "Artifact" rather than "Chart" then:

LastAttemptedSourceRevision
LastSuccessfulSourceRevision

LastAttemptedArtifactRevision
LastSuccessfulArtifactRevision

from helm-controller.

stefanprodan avatar stefanprodan commented on June 2, 2024

@seaneagan using the same stats fields e,g, LastAppliedRevision/LastAttemptedRevision as a standard across all toolkit controllers allows other controllers/integrations to rely on those for detecting drift. These integrations don't have to depend on our API packages, using the dynamic client-go you could lookup an object.status and check the 2 fields. If we change them in helm-controller, then it will would break the standard. I propose we document these fields in helm-controller docs and explain what they mean in the Helm context.

from helm-controller.

seaneagan avatar seaneagan commented on June 2, 2024

Sure, I guess it's easy enough for an end user to distinguish based on the field values what it likely means as well, it's just something that tripped me up for a second when looking at the field names only, before actually using the tool. Thanks for considering!

from helm-controller.

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.