Skip to content

Error on helm install caused by virtual service #56

@q1x

Description

@q1x

When performing a helm install I'm getting the following error:

$ helm install -f netbox-values.yaml netbox startechnica/netbox
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: apiVersion isn't string type

This seems to come from netbox/templates/istio/VirtualService.yaml (apiVersion: false):

$ helm template -f netbox-values.yaml startechnica/netbox
.
---
# Source: netbox/templates/istio/VirtualService.yaml
apiVersion: false
kind: VirtualService
metadata:
  name: release-name-netbox
  namespace: "default"
  labels:
    app.kubernetes.io/instance: release-name
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: netbox
    app.kubernetes.io/version: v3.7.2
    helm.sh/chart: netbox-5.0.5
spec:
  gateways:
    - default/release-name-netbox
  hosts:
    - netbox.local
  http:
    - match:
        - uri:
            prefix: "/"
      route:
        - destination:
            host: release-name-netbox.default.svc.cluster.local
            port:
              number: 80
---
.

Any idea how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions