Bug 1961356
| Summary: | Update single quotes to double quotes in string | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | ralpert | ||||
| Component: | Management Console | Assignee: | Steve Goodwin <sgoodwin> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.8 | CC: | aos-bugs, jokerman, yapei | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.8.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-07-27 23:08:46 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: | |||||||
| Attachments: |
|
||||||
1. Create a secret 'simplesecret' for reference, when creating the secret don't add 'WebHookSecretKey' key.
2. Create a BuildConfig, after BC is successfully created, hen edit its YAML and add GitLab webhook sections as following
- type: GitLab
gitlab:
secretReference:
name: "simplesecret"
3. Visit BuildConfig details page, click 'Copy URL with secret' button, an error modal will be shown, the content is pesudo translated
[Ṣḛḛͼṛḛḛţ ṛḛḛϝḛḛṛḛḛṇͼḛḛḍ ḭḭṇ ţḥḛḛ ḡḭḭţḽααḅ ẁḛḛḅḥṓṓṓṓḳ ţṛḭḭḡḡḛḛṛ ḍṓṓḛḛṡ ṇṓṓţ ͼṓṓṇţααḭḭṇ "ŴḛḛḅḤṓṓṓṓḳṢḛḛͼṛḛḛţḰḛḛẏẏ" ḳḛḛẏẏ. Ŵḛḛḅḥṓṓṓṓḳ ţṛḭḭḡḡḛḛṛ ẁṓṓṇ’ţ ẁṓṓṛḳ ḍṵṵḛḛ ţṓṓ ţḥḛḛ ḭḭṇṽααḽḭḭḍ ṡḛḛͼṛḛḛţ ṛḛḛϝḛḛṛḛḛṇͼḛḛ]
Verified on 4.8.0-0.nightly-2021-05-25-180327, the issue reported in this bug has been resolved
In the error message we can see double quotes are used Created attachment 1787096 [details]
double quotes in string
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.8.2 bug fix and security 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-2021:2438 |
Description of problem: "Secret referenced in the {{triggerProperty}} webhook trigger does not contain 'WebHookSecretKey' key. Webhook trigger won’t work due to the invalid secret reference" in frontend/public/locales/ja/public.json should have double quotes ("") around "WebHookSecretKey." You can use them if you escape them with a backslash. Version-Release number of selected component (if applicable): 4.8 How reproducible: Always Steps to Reproduce: 1. Look at frontend/public/locales/ja/public.json Actual results: Single quotes Expected results: Double quotes Additional info: