From 5b613feedbb237720c8ff96450ddea3618949c10 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Tue, 13 Oct 2026 14:30:47 +0000 Subject: [PATCH 01/15] Delete .gitea/workflows/ai-review.yaml --- .gitea/workflows/ai-review.yaml | 51 --------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .gitea/workflows/ai-review.yaml diff --git a/.gitea/workflows/ai-review.yaml b/.gitea/workflows/ai-review.yaml deleted file mode 100644 index bb03c3a..0000000 --- a/.gitea/workflows/ai-review.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: AI Code Review - -on: - pull_request: - types: [ labeled, synchronize ] - -jobs: - ai-review: - if: >- - (github.event.action == 'synchronized' && contains(toJSON(github.event.pull_request.labels), 'ai-review')) || contains(toJSON(gitea.event.changes.added_labels), 'ai-review') - runs-on: ubuntu-latest - - env: - AI_REVIEW_CONFIG_FILE_YAML: ./shared-prompts/iac/.ai-review.yaml - # VCS configuration - VCS__PROVIDER: GITEA - VCS__PIPELINE__OWNER: ${{ github.repository_owner }} - VCS__PIPELINE__REPO: ${{ github.event.repository.name }} - VCS__PIPELINE__PULL_NUMBER: ${{ github.event.pull_request.number }} - VCS__HTTP_CLIENT__API_URL: https://git.forteapps.net/api/v1 - VCS__HTTP_CLIENT__API_TOKEN: ${{ secrets.AI_REVIEW_TOKEN }} - # Review — disable fallback to see real Gitea API errors - REVIEW__INLINE_COMMENT_FALLBACK: "false" - # LLM configuration - LLM__PROVIDER: CLAUDE - LLM__META__MODEL: claude-sonnet-5-5 - LLM__META__REASONING__EFFORT: high - LLM__META__MAX_TOKENS: "4096" - LLM__HTTP_CLIENT__API_URL: https://api.anthropic.com - LLM__HTTP_CLIENT__API_TOKEN: ${{ secrets.ANTHROPIC_API_KEY }} - - steps: - - name: Checkout repository - uses: actions/checkout@v7 - with: - submodules: true - fetch-depth: 0 - token: ${{ secrets.AI_REVIEW_TOKEN }} - - - name: Update submodules to remote - run: git submodule update --remote --merge - - - name: Run inline review - uses: docker://nikitafilonov/ai-review:v1.4.0 - with: - args: ai-review run-inline - - - name: Run summary review - uses: docker://nikitafilonov/ai-review:v1.4.0 - with: - args: ai-review run-summary From 6ef9d4eed742a757b1fb6882023107b2542c0429 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Tue, 13 Oct 2026 17:08:30 +0000 Subject: [PATCH 02/15] Delete apps/charts/claude-impl.md --- apps/charts/claude-impl.md | 210 ------------------------------------- 1 file changed, 210 deletions(-) delete mode 100644 apps/charts/claude-impl.md diff --git a/apps/charts/claude-impl.md b/apps/charts/claude-impl.md deleted file mode 100644 index 439e261..0000000 --- a/apps/charts/claude-impl.md +++ /dev/null @@ -1,210 +0,0 @@ -❯ Plan and implement ai-git-bot based on the documentation https://github.com/tmseidel/ai-git-bot for Gitea. It should be hosted as a separate helm deployment on "upc-dev" overlay, with secrets ready to be sealed and added by me. I will also configure Gitea webhook myself afterwards. - - Ran 1 shell command - -● Fetch(https://github.com/tmseidel/ai-git-bot) -Received 463.7KB (200 OK) - - Read 1 file, ran 2 shell commands - -● Auto mode lets Claude handle permission prompts automatically — Claude checks each tool call for risky actions and prompt injection before executing. Actions Claude identifies as safe are executed, while actions Claude identifies as risky are blocked and Claude may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claude can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode. - -I've reviewed the ai-git-bot deployment docs — it's a Spring Boot app on :8080 needing Postgres and an APP_ENCRYPTION_KEY, with the rest configured how existing apps in this repo are wired(charts, ingress, TLS, secrets) to match the pattern. - - Searched for 1 pattern, listed 1 directory, ran 3 shell commands - -Got the conventions down: Argo multi-source apps, Traefik + cert-manager ingress, SealedSecrets, and plaintext -templates in gitignored private/upc-dev/. Chext, then writing the chart. - - Ran 2 shell commands - -No official Helm chart exists, just Docker C local chart for this repo — I'll also flagthat /setup is publicly accessible until the first admin is created. Writing the chart now. - - Ran 2 shell commands - -The shell heredoc tripped on quoting; I'll write the files directly instead. - -● Write(apps\charts\ai-git-bot\Chart.yaml) -Wrote 6 lines to apps\charts\ai-git-bot\C -apiVersion: v2 -name: ai-git-bot -description: AI-Git-Bot (https://github.com/tmseidel/ai-git-bot) - AI code review and coding agent for Gi -tea, with a bundled PostgreSQL -type: application -version: 0.1.0 -appVersion: "1.27.0" - -● Write(apps\charts\ai-git-bot\values.yaml) -Wrote 90 lines to apps\charts\ai-git-bot\ -# Default values for ai-git-bot. -# Everything except the database conn providers, Git -# integrations, bots, prompts) is configured in the web UI and stored in PostgreSQL. - -image: - repository: tmseidel/ai-git-bot - tag: "1.27.0" - pullPolicy: IfNotPresent - -# Existing Secret with the app credeno the app as an -… +80 lines - -● Write(apps\charts\ai-git-bot\templates\_helpers.tpl) -Wrote 33 lines to apps\charts\ai-git-bot\ -{{- define "ai-git-bot.fullname" -}} -{{- .Release.Name | trunc 63 | trimSuf -{{- end -}} - -{{- define "ai-git-bot.labels" -}} -helm.sh/chart: {{ printf "%s-%s" .Char -app.kubernetes.io/version: {{ .Values.image.tag | quote }} -app.kubernetes.io/managed-by: {{ .Rele -{{- end -}} -… +23 lines - -● Write(apps\charts\ai-git-bot\templates\deplo -Wrote 124 lines to apps\charts\ai-git-bot\templates\deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "ai-git-bot.fullname" . }} - labels: - {{- include "ai-git-bot.labels" . | nindent 4 }} - {{- include "ai-git-bot.selectorL -spec: - replicas: {{ .Values.replicaCount } - # Recreate: agent sessions run in-process and Flyway migrations must not race -… +116 lines - -● Write(apps\charts\ai-git-bot\templates\servi -Wrote 15 lines to apps\charts\ai-git-bot\templates\service.yaml -apiVersion: v1 -kind: Service -metadata: - name: {{ include "ai-git-bot.fullname" . }} - labels: - {{- include "ai-git-bot.labels" . | nindent 4 }} - {{- include "ai-git-bot.selectorL -spec: - type: {{ .Values.service.type }} - ports: -… +5 lines - -● Write(apps\charts\ai-git-bot\templates\ingre -Wrote 33 lines to apps\charts\ai-git-bot\templates\ingress.yaml -{{- if .Values.ingress.enabled }} -{{- if not .Values.ingress.host }} -{{- fail "ingress.host is required wh} -{{- end }} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ include "ai-git-bot.fullname" . }} - labels: - {{- include "ai-git-bot.labels" . | nindent 4 }} -… +23 lines - -● Write(apps\charts\ai-git-bot\templates\postg -Wrote 98 lines to apps\charts\ai-git-bot\templates\postgresql.yaml -{{- if .Values.postgresql.enabled }} -apiVersion: v1 -kind: Service -metadata: - name: {{ include "ai-git-bot.postgr - labels: - {{- include "ai-git-bot.labels" . - {{- include "ai-git-bot.postgresql.selectorLabels" . | nindent 4 }} - app.kubernetes.io/component: data -spec: -… +88 lines - -● Update(apps\charts\ai-git-bot\templates\depl -Added 2 lines, removed 2 lines - metadata: - labels: - {{- include "ai-git-bot.sele - {{- if .Values.prometheus.enabled }} - annotations: - {{- if .Values.prometheus.enabled }} - prometheus.io/scrape: "true" - prometheus.io/port: "8080" - prometheus.io/path: /actuato - {{- end }} - {{- end }} - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - -● Write(apps\overlays\upc-dev\ai-git-bot\ai-git-bot.yaml) -Wrote 48 lines to apps\overlays\upc-dev\a -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: ai-git-bot - namespace: argocd - annotations: - argocd.argoproj.io/sync-wave: "1" - labels: - app.kubernetes.io/name: ai-git-bot - app.kubernetes.io/part-of: apps -… +38 lines - -● Write(apps\overlays\upc-dev\ai-git-bot\values.yaml) -Wrote 21 lines to apps\overlays\upc-dev\a -# upc-dev values for apps/charts/ai-git-bot -# AI providers, the Gitea integrationre configured -# in the web UI after the first login; see apps/overlays/upc-dev/ai-git-bot/README.md. - -existingSecret: ai-git-bot-secrets - -ingress: - host: ai-git-bot.forteapps.net - annotations: - cert-manager.io/cluster-issuer: l -… +11 lines - -● Write(apps\overlays\upc-dev\ai-git-bot\kustomization.yaml) -Wrote 7 lines to apps\overlays\upc-dev\ai -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ai-git-bot.yaml -# Uncomment once the secret has been sealed (see README.md in this directory). -# Until then the pods wait in CreateCo -# - ai-git-bot-secrets-sealed.yaml - -Now the plaintext secret (in gitignored private/upc-dev/, with freshly generated random values) and the README. - - Searched for 1 pattern, ran 1 shell command - -"Development" group already exists. Now the README and wiring into the upc-dev overlay. - -● Write(apps\overlays\upc-dev\ai-git-bot\README.md) Wrote 63 lines to apps\overlays\upc-dev\a -# ai-git-bot (upc-dev) -[AI-Git-Bot](https://github.com/tmseidel/ai-git-bot) reviews Gitea pull requests and can implement issues as a coding agent. IHelm chart -`apps/charts/ai-git-bot` (app + bundled PostgreSQL 17) into the `ai-git-bot` namespace. -| | | |---|---| -| URL | https://ai-git-bot.forteapps.net | | Chart | `apps/charts/ai-git-bot` | -… +54 lines -● Update(apps\overlays\upc-dev\kustomization.yaml) Added 1 line -- forte-drop-postgresql - forte-drop -- forte-drop-mcp - ai-git-bot - # No patches needed — base apps alree paths -# (upc-dev is the default/base cluster). -● Update(apps\overlays\upc-dev\kustomization.yaml) Added 1 line -# forte-drop (postgres + web + mcp) and dbunk-demo are upc-dev-only apps — their # values hardcode upc-dev hosts (drot not sync to -# upc-prod, so they live here in the overlay rather than in apps/base/. # ai-git-bot is upc-dev-only as well-bot). - lidating: helm lint/template with the upc-uild of the overlay. - n 2 shell commands - -git-bot is set up as its own Helm deploymt file is ready for you to seal. helm lint,helm template and kubectl kustomize apps/overlays/upc-dev all pass. Nothing has been deployed to the cluster yet,thing is committed. - at I built -- The upstream project only provides Docker Compose, not a Helm chart, so I wrote a small chart at apps/charts/ai-git-bot/. It runs the app (:1.27.0) plus its own PostgreSQL 17 databasewith 5Gi storage, set so Argo won't delete the volume. It also includes the web address and TLS certificate, anhealth checks. The bot runs one pod, whichlapped on updates. Repo clones and agentbuilds use a 10Gi temporary volume. apps/overlays/upc-dev/ai-git-bot/ holds thattern as vaultwarden), the upc-dev settingsand a README with the setup steps. I added it to apps/overlays/upc-dev/kustomization.yaml. The address is https://ai-git-bot.forteapp homepage under "Development". This assumesthe *.forteapps.net DNS record covers the new name. -Secrets ivate/upc-dev/ai-git-bot-secrets.yaml is gASE_USERNAME, plus a freshly generatedDATABASE_PASSWORD and APP_ENCRYPTION_KEY. To seal it: beseal --format=yaml --namespace=ai-git-bo - < private/upc-dev/ai-git-bot-secrets.yaml \ > apps/overlays/upc-dev/ai-git-bot/ai-git- -Then uncomment the line for that file in apps/overlays/upc-dev/ai-git-bot/kustomization.yaml. If you push before is, the pods will just wait for the secretack up APP_ENCRYPTION_KEY (for example inVaultwarden): it encrypts the API keys and Gitea tokens stored in the database, and losing it makes them unreadab -Before you set up the webhook Create the admin account straight after this public until an admin exists, and whoeveropens it first becomes admin. You can open it through kubectl -n ai-git-bot port-forward svc/ai-git-bot 8080:80instead. -- Everything else is configured in the bot's web interface, not in Helm: the Anthropic key, the Gitea connection (https://git.forteapps.net and the bot useselves. Each bot gets a webhook URL likehttps://ai-git-bot.forteapps.net/api/webhook/. Set a webhook signing secret on the bot and enter the same value in Gitea. The README lists the Gitea -- The login is a username and password by default. Keycloak login (id.forteapps.net) is built in but off; turning it on is one setting plus two secret keys, de -- The image is several GB because it bundles build tools for the agent, so the first start will be slow. Metrics are - off; Prometheus would need a new scrape co - -✻ Brewed for 4m 34s · done 14:04 \ No newline at end of file From a68d804021955dde97aee36ef6986292dfa6dca6 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Tue, 13 Oct 2026 17:09:41 +0000 Subject: [PATCH 03/15] Update apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml --- apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml b/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml index e9d3ec3..e104189 100644 --- a/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml +++ b/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml @@ -5,6 +5,9 @@ metadata: namespace: argocd annotations: argocd.argoproj.io/sync-wave: "1" + notifications.argoproj.io/subscribe.on-sync-succeeded.slack: "" + notifications.argoproj.io/subscribe.on-sync-failed.slack: "" + notifications.argoproj.io/subscribe.on-degraded.slack: "" labels: app.kubernetes.io/name: ai-git-bot app.kubernetes.io/part-of: apps From 72640a93dce245099f2bac71991d4feaf3757882 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Wed, 14 Oct 2026 00:55:17 +0200 Subject: [PATCH 04/15] fix backups --- .../upc-dev/ai-git-bot/ai-git-bot.yaml | 2 +- cluster-resources/gitea-backup-cronjob.yaml | 26 +++++++++++++++---- renovate.json | 6 +++++ 3 files changed, 28 insertions(+), 6 deletions(-) diff --git a/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml b/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml index e104189..d327a20 100644 --- a/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml +++ b/apps/overlays/upc-dev/ai-git-bot/ai-git-bot.yaml @@ -7,7 +7,7 @@ metadata: argocd.argoproj.io/sync-wave: "1" notifications.argoproj.io/subscribe.on-sync-succeeded.slack: "" notifications.argoproj.io/subscribe.on-sync-failed.slack: "" - notifications.argoproj.io/subscribe.on-degraded.slack: "" + notifications.argoproj.io/subscribe.on-degraded.slack: "" labels: app.kubernetes.io/name: ai-git-bot app.kubernetes.io/part-of: apps diff --git a/cluster-resources/gitea-backup-cronjob.yaml b/cluster-resources/gitea-backup-cronjob.yaml index 4b817b2..477fd02 100644 --- a/cluster-resources/gitea-backup-cronjob.yaml +++ b/cluster-resources/gitea-backup-cronjob.yaml @@ -29,7 +29,12 @@ spec: topologyKey: kubernetes.io/hostname initContainers: - name: gitea-dump - image: gitea/gitea:28.0.0 + # MUST match the running server's Gitea version (chart gitea 12.7.0 -> + # appVersion 1.27.0, see infra/base/gitea/gitea.yaml). `gitea dump` reads + # the schema its own binary knows about, so a newer binary dumps tables + # the server has not migrated yet and dies on the first missing one. + # Bump this only together with the chart, never on its own. + image: gitea/gitea:1.27.0 command: - sh - -c @@ -49,25 +54,36 @@ spec: mountPath: /tmp/gitea-dump containers: - name: upload - image: minio/mc:latest + # Was minio/mc:latest until MinIO made the mc repository private - + # every tag now returns 401 on Docker Hub and quay.io, so the pod + # died in ImagePullBackOff. rclone is a public, pinned equivalent: + # `delete --min-age` replaces `mc rm --older-than`. + image: rclone/rclone:1.75.2 env: - name: HOME value: /tmp + - name: RCLONE_CONFIG_S3_TYPE + value: s3 + - name: RCLONE_CONFIG_S3_PROVIDER + value: Other command: - sh - -c - | - mc alias set s3 "${S3_ENDPOINT}" "${AWS_ACCESS_KEY_ID}" "${AWS_SECRET_ACCESS_KEY}" + set -e + export RCLONE_CONFIG_S3_ENDPOINT="${S3_ENDPOINT}" + export RCLONE_CONFIG_S3_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID}" + export RCLONE_CONFIG_S3_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY}" TIMESTAMP=$(date +%Y%m%d-%H%M%S) KEY="gitea-dump-${TIMESTAMP}.zip" echo "Uploading ${KEY}..." - mc cp /backup/gitea-dump.zip "s3/${S3_BUCKET}/${KEY}" && \ + rclone copyto /backup/gitea-dump.zip "s3:${S3_BUCKET}/${KEY}" echo "Upload complete." # Prune backups older than 7 days echo "Pruning backups older than 7 days..." - mc rm --older-than 7d --force "s3/${S3_BUCKET}/" 2>&1 || true + rclone delete --min-age 7d "s3:${S3_BUCKET}/" || true echo "Pruning complete." envFrom: - secretRef: diff --git a/renovate.json b/renovate.json index c651e15..06f36b1 100644 --- a/renovate.json +++ b/renovate.json @@ -50,6 +50,12 @@ "matchDepNames": ["/forteapps\\.net/"], "enabled": false }, + { + "description": "The gitea-dump image is not an independent dependency - it must stay on the exact version the Gitea chart deploys, or `gitea dump` fails against an older schema. Bump it by hand together with infra/base/gitea.", + "matchFileNames": ["cluster-resources/gitea-backup-cronjob.yaml"], + "matchPackageNames": ["gitea/gitea"], + "enabled": false + }, { "description": "Platform chart majors usually carry values-schema or CRD breaks - flag them for a careful read.", "matchFileNames": ["infra/**"], From c6909d99a7d3358154eca255811358c05326b41e Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Wed, 14 Oct 2026 01:02:34 +0200 Subject: [PATCH 05/15] upload s3 backup --- cluster-resources/gitea-backup-cronjob.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cluster-resources/gitea-backup-cronjob.yaml b/cluster-resources/gitea-backup-cronjob.yaml index 477fd02..85609c7 100644 --- a/cluster-resources/gitea-backup-cronjob.yaml +++ b/cluster-resources/gitea-backup-cronjob.yaml @@ -66,6 +66,11 @@ spec: value: s3 - name: RCLONE_CONFIG_S3_PROVIDER value: Other + # The backup credentials are scoped to this one bucket. rclone + # otherwise calls CreateBucket before its first write, which the + # policy denies with 403 AccessDenied. + - name: RCLONE_S3_NO_CHECK_BUCKET + value: "true" command: - sh - -c From 215d5fddbae0d6d79b09fba6058f4b88bff567b8 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Tue, 20 Oct 2026 23:03:05 +0200 Subject: [PATCH 06/15] slack-relay --- apps/overlays/upc-dev/kustomization.yaml | 3 + apps/overlays/upc-dev/slack-relay/README.md | 82 +++++++++++++++++++ .../upc-dev/slack-relay/kustomization.yaml | 5 ++ .../slack-relay-secrets-sealed.yaml | 16 ++++ .../upc-dev/slack-relay/slack-relay.yaml | 49 +++++++++++ 5 files changed, 155 insertions(+) create mode 100644 apps/overlays/upc-dev/slack-relay/README.md create mode 100644 apps/overlays/upc-dev/slack-relay/kustomization.yaml create mode 100644 apps/overlays/upc-dev/slack-relay/slack-relay-secrets-sealed.yaml create mode 100644 apps/overlays/upc-dev/slack-relay/slack-relay.yaml diff --git a/apps/overlays/upc-dev/kustomization.yaml b/apps/overlays/upc-dev/kustomization.yaml index 722a4d9..29c21d7 100644 --- a/apps/overlays/upc-dev/kustomization.yaml +++ b/apps/overlays/upc-dev/kustomization.yaml @@ -6,6 +6,7 @@ resources: - forte-drop - forte-drop-mcp - ai-git-bot +- slack-relay # No patches needed — base apps already default to "upc-dev" value paths # (upc-dev is the default/base cluster). @@ -13,3 +14,5 @@ resources: # values hardcode upc-dev hosts (drop.forteapps.net etc.) and must not sync to # upc-prod, so they live here in the overlay rather than in apps/base/. # ai-git-bot is upc-dev-only as well (chart in apps/charts/ai-git-bot). +# slack-relay serves ai-git-bot's outgoing webhooks and is scoped to this +# cluster for the same reason. diff --git a/apps/overlays/upc-dev/slack-relay/README.md b/apps/overlays/upc-dev/slack-relay/README.md new file mode 100644 index 0000000..36770d7 --- /dev/null +++ b/apps/overlays/upc-dev/slack-relay/README.md @@ -0,0 +1,82 @@ +# slack-relay (upc-dev) + +[slack-relay](https://git.forteapps.net/Forte/slack-relay) receives signed +outgoing webhooks from [ai-git-bot](../ai-git-bot/README.md) and posts them to +Slack as Block Kit messages. ai-git-bot has no templating of its own — it sends +a fixed `{schemaVersion, eventType, repository, data}` envelope — and Slack +wants `text`/`blocks`, so something has to translate between them. + +Deployed from the shared `forteapp` chart in `forte-helm`; there is no chart in +this repo. + +| | | +|---|---| +| Image | `git.forteapps.net/forte/slack-relay` | +| Chart | `forte-helm/forteapp` | +| Values | `helm-prod-values/slack-relay/values.yaml` | +| Secret | `slack-relay-secrets` (SealedSecret) | +| Endpoint | `http://slack-relay-app.slack-relay.svc.cluster.local:3000/hooks/ai-git-bot` | + +The service is ClusterIP-only — no ingress, no certificate, nothing exposed +outside the cluster. The HMAC signature is therefore the only authentication: +any pod can reach the endpoint, but only a caller holding +`AIGITBOT_WEBHOOK_SECRET` can make it post. + +## 1. Seal the secret + +The plaintext template lives in the gitignored +`private/upc-dev/slack-relay-secrets.yaml`, with `AIGITBOT_WEBHOOK_SECRET` +already generated. Paste the Slack incoming webhook URL into it, then: + +```bash +kubeseal --format=yaml --namespace=slack-relay \ + < private/upc-dev/slack-relay-secrets.yaml \ + > apps/overlays/upc-dev/slack-relay/slack-relay-secrets-sealed.yaml +``` + +Then uncomment `slack-relay-secrets-sealed.yaml` in `kustomization.yaml` and +commit. + +| Key | Purpose | +|---|---| +| `SLACK_WEBHOOK_URL` | Slack incoming webhook; fixed to one channel at install time | +| `AIGITBOT_WEBHOOK_SECRET` | Must match the endpoint secret configured in ai-git-bot | + +To post via a bot token instead (multi-channel routing, threading), swap +`SLACK_WEBHOOK_URL` for `SLACK_BOT_TOKEN` + `SLACK_CHANNEL` in the secret and +add `SLACK_MODE=bot` to `app.extraEnv` in the values file. + +## 2. Configure the ai-git-bot endpoint + +**System settings → Outgoing webhooks → add endpoint**: + +- URL: `http://slack-relay-app.slack-relay.svc.cluster.local:3000/hooks/ai-git-bot` +- Secret: the `AIGITBOT_WEBHOOK_SECRET` value +- Events: `prworkflow.completed`, `prworkflow.failed`, + `prworkflow.agentreview.finding.detected`, `issueassignment.completed`, + `issueassignment.failed` (skip the `*.started` events unless you want the noise) +- Scope: leave empty for all bots and repositories + +## 3. Verify + +```bash +kubectl -n slack-relay port-forward svc/slack-relay-app 3000:3000 +AIGITBOT_WEBHOOK_SECRET=... node scripts/send-test-event.js http://localhost:3000 +``` + +(`scripts/send-test-event.js` lives in the slack-relay repo.) A real check is +ai-git-bot's own delivery log, which shows the response code per delivery. + +## Reading the logs + +The relay logs one JSON line per delivery. The status it returns is a signal to +ai-git-bot's retry loop: `502` means "Slack was down, retry me", while a +permanent Slack rejection is answered with `200` and logged at error level, +because retrying it could never succeed. So `"msg":"slack rejected the message, +dropping it"` is the line to alert on — it means messages are being lost. + +## Image tag + +The values file currently pins `latest` with `pullPolicy: Always`. Once the +release workflow has produced a `vX.Y.Z` tag, switch to it: Renovate will then +keep the values file current and rollbacks become possible. diff --git a/apps/overlays/upc-dev/slack-relay/kustomization.yaml b/apps/overlays/upc-dev/slack-relay/kustomization.yaml new file mode 100644 index 0000000..c3d4ee1 --- /dev/null +++ b/apps/overlays/upc-dev/slack-relay/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- slack-relay.yaml +- slack-relay-secrets-sealed.yaml diff --git a/apps/overlays/upc-dev/slack-relay/slack-relay-secrets-sealed.yaml b/apps/overlays/upc-dev/slack-relay/slack-relay-secrets-sealed.yaml new file mode 100644 index 0000000..7222e91 --- /dev/null +++ b/apps/overlays/upc-dev/slack-relay/slack-relay-secrets-sealed.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + name: slack-relay-secrets + namespace: slack-relay +spec: + encryptedData: + AIGITBOT_WEBHOOK_SECRET: AgCbhbOmv08A/s6lBMlu4c7apKMyLv0anKrsh4d0tRvJknyGn2vD3jZ0sE8TnDhKzzCOUDgyUOkg8vCUxdPsuKC4sEtKp2Abeq098xM+CnYD41fUjlkks9dntNaKOmnsusApOZLvcSmKWSKWc9I5XEEc8csfo9p3X54VYiUAYentVJQWiUMpF33HR13WfrcrfeI/O1BC9d31fj9xxd2uSo8ZySIYc9Gqd7b1SmmLfw30VUlM+wzqyjpg5vPrKvtGFE8kH1lsgfspmAiLCWdma8N6MJjm8qno6+NxTNdvl4fViXUK6SSzYH0EAUwxPqtJdZFR/hu3YZMyzgWOSHtifLn0U/Vlsx1rSjqXzV8YBMZma3cfDGXMgu/yPhcebb8y3LWUJrN6PVycOXZ+kz9SbX/MWmHzIKp6W5OwasYaFy9vgxILyxS+Bf3iGr8MhnRW81rGb2h+990yeuWE4a6rsx4Wh5T5AUXkmGKEG5XKvRNutXFSLGU//QLuaje4tX9Z28IkKGyd7koU/ROPlHB52BkMpDtPipfVq7VvJAgv0G206WYCRujr4kYhHF1/UAeJrubP3JNUkDOqGuvNtPDKT2ZVHdehMdITlWtNFcy40pz47YBsi1BbY8NzHTC6LKqd4Q3Pf7DMh8T1m1O7eL755nY2D2H+XJoKu9e0F19gB6g02KaBZuq1GpOonAKCHSWOB5hFey58FTY1YEid1VIZ9cIIk8znSfsAzkxniNeu0gRxLbUH/461e2/DuMoix4/mgEcb2hFt2yWNEPEZg/c5r/3G + SLACK_BOT_TOKEN: AgDE1FgRLw7tQAJSaLav5JtrJJJRNGMv2KzTqf0HwUpnnROQGaNO31J4Zo95HV6Eons7bU6OJW+0eGhniLhflktrNttHFB6jv0mnA1mFgKGt17MYDFA1EbmKvOJqwwrOmDx695Y1IYyq4C22n7AhjdcErBfiK1m2Oajyyzej7mtpziRl9T0cJmWIMYEGpCFw7OoDBB2e/Ayh7WEbtsQuozwItAe+nbZuVC3XeYsdOaFC/TKj3MwYWvzvnOIv521e6le9+kXAraE4ckCpE9Tbc8dl4EvH+XiVy3VrBa1w6d90nrBGD9YMzrPvBtirBSccPBqx/h37AoCQSpYzQ36RHKzHDsBUzNvdFbZGSq4wCm6YIgHrBNegFnZzcLfxcdpxz7rVDZoqmUfXjtJinUZ7+rnVH0d2pJC/MmQtzZp88Ll+R7mZFNwVirkExLiw5kk2cS8zBFdwXphzjtgw5gzZfQ9pUIvzSaneUVhaMHiCi0G7n57yyU0huzRHrzkiwN2XoTp7lvJOHieT9bRRz44TIctvNnQX/6pSM6o9D1lOyNvOO74Ox+NbFMFpUY2la6o2EpyRbWtM9c6d0P9DwZJyXP9fqHN8Kyx486nd4Iv7ODHqP1qyK3H6XGGOaUXCxgoIJwl7Wigwt9UpaO2gqI2yE13Hd4gYacg4NjVqcNov+JJyj7pcq4wzOqRHFX7KRM4P8U61f1FGo2kSkbarlbRSvU0gHNHxUR0MOyhRgeSfAOR2nUvznxfLIq/xZ/lCT19DqWkHYKPIk5OVikg= + SLACK_CHANNEL: AgACFyi6/PuVbgLe1eEx+dQAluAilVgCg7fjl/nv8oQPGgEYJSUG+HbcgqwXCWeLs36pM98Y93PsPkrwCOzPnb8FWdWV0u9LZunDHP0fbmbDTsIVbycci/gv3Z3IRKNMbEhS0WVzYJSeC5v3OkIVyTzy9H6POS1lwQQKUxqw7Yg3e6ZFVrHzNI54L07h7IoNxL+qdT7ihU1bvZvqfpynRb5QrxUMxH5TrSwvhlYGLGvkVLfhJbiYJtoUwP9M+sIGAX54LoRpMBDTF6azK0Oo6d7R/nwJOJk3vJOQ1JMJ5+DX2Z2l5ApvqdpEVvepDtXJQ9aHVNR3Ww6fDWPVkFqC7YS18Ef3slLC0VUkRjcozKSEUccmO3r6ut5hKEKZEC8YIONpQBIgfv1bpPC+TzZ9daa/KYP8AztKMUkJcvsYLpGbqC4lPr8KTMNMdTwElafwsyyt3ZH2xWLzOTf3EPD/0+GskTleT5OkP9cL63bJU4K/PESznorHkegg+XOaPyCZbhWBN93KRIrUwSG1A8/PTZG6MvtJ4PzwznbsQyX/+kHIahBXRX3S+iFYPasvs2TWqNhsIBv+yU1l2aIturSV/RzMYbCFeweG3NcaPU14D1NaQVktp2OmNWdJNXQQ4776SuYCarH4xHQlFO4xIsZr1UHuceUsDedLhiPo6xfJNMZVV7FWgoDRF2W/IlcWeBGFe84QhotiWapWC5pd4ipSFfjtqRI0ZV4= + template: + metadata: + name: slack-relay-secrets + namespace: slack-relay + type: Opaque diff --git a/apps/overlays/upc-dev/slack-relay/slack-relay.yaml b/apps/overlays/upc-dev/slack-relay/slack-relay.yaml new file mode 100644 index 0000000..521a364 --- /dev/null +++ b/apps/overlays/upc-dev/slack-relay/slack-relay.yaml @@ -0,0 +1,49 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: slack-relay + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "1" + notifications.argoproj.io/subscribe.on-sync-succeeded.slack: "" + notifications.argoproj.io/subscribe.on-sync-failed.slack: "" + notifications.argoproj.io/subscribe.on-degraded.slack: "" + labels: + app.kubernetes.io/name: slack-relay + app.kubernetes.io/part-of: apps + app.kubernetes.io/managed-by: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + + sources: + - repoURL: ssh://git@git.forteapps.net:2222/Forte/forte-helm.git + path: forteapp + targetRevision: HEAD + helm: + valueFiles: + - $values/slack-relay/values.yaml + + - repoURL: ssh://git@git.forteapps.net:2222/Forte/helm-prod-values.git + targetRevision: HEAD + ref: values + + destination: + server: https://kubernetes.default.svc + namespace: slack-relay + + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false + syncOptions: + - CreateNamespace=true + - Validate=true + - ServerSideApply=true + retry: + limit: 5 + backoff: + duration: 5s + factor: 2 From 60dfba9f7b35c274d9a39d224d5e7415c2a68254 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Tue, 20 Oct 2026 23:13:47 +0200 Subject: [PATCH 07/15] slack relay namespace --- apps/overlays/upc-dev/slack-relay/README.md | 33 +++++++++++++++---- .../upc-dev/slack-relay/kustomization.yaml | 1 + .../upc-dev/slack-relay/namespace.yaml | 19 +++++++++++ 3 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 apps/overlays/upc-dev/slack-relay/namespace.yaml diff --git a/apps/overlays/upc-dev/slack-relay/README.md b/apps/overlays/upc-dev/slack-relay/README.md index 36770d7..8862d56 100644 --- a/apps/overlays/upc-dev/slack-relay/README.md +++ b/apps/overlays/upc-dev/slack-relay/README.md @@ -34,8 +34,12 @@ kubeseal --format=yaml --namespace=slack-relay \ > apps/overlays/upc-dev/slack-relay/slack-relay-secrets-sealed.yaml ``` -Then uncomment `slack-relay-secrets-sealed.yaml` in `kustomization.yaml` and -commit. +Then add `slack-relay-secrets-sealed.yaml` to `kustomization.yaml` and commit. + +`namespace.yaml` in this directory exists for ordering: the app-of-apps applies +the SealedSecret, so the namespace has to be created by the same sync rather +than by the child Application's chart (`namespace.create: false` in the values). +Without it the parent sync fails with `namespaces "slack-relay" not found`. | Key | Purpose | |---|---| @@ -59,13 +63,30 @@ add `SLACK_MODE=bot` to `app.extraEnv` in the values file. ## 3. Verify +Port-forward the service, then post a signed event. No Node needed — the +signature is an HMAC that `openssl` can compute: + ```bash -kubectl -n slack-relay port-forward svc/slack-relay-app 3000:3000 -AIGITBOT_WEBHOOK_SECRET=... node scripts/send-test-event.js http://localhost:3000 +kubectl -n slack-relay port-forward svc/slack-relay-app 3000:3000 & + +SECRET=$(kubectl -n slack-relay get secret slack-relay-secrets \ + -o jsonpath='{.data.AIGITBOT_WEBHOOK_SECRET}' | base64 -d) + +BODY='{"schemaVersion":1,"id":"smoke-1","eventType":"prworkflow.completed","timestamp":"2026-10-20T12:00:00Z","integration":{"botName":"review-bot","platform":"gitea"},"repository":{"owner":"Forte","name":"launchpad","pullRequest":42},"data":{"workflowKey":"review","status":"SUCCESS","durationMs":41230}}' + +curl -i -X POST http://localhost:3000/hooks/ai-git-bot \ + -H 'Content-Type: application/json' \ + -H "X-EventHook-Signature-256: sha256=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$SECRET" -r | cut -d' ' -f1)" \ + --data "$BODY" ``` -(`scripts/send-test-event.js` lives in the slack-relay repo.) A real check is -ai-git-bot's own delivery log, which shows the response code per delivery. +`200 {"status":"delivered"}` means the message reached Slack. Re-running with +the same `id` returns `{"status":"duplicate"}` — bump the id to send another. +The same request is in `scripts/send-test-event.js` in the slack-relay repo if +Node is available. + +The real check afterwards is ai-git-bot's own delivery log, which shows the +response code per delivery. ## Reading the logs diff --git a/apps/overlays/upc-dev/slack-relay/kustomization.yaml b/apps/overlays/upc-dev/slack-relay/kustomization.yaml index c3d4ee1..89a0bce 100644 --- a/apps/overlays/upc-dev/slack-relay/kustomization.yaml +++ b/apps/overlays/upc-dev/slack-relay/kustomization.yaml @@ -1,5 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: +- namespace.yaml - slack-relay.yaml - slack-relay-secrets-sealed.yaml diff --git a/apps/overlays/upc-dev/slack-relay/namespace.yaml b/apps/overlays/upc-dev/slack-relay/namespace.yaml new file mode 100644 index 0000000..d8ba8da --- /dev/null +++ b/apps/overlays/upc-dev/slack-relay/namespace.yaml @@ -0,0 +1,19 @@ +--- +# Owned by the app-of-apps rather than the forteapp chart (namespace.create is +# false in values) because the SealedSecret next to this file is applied by the +# same sync and needs the namespace to exist first. ArgoCD applies Namespace +# before other kinds, so one sync is enough. +# Labels mirror what the chart would have set. +apiVersion: v1 +kind: Namespace +metadata: + name: slack-relay + annotations: + argocd.argoproj.io/sync-wave: "-1" + labels: + app.kubernetes.io/name: slack-relay + app.kubernetes.io/part-of: apps + app.kubernetes.io/managed-by: argocd + pod-security.kubernetes.io/enforce: baseline + pod-security.kubernetes.io/audit: restricted + pod-security.kubernetes.io/warn: restricted From 0639a19a50784c733c2b0108bbde318495f74f80 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Tue, 20 Oct 2026 23:43:33 +0200 Subject: [PATCH 08/15] slack relay turn off gitops notifications --- apps/overlays/upc-dev/slack-relay/slack-relay.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/overlays/upc-dev/slack-relay/slack-relay.yaml b/apps/overlays/upc-dev/slack-relay/slack-relay.yaml index 521a364..a2f3ce9 100644 --- a/apps/overlays/upc-dev/slack-relay/slack-relay.yaml +++ b/apps/overlays/upc-dev/slack-relay/slack-relay.yaml @@ -5,9 +5,6 @@ metadata: namespace: argocd annotations: argocd.argoproj.io/sync-wave: "1" - notifications.argoproj.io/subscribe.on-sync-succeeded.slack: "" - notifications.argoproj.io/subscribe.on-sync-failed.slack: "" - notifications.argoproj.io/subscribe.on-degraded.slack: "" labels: app.kubernetes.io/name: slack-relay app.kubernetes.io/part-of: apps From 2d64dd68bc65f29d713d99e3ec399924672393e1 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Fri, 23 Oct 2026 11:54:30 +0000 Subject: [PATCH 09/15] chore(deps): update helm release traefik to v42 (#63) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | Pending | |---|---|---|---| | [traefik](https://traefik.io/) ([source](https://github.com/traefik/traefik-helm-chart)) | major | `41.6.1` → `42.0.0` | `42.1.3` (+3) | --- ### Release Notes
traefik/traefik-helm-chart (traefik) ### [`v42.0.0`](https://github.com/traefik/traefik-helm-chart/releases/tag/v42.0.0) [Compare Source](https://github.com/traefik/traefik-helm-chart/compare/v41.7.1...v42.0.0) There are 3 breaking changes in this release **Upgrade Notes** 1. **Kubernetes v1.30+**: The chart now requires Kubernetes v1.30 or higher ([#​2030](https://github.com/traefik/traefik-helm-chart/pull/2030)). 2. **Traefik Hub Secret RBAC**: Write verbs on Secrets (`create`, `update`, `delete`) are no longer granted cluster-wide. - A `Role` now grants them in the release namespace only, where Traefik Hub writes its Secrets ([#​2028](https://github.com/traefik/traefik-helm-chart/pull/2028)) 3. **Transparency logs witnesses**: ([#​2018](https://github.com/traefik/traefik-helm-chart/pull/2018)): - `hub.transparencyLogs.witnessGroup.witnesses` now defaults to `null` and `threshold` must be at least `1`. - Setting `threshold`, `timeout` or `failOpen` without any witness now fails. > \[!NOTE] > With `hub.token`, the chart now deploys a cluster-scoped `ValidatingAdmissionPolicy` that only allows Traefik Hub to write `Opaque` and `kubernetes.io/tls` Secrets. > Set `hub.restrictSecretTypes: false` if the installer cannot create cluster-scoped resources. #### :boom: BREAKING CHANGES - fix(tlogs)!: empty witness config [#​2018](https://github.com/traefik/traefik-helm-chart/issues/2018) by [@​LBF38](https://github.com/LBF38) - feat(chart)!: require Kubernetes v1.30 or higher [#​2030](https://github.com/traefik/traefik-helm-chart/issues/2030) by [@​mloiseleur](https://github.com/mloiseleur) - fix(rbac)!: 🐛 scope Traefik Hub secret write permissions to release namespace [#​2028](https://github.com/traefik/traefik-helm-chart/issues/2028) by [@​mloiseleur](https://github.com/mloiseleur) #### :rocket: Features - feat(hub): :rocket: support traefik hub v3.20.16 and v3.21.3 [#​2032](https://github.com/traefik/traefik-helm-chart/issues/2032) by [@​mloiseleur](https://github.com/mloiseleur) - feat(hub): restrict Secret types written by Traefik Hub [#​2031](https://github.com/traefik/traefik-helm-chart/issues/2031) by [@​mloiseleur](https://github.com/mloiseleur) #### :bug: Bug fixes - fix(examples): fix outdated value schema used in `additionalServices` example [#​2023](https://github.com/traefik/traefik-helm-chart/issues/2023) by [@​jnoordsij](https://github.com/jnoordsij) #### :package: Others - chore(deps): update github actions [#​2024](https://github.com/traefik/traefik-helm-chart/issues/2024) by [@​renovate-with-github-actions](https://github.com/renovate-with-github-actions)\[bot] - chore(deps): update quay.io/helmpack/chart-testing docker tag to v3.15.0 [#​2025](https://github.com/traefik/traefik-helm-chart/issues/2025) by [@​renovate-with-github-actions](https://github.com/renovate-with-github-actions)\[bot] - docs(agents): document Traefik Hub version bump [#​2033](https://github.com/traefik/traefik-helm-chart/issues/2033) by [@​mloiseleur](https://github.com/mloiseleur) - docs(examples): add Traefik Hub Gateway with the Traefik MCP server as a sidecar [#​2007](https://github.com/traefik/traefik-helm-chart/issues/2007) by [@​emilevauge](https://github.com/emilevauge) - chore(release): 🚀 publish 42.0.0 [#​2034](https://github.com/traefik/traefik-helm-chart/issues/2034) by [@​mloiseleur](https://github.com/mloiseleur) #### 👌 Traefik version support - Traefik Proxy: v3.6.0 -> v3.7.14 (default) - Traefik Hub: v3.19.3 -> v3.21.3 ### [`v41.7.1`](https://github.com/traefik/traefik-helm-chart/releases/tag/v41.7.1) [Compare Source](https://github.com/traefik/traefik-helm-chart/compare/v41.7.0...v41.7.1) #### :rocket: Features - feat(hub): :rocket: support traefik hub v3.20.15 and v3.21.2 [#​2021](https://github.com/traefik/traefik-helm-chart/issues/2021) by [@​darkweaver87](https://github.com/darkweaver87) #### :package: Others - chore(release): 🚀 publish 41.7.1 [#​2022](https://github.com/traefik/traefik-helm-chart/issues/2022) by [@​darkweaver87](https://github.com/darkweaver87) #### 👌 Traefik version support - Traefik Proxy: v3.6.0 -> v3.7.14 (default) - Traefik Hub: v3.19.3 -> v3.21.2 ### [`v41.7.0`](https://github.com/traefik/traefik-helm-chart/releases/tag/v41.7.0) [Compare Source](https://github.com/traefik/traefik-helm-chart/compare/v41.6.1...v41.7.0) #### :rocket: Features - feat(deps): update traefik to v3.7.14 and traefik-hub to v3.21.1 [#​2015](https://github.com/traefik/traefik-helm-chart/issues/2015) by [@​darkweaver87](https://github.com/darkweaver87) - feat(deps): update ghcr.io/traefik/hub-manager docker tag to v0.45.3 [#​2006](https://github.com/traefik/traefik-helm-chart/issues/2006) by [@​renovate-with-github-actions](https://github.com/renovate-with-github-actions)\[bot] - feat(gateway): support scoping the provider to specific Gateways [#​2016](https://github.com/traefik/traefik-helm-chart/issues/2016) by [@​darkweaver87](https://github.com/darkweaver87) #### :package: Others - chore(deps): update github actions [#​2013](https://github.com/traefik/traefik-helm-chart/issues/2013) by [@​renovate-with-github-actions](https://github.com/renovate-with-github-actions)\[bot] - chore(deps): update dawidd6/action-download-artifact action to v27 [#​2014](https://github.com/traefik/traefik-helm-chart/issues/2014) by [@​renovate-with-github-actions](https://github.com/renovate-with-github-actions)\[bot] - chore(release): 🚀 publish 41.7.0 and hub-manager 1.0.1 [#​2019](https://github.com/traefik/traefik-helm-chart/issues/2019) by [@​darkweaver87](https://github.com/darkweaver87) #### 👌 Traefik version support - Traefik Proxy: v3.6.0 -> v3.7.14 (default) - Traefik Hub: v3.19.3 -> v3.21.1
--- ### Configuration 📅 **Schedule**: (in timezone Europe/Oslo) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). --------- Co-authored-by: Renovate Bot Reviewed-on: https://git.forteapps.net/Forte/launchpad/pulls/63 Reviewed-by: Danijel Simeunovic Co-authored-by: gitea_admin --- infra/base/traefik-application/traefik-application.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base/traefik-application/traefik-application.yaml b/infra/base/traefik-application/traefik-application.yaml index 4c1ec21..6539d8e 100644 --- a/infra/base/traefik-application/traefik-application.yaml +++ b/infra/base/traefik-application/traefik-application.yaml @@ -24,7 +24,7 @@ spec: sources: - repoURL: https://traefik.github.io/charts chart: traefik - targetRevision: "41.6.1" + targetRevision: "42.0.0" helm: releaseName: traefik valueFiles: From 4cca2a5dc0d754fe5e318f6514abda188ae90d4c Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Thu, 29 Oct 2026 08:20:05 +0000 Subject: [PATCH 10/15] remove hardcoded image tag --- infra/values/base/vaultwarden-values.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/infra/values/base/vaultwarden-values.yaml b/infra/values/base/vaultwarden-values.yaml index d7bbc71..faaa116 100644 --- a/infra/values/base/vaultwarden-values.yaml +++ b/infra/values/base/vaultwarden-values.yaml @@ -1,3 +1 @@ -image: - tag: "1.36.0-alpine" domain: "https://vaultwarden.forteapps.net" From c7f7dbf137583e4cec74b698d5b032573cef4c06 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Fri, 6 Nov 2026 17:55:10 +0000 Subject: [PATCH 11/15] Update renovate.json --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 06f36b1..a2a7c71 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "schedule": ["before 4am on monday"], "extends": [ "config:recommended", "group:allNonMajor", From 0083e8c329afebff6bf559e08d81d1b2182d9e20 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Fri, 6 Nov 2026 17:59:24 +0000 Subject: [PATCH 12/15] Update infra/values/upc-dev/traefik-values.yaml --- infra/values/upc-dev/traefik-values.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infra/values/upc-dev/traefik-values.yaml b/infra/values/upc-dev/traefik-values.yaml index 738cb39..577ff6a 100644 --- a/infra/values/upc-dev/traefik-values.yaml +++ b/infra/values/upc-dev/traefik-values.yaml @@ -37,11 +37,11 @@ service: ports: web: proxyProtocol: - trustedIPs: "172.16.1.0/24" + trustedIPs: ["172.16.1.0/24"] forwardedHeaders: - trustedIPs: "172.16.1.0/24" + trustedIPs: ["172.16.1.0/24"] websecure: proxyProtocol: - trustedIPs: "172.16.1.0/24" + trustedIPs: ["172.16.1.0/24"] forwardedHeaders: - trustedIPs: "172.16.1.0/24" + trustedIPs: ["172.16.1.0/24"] From ed108ada64f2d7909d284671d2a54fc2e0af0298 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Fri, 6 Nov 2026 18:08:10 +0000 Subject: [PATCH 13/15] Update infra/base/cert-manager-application/cert-manager-application.yaml --- .../cert-manager-application.yaml | 36 +++++++------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/infra/base/cert-manager-application/cert-manager-application.yaml b/infra/base/cert-manager-application/cert-manager-application.yaml index bd3be42..4cda143 100644 --- a/infra/base/cert-manager-application/cert-manager-application.yaml +++ b/infra/base/cert-manager-application/cert-manager-application.yaml @@ -21,46 +21,36 @@ spec: helm: values: | - # Install CustomResourceDefinitions - installCRDs: true - - # Global configuration + + crds: + enabled: true + keep: true + global: leaderElection: namespace: cert-manager - - # Webhook configuration + logLevel: 2 + webhook: - enabled: true replicaCount: 1 timeoutSeconds: 10 - - # CA Injector - caInjector: + + cainjector: enabled: true replicaCount: 1 - - # Security context - podSecurityPolicy: - enabled: false - - # Resources - resources: + + resources: # controller only requests: cpu: 50m memory: 128Mi limits: cpu: 100m memory: 256Mi - - # Service account + serviceAccount: create: true name: cert-manager - - # Enable debug logging if needed (set to false for production) - logLevel: 2 - + destination: server: https://kubernetes.default.svc namespace: cert-manager From 2c6009bf3f3c8a02eaa76578f2339e521a82b32e Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Mon, 9 Nov 2026 09:58:32 +0100 Subject: [PATCH 14/15] par --- cluster-resources/policies/auth-sidecar-injector.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster-resources/policies/auth-sidecar-injector.yaml b/cluster-resources/policies/auth-sidecar-injector.yaml index 90d2205..c7940b1 100644 --- a/cluster-resources/policies/auth-sidecar-injector.yaml +++ b/cluster-resources/policies/auth-sidecar-injector.yaml @@ -225,6 +225,8 @@ spec: value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-upstream-url\" || join('', ['http://localhost:', to_string(appPort)]) }}" - name: AUTH_OIDC_AUTHORITY value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-authority\" }}" + - name: AUTH_OIDC_PAR_ENABLED + value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-par\" }}" - name: AUTH_OIDC_CLIENT_ID value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-client-id\" }}" - name: AUTH_OIDC_CALLBACK_URL From 17e2c85b8df6b0c818df8397338b47b028f7c964 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Mon, 9 Nov 2026 10:43:54 +0000 Subject: [PATCH 15/15] Delete .gitmodules --- .gitmodules | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index b45d0db..0000000 --- a/.gitmodules +++ /dev/null @@ -1,5 +0,0 @@ -[submodule "shared-prompts"] - path = shared-prompts - url = https://git.forteapps.net/Forte/ai-review-prompts.git - branch = main -