FusionAuth / fusionauth-containers

Container definitions for docker, kubernetes, helm, and whatever containers come next!
https://fusionauth.io/
219 stars 68 forks source link

Upgrade of charts for k8s 1.16 and beyond #27

Closed jerishsd closed 4 years ago

jerishsd commented 4 years ago

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 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"} :~$ sudo kind --version kind version 0.7.0 :~$ sudo helm version version.BuildInfo{Version:"v3.0.3", GitCommit:"ac925eb7279f4a6955df663a0128044a8a6b7593", GitTreeState:"clean", GoVersion:"go1.13.6"} :~/fusionauth-containers$ git branch

robotdan commented 4 years ago

@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

trollr commented 4 years ago

@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 commented 4 years ago

@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 :(

jerishsd commented 4 years ago

@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 !

trollr commented 4 years ago

@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

drpebcak commented 4 years ago

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.

robotdan commented 4 years ago

@jerishsd based upon the comments from @trollr and @drpebcak can we close out this issue or is there anything else that needs attention?

Thanks to all of you for your contributions to FusionAuth!

jerishsd commented 4 years ago

@robotdan @trollr @drpebcak Haven't got to testing it, but can be closed. I'll try out later.