Skip to content
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

feat: allow to customize the blocked labels #152

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

greut
Copy link
Contributor

@greut greut commented Nov 12, 2024

See #150.

In short, recent ArgoCD Helm charts are not using app.kubernetes.io/instance but something else, which can be changed. This opens the door to tweaking the values via the chart.

@greut greut mentioned this pull request Nov 12, 2024
src/os_utils.py Outdated Show resolved Hide resolved
@greut greut requested a review from harmathy November 15, 2024 08:41
@greut
Copy link
Contributor Author

greut commented Nov 18, 2024

% ct lint --target-branch master
Linting charts...

------------------------------------------------------------------------------------------------------------------------
 Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
 cluster-secret => (version: "0.5.0", path: "charts/cluster-secret")
------------------------------------------------------------------------------------------------------------------------

Linting chart "cluster-secret => (version: \"0.5.0\", path: \"charts/cluster-secret\")"
Checking chart "cluster-secret => (version: \"0.5.0\", path: \"charts/cluster-secret\")" for a version bump...
Old chart version: 0.4.4
New chart version: 0.5.0
Chart version ok.
Validating /Users/yo6568/soft/ClusterSecret/charts/cluster-secret/Chart.yaml...
Validation success! 👍
Validating maintainers...
==> Linting charts/cluster-secret

1 chart(s) linted, 0 chart(s) failed

------------------------------------------------------------------------------------------------------------------------
 ✔︎ cluster-secret => (version: "0.5.0", path: "charts/cluster-secret")
------------------------------------------------------------------------------------------------------------------------
All charts linted successfully

% python3 conformance/tests.py
Checking pod cluster-secret-clustersecret-c6c8b8698-5pbm5...
Event: Successfully assigned cluster-secret/cluster-secret-clustersecret-c6c8b8698-5pbm5 to colima
Event: Container image "cluster-secret:foo" already present on machine
Event: Created container clustersecret
Event: Started container clustersecret
Pod cluster-secret-clustersecret-c6c8b8698-5pbm5 is ready!
Namespace 'example-1' created successfully.
Namespace 'example-2' created successfully.
Namespace 'example-3' created successfully.
~/ClusterSecret/venv/lib/python3.13/site-packages/kubernetes/client/rest.py:44: DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.
  return self.urllib3_response.getheaders()
.........
----------------------------------------------------------------------
Ran 9 tests in 55.681s

OK

@greut greut requested a review from harmathy November 18, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants