Bug 1936463

Summary: Deploying Helm chart without resources crash the Dev Console
Product: OpenShift Container Platform Reporter: Vinu K <vkochuku>
Component: Dev ConsoleAssignee: cvogt
Status: CLOSED DUPLICATE QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: low    
Version: 4.6CC: aos-bugs, cjerolim, divgupta, dsantra, msaud, nmukherj, rorai
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-14 07:40:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vinu K 2021-03-08 14:28:11 UTC
Description of problem:
Deploying Helm Chart without resources in OCP 4.5 would make the Dev Console "Oh no! Something went wrong."

Version-Release number of selected component (if applicable):
v4u5

How reproducible:
Always

Steps to Reproduce:
1. helm create foo
2. rm foo/templates/{deployment.yaml,service.yaml,serviceaccount.yaml}
3. oc new-project foo
4. helm install foo foo/ --values foo/values.yaml
5. Go to Developer Console > Helm > foo project > foo > Resources

Actual results:
Oh no! Something went wrong.

Expected results:
At least no error

Additional info:
Tested in 4.6 and 4.7 and could not find issues.

Comment 11 Mohammed Saud 2021-07-14 07:40:03 UTC
Closing as this is already fixed with PR https://github.com/openshift/console/pull/7069 and fix is available in 4.6 z-stream release.

Feel free to reopen if the issue still exists.

*** This bug has been marked as a duplicate of bug 1893738 ***