Upgrade of charts for k8s 1.16 and beyond
jerishsd opened this issue ยท 8 comments
Helm charts need migration for newer version of k8s as outlined in,
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
Error when installing chart off tag 1.14.0 using kind below,
$ kind --version
kind version 0.7.0
:$ sudo kubectl version$ sudo kind --version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2020-01-14T00:09:19Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
:
kind version 0.7.0
:$ sudo helm version/fusionauth-containers$ git branch
version.BuildInfo{Version:"v3.0.3", GitCommit:"ac925eb7279f4a6955df663a0128044a8a6b7593", GitTreeState:"clean", GoVersion:"go1.13.6"}
:
- (HEAD detached at 1.14.0)
:$ sudo helm install my-release-fusionauth ./fusionauth-containers/helm/fusionauth/ --namespace authnamespace$
Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2"]
:
@trollr may be able to assist?
FYI, we will be moving the helm charts to this repo in the near future. https://github.com/FusionAuth/charts
@jerishsd I think you fixed it already or do you need any kind of support? Thanks for your participation.
I added the kickstart feature to the helm chart and will deploy it to fusionauth/charts in a few days.
@jerishsd I think you fixed it already or do you need any kind of support? Thanks for your participation.
I added the kickstart feature to the helm chart and will deploy it to fusionauth/charts in a few days.
Yep, need help :) Tried the chart migration conversion didn't go anywhere :(
@trollr may be able to assist?
FYI, we will be moving the helm charts to this repo in the near future. https://github.com/FusionAuth/charts
Thanks for the info and followup @robotdan . Will get help from @trollr !
@jerishsd I published the chart to ninjaneers public chart repository at https://github.com/ninjaneers-team/charts.
$ helm repo add ninjaneers https://ninjaneers-team.github.io/charts
$ helm install ninjaneers/fusionauth --name my-release
Documentation and code: https://github.com/ninjaneers-team/fusionauth
should work with 1.16 and above :) Have a look at the values.yaml to see how kickstart works
I've just merged some stuff in for networking.k8s.io/v1beta1
support (as well as a few other odds and ends). Is there anything left to do here? To my knowledge, this chart installs fine on k8s 1.17.