-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
4.10
-
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
- Default values for nodejs-ex-k.
- This is a YAML-formatted file.
- 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: {}
- kubernetes.io/ingress.class: nginx
- kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
- - secretName: chart-example-tls
- hosts:
- - chart-example.local
resources: {}
- We usually recommend not to specify default resources and to leave this as a conscious
- choice for the user. This also increases chances charts run on environments with little
- resources, such as Minikube. If you do want to specify resources, uncomment the following
- lines, adjust them as necessary, and remove the curly braces after 'resources:'.
- limits:
- cpu: 100m
- memory: 128Mi
- requests:
- cpu: 100m
- 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
```