Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9447

Helm chart Nodejs Ex K could not be installed via Form view

XMLWordPrintable

    • Quality / Stability / Reliability
    • None
    • None
    • None
    • Moderate
    • None
    • Unspecified
    • None
    • Rejected
    • ODC Sprint 235
    • 1
    • None
    • If docs needed, set a value
    • None
    • None
    • None
    • None
    • None

      Description of problem:
      Helm Chart "Nodejs Ex K" could not be installed via form mode.

      Version-Release number of selected component (if applicable):
      At least on 4.10-4.12
      Doesn't tested older versions yet

      How reproducible:
      Always

      Steps to Reproduce:
      1. Switch to Developer perspective
      2. Navigate to Add > Helm Chart (catalog)
      3. Search for nodejs and select "Nodejs Ex K"
      4. Click on "Install Helm Chart"
      5. Ensure the form view is opened (as yaml works fine)
      6. Press Install

      Actual results:
      The Helm Chart could not be installed. It shows this error instead:

      Failed to install helm chart: values don't meet the specifications of the schema(s) in the following chart(s):
      nodejs-ex-k:

      • ingress.hosts.0: paths is required

      Expected results:
      If the yaml view works fine, the form view should also install the helm chart successfully.

      Additional info:
      When loading the Helm Chart the first time it shows this YAML:

      ```yaml

      1. Default values for nodejs-ex-k.
      2. This is a YAML-formatted file.
      3. Declare variables to be passed into your templates.

      replicaCount: 1

      image:
      repository: nginx
      pullPolicy: IfNotPresent

      nameOverride: ""
      fullnameOverride: ""

      service:
      type: ClusterIP
      port: 80

      ingress:
      enabled: false
      annotations: {}

      1. kubernetes.io/ingress.class: nginx
      2. kubernetes.io/tls-acme: "true"
        hosts:
      • host: chart-example.local
        paths: []

      tls: []

      1. - secretName: chart-example-tls
      2. hosts:
      3. - chart-example.local

      resources: {}

      1. We usually recommend not to specify default resources and to leave this as a conscious
      2. choice for the user. This also increases chances charts run on environments with little
      3. resources, such as Minikube. If you do want to specify resources, uncomment the following
      4. lines, adjust them as necessary, and remove the curly braces after 'resources:'.
      5. limits:
      6. cpu: 100m
      7. memory: 128Mi
      8. requests:
      9. cpu: 100m
      10. memory: 128Mi

      nodeSelector: {}

      tolerations: []

      affinity: {}
      ```

      After switching to form and back to yaml the form removes a lot of data:

      ```yaml
      replicaCount: 1
      image:
      repository: nginx
      pullPolicy: IfNotPresent
      service:
      type: ClusterIP
      port: 80
      ingress:
      enabled: false
      hosts:

      • host: chart-example.local
        ```

              jakumar jaivardhan Kumar
              cjerolim Christoph Jerolimov
              None
              None
              Sanket Pathak Sanket Pathak
              None
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: