Installation of version >=1.16.2 not possible on k8s 1.29 via helm chart
Summary
Installation of version >=1.16.2 not possible on k8s 1.29 via helm chart
Current Behaviour
Steps to reproduce
Just install via helm chart
Installation job will crashloop with error.
Expected Behaviour
Possible Solution
In the release notes to version 1.16.2 is mentioned in FIXES: Helm chart sgconfig serialization issue.
I believe that this fix broke installation on 1.29
Environment
- StackGres version:
1.16.2
- Kubernetes version:
1.29.15
- Cloud provider or hardware configuration:
Relevant logs and/or screenshots
+ kubectl replace -f /SGConfig.yaml
customresourcedefinition.apiextensions.k8s.io/sgconfigs.stackgres.io replaced
+ RETRY=10
+ true
+ kubectl apply -f /sgconfig.json
Error from server (BadRequest): error when creating "/sgconfig.json": SGConfig in version "v1" cannot be handled as a SGConfig: strict decoding error: unknown field "spec.cert.crt", unknown field "spec.cert.jwtRsaKey", unknown field "spec.cert.jwtRsaPub", unknown field "spec.cert.key", unknown field "spec.cert.webCrt", unknown field "spec.cert.webKey", unknown field "spec.grafana.urls"