Skip to content

Commit 560380d

Browse files
committed
fix: introduce proper ct.yaml config file
Signed-off-by: oujonny <jonny@immerda.ch>
1 parent b2cd71c commit 560380d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/helm-testing.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
- name: Run chart-testing (lint)
4646
if: steps.list-changed.outputs.changed == 'true'
4747
run: |
48-
echo "validate-maintainers: false" > ct.yaml
49-
ct lint --target-branch ${{ github.event.repository.default_branch }} --config ct.yaml
48+
ct lint --target-branch ${{ github.event.repository.default_branch }} --config charts/kube-ovn-v2/ct.yaml
5049
5150
- name: Install kind
5251
uses: helm/kind-action@v1.13.0
@@ -65,7 +64,7 @@ jobs:
6564
id: install
6665
run: |
6766
kubectl label node --overwrite -l node-role.kubernetes.io/control-plane kube-ovn/role=master
68-
ct install --target-branch ${{ github.event.repository.default_branch }}
67+
ct install --target-branch ${{ github.event.repository.default_branch }} --config charts/kube-ovn-v2/ct.yaml
6968
7069
- name: Check kube ovn pod restarts
7170
if: ${{ success() || (failure() && steps.install.conclusion == 'failure') }}

charts/kube-ovn-v2/.helmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.ct.yaml

charts/kube-ovn-v2/ct.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
validate-maintainers: false
2+
namespace: kube-system
3+
release-label: app.kubernetes.io/instance
4+
skip-clean-up: true

0 commit comments

Comments
 (0)