Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
misc: add verification check for secret operator
Sheen Capadngan8ffc88ba2853
diff --git a/.github/workflows/release-k8-operator-helm.yml b/.github/workflows/release-k8-operator-helm.ymlindex f3731fb46c..7a9d867dd7 100644--- a/.github/workflows/release-k8-operator-helm.yml+++ b/.github/workflows/release-k8-operator-helm.yml@@ -1,27 +1,59 @@name: Release K8 Operator Helm Charton:- workflow_dispatch:+ workflow_dispatch:jobs:- release-helm:- name: Release Helm Chart- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@v2-- - name: Install Helm- uses: azure/setup-helm@v3- with:- version: v3.10.0-- - name: Install python- uses: actions/setup-python@v4-- - name: Install Cloudsmith CLI- run: pip install --upgrade cloudsmith-cli-- - name: Build and push helm package to CloudSmith- run: cd helm-charts && sh upload-k8s-operator-cloudsmith.sh- env:- CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}+ test-helm:+ name: Test Helm Chart+ runs-on: ubuntu-latest+ steps:+ - name: Checkout+ uses: actions/checkout@v3+ with:+ fetch-depth: 0++ - name: Set up Helm+ uses: azure/[email protected]+ with:+ version: v3.17.0++ - uses: actions/[email protected]+ with:+ python-version: "3.x"+ check-latest: true++ - name: Set up chart-testing+ uses: helm/[email protected]++ - name: Run chart-testing (lint)+ run: ct lint --config ct.yaml --charts helm-charts/secrets-operator++ - name: Create kind cluster+ uses: helm/[email protected]++ - name: Run chart-testing (install)+ run: ct install --config ct.yaml --charts helm-charts/secrets-operator++ release-helm:+ name: Release Helm Chart+ needs: test-helm+ runs-on: ubuntu-latest+ steps:+ - name: Checkout+ uses: actions/checkout@v2++ - name: Install Helm+ uses: azure/setup-helm@v3+ with:+ version: v3.10.0++ - name: Install python+ uses: actions/setup-python@v4++ - name: Install Cloudsmith CLI+ run: pip install --upgrade cloudsmith-cli++ - name: Build and push helm package to CloudSmith+ run: cd helm-charts && sh upload-k8s-operator-cloudsmith.sh+ env:+ CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}diff --git a/.github/workflows/run-helm-chart-tests-secret-operator.yml b/.github/workflows/run-helm-chart-tests-secret-operator.ymlnew file mode 100644index 0000000000..15bb38956c--- /dev/null+++ b/.github/workflows/run-helm-chart-tests-secret-operator.yml@@ -0,0 +1,38 @@+name: Run Helm Chart Tests for Secret Operator+on:+ pull_request:+ paths:+ - "helm-charts/secrets-operator/**"+ - ".github/workflows/run-helm-chart-tests-secret-operator.yml"++jobs:+ test-helm:+ name: Test Helm Chart+ runs-on: ubuntu-latest+ steps:+ - name: Checkout+ uses: actions/checkout@v3+ with:+ fetch-depth: 0++ - name: Set up Helm+ uses: azure/[email protected]+ with:+ version: v3.17.0++ - uses: actions/[email protected]+ with:+ python-version: "3.x"+ check-latest: true++ - name: Set up chart-testing+ uses: helm/[email protected]++ - name: Run chart-testing (lint)+ run: ct lint --config ct.yaml --charts helm-charts/secrets-operator++ - name: Create kind cluster+ uses: helm/[email protected]++ - name: Run chart-testing (install)+ run: ct install --config ct.yaml --charts helm-charts/secrets-operatordiff --git a/ct.yaml b/ct.yamlnew file mode 100644index 0000000000..4c834ae03b--- /dev/null+++ b/ct.yaml@@ -0,0 +1,12 @@+# Chart testing configuration+chart-dirs:+ - helm-charts++# Test against these Kubernetes versions+kube-versions:+ - v1.30.0+ - v1.31.0+ - v1.32.0+ - v1.33.0++validate-maintainers: false