Title: Use uppercase TCP in the Helm extraPorts example by NotAFlightRisk · Pull Request #8146 · coder/code-server · GitHub
Open Graph Title: Use uppercase TCP in the Helm extraPorts example by NotAFlightRisk · Pull Request #8146 · coder/code-server
X Title: Use uppercase TCP in the Helm extraPorts example by NotAFlightRisk · Pull Request #8146 · coder/code-server
Description: Uncommenting the extraPorts example in the chart's values.yaml and installing gets you this: $ helm template code-server ci/helm-chart -f extra-ports.yaml | kubectl apply --dry-run=server -f - Error from server (Invalid): error when creating "STDIN": Service "code-server" is invalid: spec.ports[1].protocol: Unsupported value: "tcp": supported values: "SCTP", "TCP", "UDP" Error from server (Invalid): error when creating "STDIN": Deployment.apps "code-server" is invalid: spec.template.spec.containers[0].ports[1].protocol: Unsupported value: "tcp": supported values: "SCTP", "TCP", "UDP" extra-ports.yaml there is just the example with the #s taken off. Kubernetes only takes the protocol in capitals and the templates pass it through as written, so it needs to say TCP. With that the same dry run goes through fine (tried against a k3s 1.31 server). There's no issue for this one - it's one word in a comment, which I figured counts as minor. AI helped with this PR.
Open Graph Description: Uncommenting the extraPorts example in the chart's values.yaml and installing gets you this: $ helm template code-server ci/helm-chart -f extra-ports.yaml | kubectl apply --dry-run=server -f - ...
X Description: Uncommenting the extraPorts example in the chart's values.yaml and installing gets you this: $ helm template code-server ci/helm-chart -f extra-ports.yaml | kubectl apply --dry-run=server -...
Opengraph URL: https://github.com/coder/code-server/pull/8146
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fe353f7c-cb45-e7c7-9cb4-c5f4181bb8a3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF60:C710:1FB9A1:2C3523:6B043816 |
| html-safe-nonce | e2d62a4e625102f596527b703eb684c5459bc33afd9a7cdc2ea8c5458720456e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjYwOkM3MTA6MUZCOUExOjJDMzUyMzo2QjA0MzgxNiIsInZpc2l0b3JfaWQiOiIyNjExMjYxMTU0Nzg5NzAxNjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 662dae97adef0561c8923e58cdf18dd47e4f7958974a4813c61e00ad7916ea25 |
| hovercard-subject-tag | pull_request:5393720131 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/coder/code-server/pull/8146/files |
| twitter:image | https://avatars.githubusercontent.com/u/23277273?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/23277273?s=400&v=4 |
| og:image:alt | Uncommenting the extraPorts example in the chart's values.yaml and installing gets you this: $ helm template code-server ci/helm-chart -f extra-ports.yaml | kubectl apply --dry-run=server -f - ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width