You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"
Upon changing the version to "apps/v1", I then received the error:
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec
I updated the Deployment spec with selector as such:
Ah. This is part of the 1.16 cleanup I intended to do (which I did for the yaml's but I did not do for the charts!). Thanks for spotting it. If you want to create a PR I will merge it otherwise I will fix it. Thanks again.
When running helm install I received this error:
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"
Upon changing the version to "apps/v1", I then received the error:
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec
I updated the Deployment spec with selector as such:
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "yelb.fullname" . }}-cache
spec:
selector:
matchLabels:
app: {{ template "yelb.fullname" . }}
replicas: {{ .Values.replicaCount }}
--- etc ---
Then I was able to successfully deploy the chart
The text was updated successfully, but these errors were encountered: