Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api versions out of date #56

Open
CC007 opened this issue Jul 28, 2020 · 4 comments
Open

api versions out of date #56

CC007 opened this issue Jul 28, 2020 · 4 comments

Comments

@CC007
Copy link

CC007 commented Jul 28, 2020

The apiVersion for deployments and the ingress are not working for kubernetes 1.18. Even when manually upgrading them gives me issues:

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

Even though I have apiVersion: apps/v1 in my deployments.

I am using:

  • helm: v3.2.4
  • kubernetes client: 1.18.5
  • kubernetes server: 1.18.3
@tiberiucorbu
Copy link

tiberiucorbu commented Aug 12, 2020

I have the same problem using helm v3.3, linting the chart shows a copuple of errors :

[tiber@linux fn-helm]$ helm lint fn
 ==> Linting fn
[ERROR] Chart.yaml: apiVersion is required. The value must be either "v1" or "v2"
[ERROR] templates/flow-deployment.yaml: the kind "apps/v1beta1 Deployment" is deprecated in favor of "apps/v1 Deployment"
 [ERROR] templates/flow-deployment.yaml: a Deployment must contain matchLabels or matchExpressions, and "test-release-fn-flow-depl" does not
 [ERROR] templates/fn-deployment.yaml: the kind "apps/v1beta1 Deployment" is deprecated in favor of "apps/v1 Deployment"
 [ERROR] templates/fn-deployment.yaml: a Deployment must contain matchLabels or matchExpressions, and "test-release-fn" does not
 [ERROR] templates/fn-ingress.yaml: the kind "extensions/v1beta1 Ingress" is deprecated in favor of "networking.k8s.io/v1beta1 Ingress"
 [ERROR] templates/fn-runner-node-deployment.yaml: the kind "apps/v1beta1 Deployment" is deprecated in favor of "apps/v1 Deployment"
 [ERROR] templates/fn-runner-node-deployment.yaml: a Deployment must contain matchLabels or matchExpressions, and "test-release-fn-runner" does not
 [ERROR] templates/ui-deployment.yaml: the kind "apps/v1beta1 Deployment" is deprecated in favor of "apps/v1 Deployment"
 [ERROR] templates/ui-deployment.yaml: a Deployment must contain matchLabels or matchExpressions, and "test-release-fn-ui" does not

On the other thought helm added some breaking changes to version 3. for example: init, install --name doesn't exist anymore 🙄

@jslay77
Copy link

jslay77 commented Jul 27, 2022

Are there any plans to update this chart for recent versions of k8s APIs and Helm 3?

@metamemelord
Copy link

Are there any plans to update this chart for recent versions of k8s APIs and Helm 3?

I don't think this project has active development..

@CC007
Copy link
Author

CC007 commented Jul 28, 2022

Are there any plans to update this chart for recent versions of k8s APIs and Helm 3?

I don't think this project has active development..

Yup, I swapped to OpenFaaS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants