Coder Social home page Coder Social logo

Comments (6)

jjustinic avatar jjustinic commented on July 27, 2024

I think it's having issue with the handling of the version there that includes the +. It does work when the version is just 1.19 instead of 1.19+:

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.12", GitCommit:"2cb4598553d0a2ca5f3eb7980c99cd8236cc5011", GitTreeState:"clean", BuildDate:"2021-06-16T13:00:29Z", GoVersion:"go1.15.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.11", GitCommit:"d062c7ef8a88e89e5f28f1c1146bd707d00d4881", GitTreeState:"clean", BuildDate:"2021-11-01T16:41:06Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}

I'm not sure in this case version really matters though. I would think just checking for the availability of the stable v1 over v1beta1 would be good enough. I don't get a say though. This was just earlier discussion and testing closely related in my #175.

from helm-charts.

wesleymccollam avatar wesleymccollam commented on July 27, 2024

@topijag I've made changes in this commit. Would you mind verifying if this change works locally for you? If you clone the dev branch, you can run a command pointing to your local charts (below).

helm upgrade --install <release name> charts/ping-devops -f <.yaml>

from helm-charts.

topijag avatar topijag commented on July 27, 2024

Thanks @wesleymccollam for the change, I'll test it!
I'm facing this as well, kubernetes/kubernetes#94761 (comment)

Despite the fact of using the proper apiVersion, the deprecated one is still being seen as the the default one 🤦

from helm-charts.

wesleymccollam avatar wesleymccollam commented on July 27, 2024

@topijag, I've added another commit that should take care of the warning message. The template code was checking against 1.18.x instead of 1.19.x for the Kubernetes Version.

from helm-charts.

topijag avatar topijag commented on July 27, 2024

It looks like this is missing in:

-{{- if semverCompare ">=1.19.x" $top.Capabilities.KubeVersion }}
+{{- if semverCompare ">=1.19.x" $top.Capabilities.KubeVersion.Version }}

https://github.com/pingidentity/helm-charts/blob/dev/charts/ping-devops/templates/pinglib/_ingress.tpl#L7

from helm-charts.

wesleymccollam avatar wesleymccollam commented on July 27, 2024

@topijag, excellent catch. I've updated this for the next release which should go out later today or tomorrow.

from 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.