Haufe-Lexware / wicked.haufe.io

An API Management system based on Mashape Kong
http://wicked.haufe.io
Other
121 stars 37 forks source link

upgrade helm apiVersion for ingress resource; introduce more configuration for deployment #321

Open ulrichhamann opened 2 years ago

ulrichhamann commented 2 years ago

When deploying that helm chart to k8s 1.20.7 I have got an issue due to found ingress api version. Changed to 'networking.k8s.io/v1'.

Also in our context pods were assigned to wrong nodes of wrong node group. I added in deployment template an optional config {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} {{- end }}

If such value is written in override.yaml: ... nodeSelector: stack: app ... it will be applied to deployment config file.