Giter Site home page Giter Site logo

Comments (7)

JoshVanL avatar JoshVanL commented on May 24, 2024 1

Cool, thanks @keithmattix. I have a branch at work in the background 🙂

Will likely cover the following cases:

  • Empty revision list [] -> ""
  • Default in the revision list gets converted "default" -> ""
  • Multiple revisions would produce ["default", "foo", "bar"] -> "", "foo", "bar"

Do we need to account for the case where the Helm revision value has both "" and "default"? This would produce a Certificate with DNS that has duplicate entries. Maybe this is fine, but can spend some time to remove duplicates in the helm template logic (😅).

from istio-csr.

keithmattix avatar keithmattix commented on May 24, 2024 1

You could probably just use the uniq function in Helm to filter the list before looping over it right?

from istio-csr.

JoshVanL avatar JoshVanL commented on May 24, 2024

Hi @keithmattix, could you expand a bit on what you mean by revision, do you mean the revisionHistoryLimit?

from istio-csr.

keithmattix avatar keithmattix commented on May 24, 2024

Thanks for the response @JoshVanL; sorry I should've been more clear. I'm referring to Istio revisions for use with canary upgrades.

from istio-csr.

JoshVanL avatar JoshVanL commented on May 24, 2024

Thanks @keithmattix, wasn't familiar of this feature with istio but is pretty cool!

Would exposing something like app.istioRevision in the helm chart make sense here?

/kind feature
/assign

from istio-csr.

jetstack-bot avatar jetstack-bot commented on May 24, 2024

@JoshVanL: The label(s) kind/feature cannot be applied, because the repository doesn't have them.

In response to this:

Thanks @keithmattix, wasn't familiar of this feature with istio but is pretty cool!

Would exposing something like app.istioRevision in the helm chart make sense here?

/kind feature
/assign

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from istio-csr.

keithmattix avatar keithmattix commented on May 24, 2024

Yes, I think something like that could work! It would probably need to be a list/array since one would generally have multiple revisions in a cluster during a canary upgrade. app.istioRevisions would probably suffice.

from istio-csr.

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.