Skip to content

Commit

Permalink
Don't double-publish Helm charts, and use GHCR image as the default
Browse files Browse the repository at this point in the history
  • Loading branch information
andreev-io committed Jan 24, 2025
1 parent c9c6c66 commit 2ae7b3a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/kubenetmon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,4 @@ jobs:
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_GENERATE_RELEASE_NOTES: true
CR_SKIP_EXISTING: true
2 changes: 1 addition & 1 deletion deploy/helm/kubenetmon-agent/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image:
repository: local/kubenetmon
repository: ghcr.io/clickhouse/kubenetmon
pullPolicy: IfNotPresent
tag: ""

Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kubenetmon-server/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image:
repository: local/kubenetmon
repository: ghcr.io/clickhouse/kubenetmon
pullPolicy: IfNotPresent
tag: ""

Expand Down
2 changes: 2 additions & 0 deletions test/test-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ kubectl create namespace kubenetmon-server
kind load docker-image --name kind local/kubenetmon:1.0.0
helm template kubenetmon-server ./deploy/helm/kubenetmon-server \
-f ./deploy/helm/kubenetmon-server/values.yaml \
--set image.repository=local/kubenetmon \
--set image.tag=1.0.0 \
--set deployment.replicaCount=1 \
--set inserter.batchSize=10 \
Expand All @@ -57,6 +58,7 @@ kubectl create namespace kubenetmon-agent
kind load docker-image --name kind local/kubenetmon:1.0.0
helm template kubenetmon-agent ./deploy/helm/kubenetmon-agent \
-f ./deploy/helm/kubenetmon-agent/values.yaml \
--set image.repository=local/kubenetmon \
--set image.tag=1.0.0 \
--set configuration.collectionInterval=1s \
--set configuration.skipConntrackSanityCheck=true \
Expand Down

0 comments on commit 2ae7b3a

Please sign in to comment.