Repository navigation
feat(chart): enable Edge v3.6.0 features and pin to v3.6.0 (chart 0.6.0) #13
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
27 commits
Select commit
Hold shift + click to select a range
446d883
feat(chart): grant Endpoints access + informer, expose configMap & en…
alextoulps 7e8108e
feat(chart): pin Edge to v3.6.0 and release chart 0.6.0
stheppi e4346bd
test(chart): add render test harness and CI
stheppi 7ac44a5
fix(chart): render kube.namespaceFilter into config.json
stheppi ddbc37f
fix(chart): fail render on an invalid kube.namespaceFilter
stheppi 9351817
fix(chart): render netobs.edgeExistenceTtl into config.json
stheppi 744e519
fix(chart): render netobs.excludeNamespaces into config.json
stheppi 02c8b66
fix(chart): render services.address without the full services block
stheppi 68e39ad
fix(chart): render partial services tls/compression/handshake objects
stheppi 1f4bbce
test(chart): guard falsy services values from being dropped
stheppi 17760d0
refactor(chart): move pickSet helper to _helpers.tpl
stheppi ab56e8d
docs(chart): document namespace scoping, netobs exclusions and servic…
stheppi 46651cf
test(chart): add kind end-to-end test for the Edge ConfigMap
stheppi 1a124b1
fix(chart): coerce services scalars to the types the Edge expects
stheppi f8b86a2
fix(chart): validate namespace names and config types before rendering
stheppi 9d48aff
fix(chart): make configMapCapture/envCapture nil-safe (PR #13 code)
stheppi 530084b
test(chart): check the new pod's logs after upgrade in the kind test
stheppi f0ea3d1
fix(chart): reject non-string netobs.excludeNamespaces entries
stheppi 206d63b
fix(chart): validate netobs.edgeExistenceTtl as a Go duration
stheppi 446f0cb
fix(chart): reject unknown keys under kube.namespaceFilter
stheppi f4ca8f6
test(chart): keep helm stderr out of rendered YAML; run CI on main
stheppi 5eb7078
Merge pull request #18 from NOFireAI/fix/configmap-namespace-filter
stheppi e119c23
fix(chart): accept whole-number floats in typedPick int fields
stheppi ca9cb0f
fix(chart): type-check configMapCapture and envCapture values
stheppi 0ca8e42
fix(examples): add endpoints to the production resources list
stheppi 5950730
fix(manifests): open endpoints gates and fix invalid config.json
stheppi 8b79007
test(e2e): cover capture config and endpoints RBAC on kind
stheppi 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,26 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: azure/setup-helm@v4 | ||
| with: | ||
| version: v3.18.0 | ||
| - name: Install helm-unittest | ||
| run: helm plugin install https://github.com/helm-unittest/helm-unittest --version v1.2.1 | ||
| - name: Install yq | ||
| run: | | ||
| sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64 | ||
| sudo chmod +x /usr/local/bin/yq | ||
| - run: helm lint . | ||
| - run: helm unittest . | ||
| - run: tests/render/run.sh | ||
| - run: tests/render/harness_test.sh | ||
| - run: tests/manifests/check.sh | ||
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 |
|---|---|---|
|
|
@@ -31,3 +31,6 @@ docs/ | |
| .idea/ | ||
| *.tmproj | ||
| .vscode/ | ||
| # Tests and CI helpers are not chart content | ||
| tests/ | ||
| ci/ | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Values for tests/e2e/kind.sh: a local kind cluster with no backend. | ||
| image: | ||
| pullPolicy: IfNotPresent | ||
|
|
||
| config: | ||
| # Publishing needs a graph URL and API key; the e2e only needs the Edge to | ||
| # accept its config and start. | ||
| enablePublishing: false | ||
| kube: | ||
| namespaceFilter: | ||
| mode: allow | ||
| namespaces: [default] | ||
| netobs: | ||
| excludeNamespaces: [x] | ||
| edgeExistenceTtl: 1h | ||
| # Exercises typed rendering: captureCap 0 must survive, and 1048576 is a | ||
| # whole-number float when read from a values file. | ||
| configMapCapture: | ||
| clearText: true | ||
| captureCap: 0 | ||
| redactKeyPatterns: ["(?i)secret"] | ||
| envCapture: | ||
| captureCap: 1048576 |
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.
nit: The PR description says "this repo has no PR-triggered CI —
release.ymlfires on push-to-mainandworkflow_dispatchonly, so no checks will report here", but this diff adds a workflow withon: pull_request.The description is the stale side: .github/workflows/ci.yaml:4 triggers on every pull request and runs
helm lint,helm unittest,tests/render/run.shandtests/render/harness_test.sh. Update the Testing section so a reviewer does not skip checks that will in fact report.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.
Right, the description was the stale side. The Testing section is updated: CI runs on every PR.