Bug 1866087
| Summary: | Examining agones helm chart resources results in "Oh no!" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Samuel Padgett <spadgett> |
| Component: | Dev Console | Assignee: | Rohit Rai <rorai> |
| Status: | CLOSED ERRATA | QA Contact: | Gajanan More <gamore> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.6 | CC: | aballant, aos-bugs, ejacobs, jokerman, nmukherj |
| Target Milestone: | --- | ||
| Target Release: | 4.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-24 15:14:01 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1893738 | ||
|
Description
Samuel Padgett
2020-08-04 19:52:41 UTC
Assigning to Dev Console team, since it's in their section. Reproducer: oc version Client Version: 4.4.0-0.nightly-2020-03-04-131133 Server Version: 4.5.4 Kubernetes Version: v1.18.3+012b3ec helm repo add agones https://agones.dev/chart/stable oc adm new-project agones-system oc adm new-project xbox helm install my-release agones/agones --set "gameservers.namespaces={xbox}" --namespace agones-system Go to agones-system project in developer perspective click Helm click my-release click resources Looks like there's a duplicate key in the YAML. We might have to pass `{ json: true }` to safe load if we want to allow this. `oc create` tolerates duplicate keys.
```
YAMLException
Description:
duplicated mapping key at line 1528, column -123: annotations: ^
```
This is what we did in 3.x: https://github.com/openshift/origin-web-console/pull/1798/files#diff-87c88160ee9af35963d0357086b1435aR24-R29
https://github.com/nodeca/js-yaml#safeload-string---options-
Verified by @dsantra Verified on 4.7.0-0.ci-2020-11-03-102229 Updating and marking this as verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 |