[phpmyadmin] «ValidationError: unknown field "enabled"» in fresh install with default values.yaml
Which chart: phpmyadmin
Describe the bug
When doing helm install phpmyadmin -f phpmyadmin-values.yaml bitnami/phpmyadmin, where phpmyadmin-values.yaml is the unchanged default values.yaml from Bitnami's repo, I get a ValidationError unknown field 'enabled' in io.k8s.api.core.v1.[...] in the following specs: livenessProbe, readinessProbe, securityContext, PodSecurityContextç
To Reproduce Steps to reproduce the behavior:
curl -Lo phpmyadmin-values.yaml https://raw.githubusercontent.com/bitnami/charts/master/bitnami/phpmyadmin/values.yaml- (Don't change anything in
phpmyadmin-values.yaml) helm install phpmyadmin -f phpmyadmin-values.yaml bitnami/phpmyadmin- See error:
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].livenessProbe): unknown field "enabled" in io.k8s.api.core.v1.Probe, ValidationError(Deployment.spec.template.spec.containers[0].readinessProbe): unknown field "enabled" in io.k8s.api.core.v1.Probe, ValidationError(Deployment.spec.template.spec.containers[0].securityContext): unknown field "enabled" in io.k8s.api.core.v1.SecurityContext, ValidationError(Deployment.spec.template.spec.securityContext): unknown field "enabled" in io.k8s.api.core.v1.PodSecurityContext]
Expected behavior Release successfully installed.
Version of Helm and Kubernetes:
- Output of
helm version:
version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"clean", GoVersion:"go1.14.11"}
- Output of
kubectl version:
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-11T13:09:17Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Additional context This only started happening to me since today, so I think it is related to the changes committed today.
I'm sorry, it's my fault. I did not update the chart repo. Now I ran helm search repo bitnami and saw that the version for bitnami/phpmyadmin that I was using was 7.1.0. After updating the repo to version 8.0.1 it works.