From 40c8b1bbc0219a78471dd329360c1d0b0693a3c6 Mon Sep 17 00:00:00 2001 From: Priya Date: Wed, 22 Jan 2025 12:55:46 +0530 Subject: [PATCH] updated kubearmor changes --- .github/workflows/push-image.yaml | 46 ------------------------------- kspm-runtime/Chart.yaml | 2 +- kspm-runtime/values.yaml | 3 +- 3 files changed, 3 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/push-image.yaml diff --git a/.github/workflows/push-image.yaml b/.github/workflows/push-image.yaml deleted file mode 100644 index e740c5b..0000000 --- a/.github/workflows/push-image.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: build accuknox-job image workflow - -on: - push: - tags: - - '*' - branches: - - "main" - -jobs: - push_to_registry: - name: Push Docker image to Docker Hub - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_HUB_USER }} - password: ${{ secrets.DOCKER_HUB_PASSWORD }} - - - name: Determine version - id: vars - run: | - if [ ${{ github.ref }} == "refs/heads/main" ]; then - echo "tag=latest" >> $GITHUB_OUTPUT - else - echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - fi - - - name: Set git ssh private key - run: echo "${{ secrets.GIT_KEY }}" > GIT-KEY - - - name: Build and push Docker image - uses: docker/build-push-action@v6 - with: - # equivalent of make docker-build - context: . - file: Dockerfile - push: true - tags: accuknox/accuknox-job:${{ steps.vars.outputs.tag }} diff --git a/kspm-runtime/Chart.yaml b/kspm-runtime/Chart.yaml index dd5b755..92b1c37 100644 --- a/kspm-runtime/Chart.yaml +++ b/kspm-runtime/Chart.yaml @@ -12,7 +12,7 @@ dependencies: version: v0.8.4 repository: oci://registry-1.docker.io/accuknox condition: accuknox-agents.enabled - - name: kubearmor + - name: kubearmor-operator version: v1.4.6 repository: https://kubearmor.github.io/charts condition: kubearmor.enabled diff --git a/kspm-runtime/values.yaml b/kspm-runtime/values.yaml index bdf1516..e1f2e49 100644 --- a/kspm-runtime/values.yaml +++ b/kspm-runtime/values.yaml @@ -22,7 +22,7 @@ accuknox-agents: localRegistryAgent: false # Values specific to accuknox-jobs sub-chart -accuknoxJobs: +accuknox-jobs: cis: enabled: false toolConfig: @@ -40,6 +40,7 @@ accuknoxJobs: # Values specific to KubeArmorOperator sub-chart kubearmor: enabled: false + autoDeploy: false # Values specific to knoxguard and kyverno sub-charts admissionController: