-
Notifications
You must be signed in to change notification settings - Fork 122
chore(charts): productionize sam-mesh chart #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
71e472f
charts: expose the router at its node IP, GKE-style
kaisoz e9a7af4
charts: make sam:role:node's allowed services configurable
kaisoz f2b76a0
charts: front the mesh with Gateway API
kaisoz 0bffff7
charts: drop the bundled Dex
kaisoz aade64f
development/kind: deploy the mesh behind the gateway surface
kaisoz a0cffcc
tests/e2e: pin the chart values the bats lane asserts on
kaisoz 7672f21
docs: describe the gateway-fronted kind mesh
kaisoz 5163c85
development/examples: pin greeter-mcp to mcp 1.x
kaisoz ca94afa
charts: run the sam pods under the restricted Pod Security Standard
kaisoz 713727f
charts: allow overriding the image tag per image
kaisoz 362c122
charts: roll control plane and console when the shared secret changes
kaisoz ff8159c
charts: stop granting the bootstrap job access to every secret
kaisoz 313d3a9
charts: warn in NOTES when hostPort caps routers at one per node
kaisoz 06ec530
charts: persist the router key on a PVC
kaisoz 8cf6ff4
charts: add pg_isready probes to the db statefulset
kaisoz b079565
charts: pass nodeSelector, tolerations and affinity through to every …
kaisoz 64968a7
charts: give the curl init/bootstrap containers requests and limits
kaisoz 7fa1d8a
charts: add helm-unittest template tests
kaisoz 2913960
ci: lint and unit-test the chart on chart changes
kaisoz e356126
Add helm-template make target. Reduce comments
kaisoz 2ebbe51
tests/e2e: recover the reused cluster from immutable StatefulSet changes
kaisoz 54618a8
charts: derive announced router port from service.port; optional PVC …
kaisoz 678ea5f
charts: disable surge when controlPlane.hostPort is set
kaisoz e4116b1
Makefile: drop --verify=false from helm plugin install; helm 3 has no…
kaisoz d7a7066
ci: drop helm-lint from chart-test, test.yaml already runs it
kaisoz 7b3c172
charts: let the bootstrap job update the router-token secret
kaisoz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Copyright 2026 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| name: chart-test | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - "main" | ||
| paths: | ||
| - "charts/**" | ||
| - ".github/workflows/chart-test.yml" | ||
| pull_request: | ||
| branches: [main] | ||
| paths: | ||
| - "charts/**" | ||
| - ".github/workflows/chart-test.yml" | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| chart_test: | ||
| runs-on: ubuntu-22.04 | ||
| name: Chart lint and unit tests | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| # helm-lint already runs in test.yaml | ||
| - name: Run chart unit tests | ||
| run: make helm-test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
.Values.bootstrap.nodeServicesis overridden tonullor left empty,toJsonwill outputnull, which will result in invalid JSON inside the curl payload. Use thedefaultfunction to fall back to a safe default (likelist "*") to ensure the bootstrap job always renders valid JSON.{"name": "sam:role:node", "allowed_services": {{ toJson (default (list "*") .Values.bootstrap.nodeServices) }}, "allowed_targets": ["*"]}