diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..7b56694 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,31 @@ +name: Test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Helm + uses: azure/setup-helm@v4.2.0 + id: install + with: + version: v3.14.4 + + - name: Setup kubeconform-helm + run: helm plugin install https://github.com/jtyr/kubeconform-helm + + - name: Test + run: helm kubeconform . + \ No newline at end of file diff --git a/.kubeconform b/.kubeconform new file mode 100644 index 0000000..7414e38 --- /dev/null +++ b/.kubeconform @@ -0,0 +1,7 @@ +schema-location: + - "default" + - "https://github.com/datreeio/CRDs-catalog/raw/main/monitoring.coreos.com/servicemonitor_v1.json" +output: "pretty" +verbose: true +strict: true +summary: true \ No newline at end of file