Transitioned from JIRA issue: https://issues.redhat.com/browse/CONSOLE-2342 Install Agones via helm: https://agones.dev/site/docs/installation/install-agones/helm/ Visit the namespace and try to view the chart's resource. YAMLException Description: duplicated mapping key at line 1528, column -123: annotations: ^ Component trace: in Unknown {{ in t}} {{ in t}} {{ in div}} {{ in Data}} {{ in StatusBox}} {{ in div}} {{ in Unknown}} {{ in Unknown}} {{ in Unknown}} {{ in Unknown}} {{ in w}} {{ in O}} {{ in w}} {{ in Unknown}} {{ in s}} {{ in DetailsPage}} {{ in k}} {{ in Unknown}} {{ in Unknown}} {{ in Unknown}} {{ in w}} {{ in O}} {{ in w}} {{ in div}} {{ in div}} {{ in Unknown}} {{ in Unknown}} {{ in c}} {{ in t}} {{ in R}} {{ in t}} {{ in div}} {{ in div}} {{ in section}} {{ in d}} {{ in Unknown}} {{ in w}} {{ in w}} {{ in div}} {{ in div}} {{ in f}} {{ in p}} {{ in div}} {{ in p}} {{ in NotificationDrawer}} {{ in Unknown}} {{ in w}} {{ in main}} {{ in div}} {{ in b}} {{ in component}} {{ in t}} {{ in t}} {{ in t}} {{ in t}} Stack trace: YAMLException: duplicated mapping key at line 1528, column -123: {{ annotations:}} {{ ^}} {{ at M (https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:113519)}} {{ at I (https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:113617)}} {{ at z (https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:115515)}} {{ at https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:119988}} {{ at K (https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:120239)}} {{ at https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:119943}} {{ at K (https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:120239)}} {{ at https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:119943}} {{ at K (https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:120239)}} {{ at https://console-openshift-console.apps.cluster-65b4.65b4.example.opentlc.com/static/vendors~main-chunk-5d16dae3ac38abab85aa.min.js:160:119943}}
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