Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

no matches for kind "Ingress" in version "networking.k8s.io/v1 #311

Open
patsevanton opened this issue Sep 20, 2021 · 3 comments
Open

no matches for kind "Ingress" in version "networking.k8s.io/v1 #311

patsevanton opened this issue Sep 20, 2021 · 3 comments

Comments

@patsevanton
Copy link
Contributor

Hello. I try install sonatype-nexus to kubernetes 1.18

Add repo

helm repo add oteemocharts https://oteemo.github.io/charts

Install sonatype-nexus

helm install -f my-values.yaml sonatype-nexus oteemocharts/sonatype-nexus

File my-values.yaml:

nexusProxy:
  env:
    nexusHttpHost: my-dns-name.sslip.io

ingress:
  enabled: true

Get error

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1"
@patsevanton
Copy link
Contributor Author

kubectl version

Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.20",

helm install -f my-values.yaml sonatype-nexus oteemocharts/sonatype-nexus --version 5.3.3

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1"

helm install --atomic -f my-values.yaml sonatype-nexus oteemocharts/sonatype-nexus --version 5.3.2

NAME: sonatype-nexus
LAST DEPLOYED: Mon Sep 20 17:17:45 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
- To access Nexus:

  NOTE: It may take a few minutes for the ingress load balancer to become available or the backends to become HEALTHY.
        You can watch the status of the backends by running:
        `kubectl get ingress -o jsonpath='{.items[*].metadata.annotations.ingress\.kubernetes\.io/backends}'`

  To access Nexus you can check:
   http://nexus.xxxxx.sslip.io

- Login with the following credentials

   username: admin
   password: xxxx
- Next steps in configuration

   Please follow the link below to the README for nexus configuration, usage, backups and DR info:
   https://github.com/Oteemo/charts/tree/master/charts/sonatype-nexus#after-installing-the-chart

@patsevanton
Copy link
Contributor Author

kubectl version

Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.10", 

helm install --atomic -f my-values.yaml sonatype-nexus oteemocharts/sonatype-nexus --version 5.3.3

NAME: sonatype-nexus
LAST DEPLOYED: Mon Sep 20 17:18:04 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
- To access Nexus:

  NOTE: It may take a few minutes for the ingress load balancer to become available or the backends to become HEALTHY.
        You can watch the status of the backends by running:
        `kubectl get ingress -o jsonpath='{.items[*].metadata.annotations.ingress\.kubernetes\.io/backends}'`

  To access Nexus you can check:
   http://nexus.xxxxxx.sslip.io

- Login with the following credentials

   username: admin
   password: xxxxx
- Next steps in configuration

   Please follow the link below to the README for nexus configuration, usage, backups and DR info:
   https://github.com/Oteemo/charts/tree/master/charts/sonatype-nexus#after-installing-the-chart

helm install --atomic -f my-values.yaml sonatype-nexus oteemocharts/sonatype-nexus --version 5.3.2

NAME: sonatype-nexus
LAST DEPLOYED: Mon Sep 20 17:22:38 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
- To access Nexus:

  NOTE: It may take a few minutes for the ingress load balancer to become available or the backends to become HEALTHY.
        You can watch the status of the backends by running:
        `kubectl get ingress -o jsonpath='{.items[*].metadata.annotations.ingress\.kubernetes\.io/backends}'`

  To access Nexus you can check:
   http://nexus.84-252-132-48.sslip.io

- Login with the following credentials

   username: admin
   password: admin123
- Next steps in configuration

   Please follow the link below to the README for nexus configuration, usage, backups and DR info:
   https://github.com/Oteemo/charts/tree/master/charts/sonatype-nexus#after-installing-the-chart

@patsevanton
Copy link
Contributor Author

Work example:
https://apache.googlesource.com/skywalking-kubernetes/+/HEAD/chart/skywalking/templates/ui-ingress.yaml

Same issue https://gitea.com/gitea/helm-chart/issues/77

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

No branches or pull requests

1 participant