From 82163991554ac88e65cc63147f95822a63e18b96 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Thu, 11 Jun 2026 10:14:25 +0200 Subject: [PATCH 1/3] trufflehog --- .gitea/workflows/scan.yaml | 18 ++++++++++++++++++ .../forte-drop/keycloak-client-forte-drop.yaml | 5 ----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 .gitea/workflows/scan.yaml diff --git a/.gitea/workflows/scan.yaml b/.gitea/workflows/scan.yaml new file mode 100644 index 0000000..d5593e2 --- /dev/null +++ b/.gitea/workflows/scan.yaml @@ -0,0 +1,18 @@ +on: + push: + branches: + - main + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Secret Scanning + uses: trufflesecurity/trufflehog@main + with: + extra_args: --results=verified,unknown \ No newline at end of file diff --git a/apps/overlays/upc-dev/forte-drop/keycloak-client-forte-drop.yaml b/apps/overlays/upc-dev/forte-drop/keycloak-client-forte-drop.yaml index 64906dd..92bfb6e 100644 --- a/apps/overlays/upc-dev/forte-drop/keycloak-client-forte-drop.yaml +++ b/apps/overlays/upc-dev/forte-drop/keycloak-client-forte-drop.yaml @@ -1,8 +1,3 @@ -# Labeled config Secret read by the Keycloak Client Registrar. Kyverno clones it -# to the keycloak namespace; a CronJob registers the OIDC client in the forte -# realm and writes the credentials back as forte-drop-oidc-credentials in THIS -# namespace (~2 min). The forte-helm auth sidecar (auth.type: oidc) consumes that -# registrar-created Secret automatically — no manual SealedSecret step needed. apiVersion: v1 kind: Secret metadata: From b0804e1e6ad97c9989b51a304e8c572f87f0e977 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Thu, 11 Jun 2026 10:34:11 +0200 Subject: [PATCH 2/3] scan --- .gitea/workflows/scan.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/scan.yaml b/.gitea/workflows/scan.yaml index d5593e2..d61fb78 100644 --- a/.gitea/workflows/scan.yaml +++ b/.gitea/workflows/scan.yaml @@ -12,7 +12,9 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Install TruffleHog + run: | + curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh \ + | sh -s -- -b /usr/local/bin - name: Secret Scanning - uses: trufflesecurity/trufflehog@main - with: - extra_args: --results=verified,unknown \ No newline at end of file + run: trufflehog git file://. --fail --no-update --results=verified,unknown \ No newline at end of file From 9297398d563762a73067fe7ee8a22857c47ad2f5 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Thu, 11 Jun 2026 13:03:59 +0200 Subject: [PATCH 3/3] gitea update --- infra/base/gitea/gitea.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base/gitea/gitea.yaml b/infra/base/gitea/gitea.yaml index cc4f60f..1db4e5a 100644 --- a/infra/base/gitea/gitea.yaml +++ b/infra/base/gitea/gitea.yaml @@ -17,7 +17,7 @@ spec: sources: - repoURL: https://dl.gitea.com/charts chart: gitea - targetRevision: "12.5.0" + targetRevision: "12.6.0" helm: releaseName: gitea valueFiles: