-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ❇️ initial support for namespace allowlist * 🔒 initial namespace allowlist implementation * ❇️ helm support for env var config options * 🔥 disable version bump check * ♻️ another way to disable version bump check * ♻️ chart linting syntax * tests for library namespace filter * Hardcode the test setting
- Loading branch information
Showing
15 changed files
with
228 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -29,14 +29,15 @@ jobs: | |
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --chart-dirs chart --target-branch ${{ github.event.repository.default_branch }} | ||
run: | | ||
ct lint --charts chart/kronic --target-branch ${{ github.event.repository.default_branch }} | ||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (install) | ||
run: | | ||
ct install --chart-dirs chart \ | ||
ct install --charts chart/kronic \ | ||
--helm-extra-args '--timeout 60s' \ | ||
--target-branch ${{ github.event.repository.default_branch }} | ||
|
This file contains 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM python:3.11-alpine as deps | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
RUN apk add --no-cache curl | ||
|
||
|
This file contains 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 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 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 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 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 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,7 @@ | ||
import os | ||
|
||
## Configuration | ||
# Comma separated list of namespaces to allow access to | ||
ALLOW_NAMESPACES = os.environ.get("KRONIC_ALLOW_NAMESPACES", None) | ||
# Boolean of whether this is a test environment, disables kubeconfig setup | ||
TEST = os.environ.get("KRONIC_TEST", False) |
This file contains 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.