Title: CRD Issue when migrating from SCB 2.X to 3.X: "spec.preserveUnknownFields: Invalid value" · Issue #788 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: CRD Issue when migrating from SCB 2.X to 3.X: "spec.preserveUnknownFields: Invalid value" · Issue #788 · secureCodeBox/secureCodeBox
X Title: CRD Issue when migrating from SCB 2.X to 3.X: "spec.preserveUnknownFields: Invalid value" · Issue #788 · secureCodeBox/secureCodeBox
Description: 🐞 Bug report When upgrading from SCB 2.X to 3.X, upgrading the CRDs results in an error: The CustomResourceDefinition "scans.execution.securecodebox.io" is invalid: spec.preserveUnknownFields: Invalid value: true: must be false in order ...
Open Graph Description: 🐞 Bug report When upgrading from SCB 2.X to 3.X, upgrading the CRDs results in an error: The CustomResourceDefinition "scans.execution.securecodebox.io" is invalid: spec.preserveUnknownFields: Inva...
X Description: 🐞 Bug report When upgrading from SCB 2.X to 3.X, upgrading the CRDs results in an error: The CustomResourceDefinition "scans.execution.securecodebox.io" is invalid: spec.preserveUnknownFi...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/788
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CRD Issue when migrating from SCB 2.X to 3.X: \"spec.preserveUnknownFields: Invalid value\"","articleBody":"## 🐞 Bug report\r\nWhen upgrading from SCB 2.X to 3.X, upgrading the CRDs results in an error:\r\n```\r\nThe CustomResourceDefinition \"scans.execution.securecodebox.io\" is invalid: spec.preserveUnknownFields: Invalid value: true: must be false in order to use defaults in the schema\r\n```\r\n\r\nThis is related to an upgrade in the APIs. To resolve it, you need to add `preserveUnknownFields: false` under the `spec` heading of the CRD YAMLs. We could not get this to work automatically, so we're documenting it here since not a lot of people should be taking this upgrade path anyway these days. It should be enough to do it once, all future imports should work as expected.","author":{"url":"https://github.com/malexmave","@type":"Person","name":"malexmave"},"datePublished":"2021-10-29T15:58:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/788/secureCodeBox/issues/788"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3457f7b5-37e1-15da-b5c2-8969ca7b38db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8596:B70EB:3742A8:48DEF3:698FA97E |
| html-safe-nonce | 2fe76a2d8ed5be658993c7755435c08771411b0d2a6b20b928f186a3b39863ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTk2OkI3MEVCOjM3NDJBODo0OERFRjM6Njk4RkE5N0UiLCJ2aXNpdG9yX2lkIjoiMjcyODQ2NjAyNzY3OTU1ODAxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fa899312c52e5e9057b82c00d652a84f4fd3afdf047af71d6913c77c472d6457 |
| hovercard-subject-tag | issue:1039716108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/788/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a3902cc7fd1462ed5f73f4f555e88fc367045964c3c2694bd371fcd86af9f4f7/secureCodeBox/secureCodeBox/issues/788 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3902cc7fd1462ed5f73f4f555e88fc367045964c3c2694bd371fcd86af9f4f7/secureCodeBox/secureCodeBox/issues/788 |
| og:image:alt | 🐞 Bug report When upgrading from SCB 2.X to 3.X, upgrading the CRDs results in an error: The CustomResourceDefinition "scans.execution.securecodebox.io" is invalid: spec.preserveUnknownFields: Inva... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | malexmave |
| hostname | github.com |
| expected-hostname | github.com |
| None | ff0b5286b4f7cd2eb22d357a0ae8fb9a0ae1eaf6abfbae7410c3b315d16414e1 |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5268d66f533eb3b2e65a6a398a739f35827fd64a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width