Compare commits

..
3 Commits
Author SHA1 Message Date
StenandClaude Opus 4.8 fcf187e903 fix(forte-drop): drop apex SAN, use dnsZones in issuer selector
AI Code Review / ai-review (pull_request) Has been skipped
- Apex drop.forteapps.net already gets its own cert from the forteapp
  chart (forte-drop-tls); the SAN on the wildcard cert was redundant.
- cert-manager selector.dnsNames matches exact FQDNs (no wildcard
  expansion), so the enumerated list is replaced by
  dnsZones: [forteapps.net], covering apex + all subdomains.

Refs #22

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 09:24:22 +02:00
StenandClaude Opus 4.8 fcd8f99a52 feat(forte-drop): wildcard IngressRoute for per-slug drop subdomains
AI Code Review / ai-review (pull_request) Has been skipped
No forte-helm chart change needed after all. The forteapp chart emits one exact
Host(`drop.forteapps.net`) route (apex: admin + /api + public /shared). Add an
ADDITIVE standalone IngressRoute for the per-slug wildcard *.drop.forteapps.net,
pointing at the SAME chart service (forte-drop-app:3000 — whose targetPort is the
auth sidecar when auth is on), so forte drop subdomains flow through the sidecar and
are Forte-login gated exactly like the admin root.

priority:1 (LOW) is load-bearing: Traefik orders routers by rule-length by default,
and this regex is longer than Host(`mcp.drop.forteapps.net`) — without the explicit
low priority it would STEAL mcp.drop (and apex) traffic into the web pod. priority:1
guarantees the exact Host() routers (mcp release + chart apex) always win.

Traefik v3 (chart 28.x) HostRegexp = Go RE2; verify the rendered router against
mcp./www./app./apex/<real-slug> before prod. Uses the wildcard-drop-forteapps-net-tls
secret from the Certificate added in the same branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 09:53:10 +02:00
StenandClaude Opus 4.8 44ae8e0da6 feat(forte-drop): wildcard cert *.drop.forteapps.net for subdomain-per-drop
forte_drop is moving to per-slug subdomains: forte-login drops served at
<slug>.drop.forteapps.net (sidecar-gated), public/password drops at
drop.forteapps.net/shared/<slug>. That needs a wildcard TLS cert.

- letsencrypt-issuer.yaml: add '*.drop.forteapps.net' + 'drop.forteapps.net' to
  the dns01 azureDNS solver selector in BOTH issuers. The existing '*.forteapps.net'
  selector only matches single-label children, so it does NOT cover the two-label
  '*.drop.forteapps.net' — without this the wildcard challenge has no matching solver
  and issuance fails. SP already has zone-level rights on forteapps.net.
- new Certificate wildcard-drop-forteapps-net in the forte-drop namespace -> secret
  wildcard-drop-forteapps-net-tls (dnsNames *.drop + apex). Issued in-namespace so the
  app's Traefik IngressRoute can reference it directly (the secret-cloner can't help:
  generateExisting:false + forte-drop ns already exists). Added to the overlay
  kustomization so ArgoCD manages it (the Application is prune+selfHeal).

This is the SINGLE issuer of that secret. The forte-helm chart must reference it
verbatim and must NOT create its own Certificate into the same secret.

Depends on: DNS *.drop.forteapps.net resolving + ACME TXT in the flat forteapps.net
zone (no delegated drop. child zone). Do NOT merge until that's confirmed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 16:49:15 +02:00
68 changed files with 244 additions and 729 deletions
-1
View File
@@ -1 +0,0 @@
.* @Forte/k8s
+47
View File
@@ -0,0 +1,47 @@
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-4-20250514
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@v4
with:
submodules: true
fetch-depth: 0
token: ${{ secrets.AI_REVIEW_TOKEN }}
- name: Run inline review
uses: docker://nikitafilonov/ai-review:v0.64.0
with:
args: ai-review run-inline
- name: Run summary review
uses: docker://nikitafilonov/ai-review:v0.64.0
with:
args: ai-review run-summary
-20
View File
@@ -1,20 +0,0 @@
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
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
run: trufflehog git file://. --fail --no-update --results=verified,unknown
+3
View File
@@ -0,0 +1,3 @@
[submodule "shared-prompts"]
path = shared-prompts
url = https://git.forteapps.net/Forte/ai-review-prompts.git
+1 -1
View File
@@ -4,7 +4,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 5.0"
version = "~> 4.0"
}
}
}
@@ -4,7 +4,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 5.0"
version = "~> 4.0"
}
azuread = {
source = "hashicorp/azuread"
+1 -1
View File
@@ -4,7 +4,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 5.0"
version = "~> 4.0"
}
}
}
+1 -1
View File
@@ -4,7 +4,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 5.0"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 6.0"
version = "~> 5.0"
}
tls = {
source = "hashicorp/tls"
@@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 6.0"
version = "~> 5.0"
}
tls = {
source = "hashicorp/tls"
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 6.0"
version = "~> 5.0"
}
tls = {
source = "hashicorp/tls"
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 6.0"
version = "~> 5.0"
}
tls = {
source = "hashicorp/tls"
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 8.0"
version = "~> 6.0"
}
}
}
@@ -2,7 +2,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 8.0"
version = "~> 6.0"
}
}
}
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 8.0"
version = "~> 6.0"
}
}
}
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 8.0"
version = "~> 6.0"
}
}
}
+3
View File
@@ -15,6 +15,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: dot-ai-stack
app.kubernetes.io/part-of: apps
+2 -2
View File
@@ -1,8 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# - dot-ai-stack
- dot-ai-stack
- mcp10x
- musicman
- ts-mcp
# - argo-mcp
- argo-mcp
@@ -7,8 +7,7 @@ metadata:
namespace: mcp10x
spec:
encryptedData:
BENKEN_CLIENT_SECRET: AgBjps8BCn20C8upAaAdb1fG4Qh3eKBbTeFuuWhQb8WoIvHm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VFn9N2qWviojhC9s1NJ4MiCegvE6IsCLaHidY4UXeeGjUK6Mx6h4x3y/q7ZIrBIpUOJ+8I4Mgvi9sTCogeR+vWtpP9ZZ/31MXELuu/ho3Wn9Q==
template:
metadata:
creationTimestamp: null
@@ -1,63 +0,0 @@
# 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. It is deployed from the local Helm 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` |
| Values | `apps/overlays/upc-dev/ai-git-bot/values.yaml` |
| Secret | `ai-git-bot-secrets` (SealedSecret) |
| Webhook endpoint | `https://ai-git-bot.forteapps.net/api/webhook/<per-bot-secret>` |
## 1. Seal the secret
The plaintext template (random DB password and encryption key already generated) lives in
the gitignored `private/upc-dev/ai-git-bot-secrets.yaml`.
```bash
kubeseal --format=yaml --namespace=ai-git-bot \
< private/upc-dev/ai-git-bot-secrets.yaml \
> apps/overlays/upc-dev/ai-git-bot/ai-git-bot-secrets-sealed.yaml
```
Then uncomment `ai-git-bot-secrets-sealed.yaml` in `kustomization.yaml` and commit.
| Key | Purpose |
|---|---|
| `DATABASE_USERNAME` / `DATABASE_PASSWORD` | Used by both PostgreSQL (initdb) and the app |
| `APP_ENCRYPTION_KEY` | Encrypts AI API keys / Gitea tokens / SSH keys in the DB. Back it up; changing it makes stored credentials unreadable |
| `GITEABOT_SECURITY_OAUTH_CLIENT_ID` / `_SECRET` | Optional, only with `loginMethod: oauth` |
The DB password is only applied on the first PostgreSQL init. To rotate it later, change it
inside PostgreSQL (`ALTER USER`) as well as in the secret.
## 2. First login (do this right after the first sync)
`/setup` is public until the first admin account exists — whoever opens it first becomes
admin. Open https://ai-git-bot.forteapps.net immediately after the pod is ready (or use
`kubectl -n ai-git-bot port-forward svc/ai-git-bot 8080:8080`) and create the admin.
Then in the web UI:
1. **AI Integrations** → add Anthropic (API key + model).
2. **Git Integrations** → Gitea, URL `https://git.forteapps.net`, token of the bot user
(scopes `write:issue`, `write:repository`, `write:user`).
3. **Bots** → create a bot, set **Username** to the Gitea bot user, set a
**Webhook signing secret**, copy the webhook URL.
## 3. Gitea webhook
Repo or org **Settings → Webhooks → Add Webhook → Gitea**: target = the bot's webhook URL,
`POST`, `application/json`, secret = the bot's signing secret. Custom events: Pull Request,
Pull Request Comment, Pull Request Review Requested, Pull Request Assigned, Issue Comment,
and Issue Assigned + Issues if you use the coding agent. See upstream
[GITEA_SETUP.md](https://github.com/tmseidel/ai-git-bot/blob/main/doc/GITEA_SETUP.md).
## Optional: Keycloak login
Set `loginMethod: oauth` and `oauth.issuerUri: https://id.forteapps.net/realms/forte` in
`values.yaml`, add the client id/secret keys to the secret, and register
`https://ai-git-bot.forteapps.net/login/oauth2/code/giteabot` as redirect URI.
@@ -1,16 +0,0 @@
---
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: ai-git-bot-secrets
namespace: ai-git-bot
spec:
encryptedData:
APP_ENCRYPTION_KEY: AgA29XsXvNJ+urtr6e491V8O2ZGESdQ3+FjjdHXtDKRhcOZLT3vX/c703uiUdU+JvWHfvn6QZKubCnx13erZTp4/nDOl3cW8BjPTRh3xYIzxs+KGFqG/jB++XCvDfXVGn/JPEvoV9V/5Y0Lpa2MDT8fjoyxjqxfp9GFlovwwozEIqqYBMseRi4711cN/aCPuZBB/PDTaOwNqlU1rRkPbGCQjTj7PVuQrELCD0suAj1h90igv6+rA0sgaNCZ+zIQkjsUkWOxZ53GllMa3agTQG4I2JwQ1UBdDSDpMQRIMpVGhRP+dKGV2KRb8jvMOZHWn13uiSHQgIY8iSc00uAoNGsqlcMEffewNTIFn6isAbEYJT3wg4sXOccIFZ3Hxjywg9R6TE99VlKC914pFk1emSlATARfUQ1uMQNrnWfqjQUt82PA3JnOooj1yGgqUyEubJaNpxTZfVf8PuhAEgg0Eg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ERNAME: AgDDEm4NUF45BcVy2O6sAccGlIW69zMhrsRllCNu/Fx6UdC97Dof61phn/iVjmN8O0CLElIkKAOIEVaOT4rwW2NancAJ7bUjRZpdVnE7Lv5/6+i5cvFoLdwjLiNAAP2CHhPq18//NaB8b9QzJeAo83Md6DEm2TokEYBoi8u+gBC+T0PEBijUVmvsmYlJM9wcq4LrKnNxrfBgo+VpQClxnWtHvGCN//g8H8wS5WjY/n2wFI9dY+UBmU2+EbZ267OGdctFqCkZD+6jw4AMiUONm+yXG59LRZG5eX4vY2VL4xuhuiu84NSLlcLp7gWlK2L2i6LlFFhcKw2dX7HzfMwOQdoJjtBlVtxjQJWzqm2vpCMpNs3gIspWvcEliKDkKSlS/QubT/HGgNppxFNmAv5EEz1ToXLKqY+5LEgAmqiKhVDw1nVqO4t7FvKq5K9Elf5TeyqrGKI2h8qlKHfsUMKie8ek2zQhm54RHqD20GBFhZ9BAZhllNAdKKkf1px2KPPJW4RCH7NPzf8zcw+r4hOKxZYBvIJOPpYHxFnxMquhL8k2wNabjAhOSnI+CDigAGELEMmmmBZV/uOcXxvzxN8GmP957rl+Dj9eIBTWWH+eeRiGATqRQ0AYFfWixQK1B5zBGWJJPFhkU16uuD49K2iJp8u0wCk82IulikxMk9LbLU7qZwPUqa15jJbFAXoK0w7LucuJS6KHloRrPw==
template:
metadata:
name: ai-git-bot-secrets
namespace: ai-git-bot
type: Opaque
@@ -1,50 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ai-git-bot
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
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: ai-git-bot
targetRevision: HEAD
helm:
valueFiles:
- $values/ai-git-bot/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: ai-git-bot
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- Validate=true
- ServerSideApply=true
ignoreDifferences:
- group: apps
kind: StatefulSet
jsonPointers:
- /spec/volumeClaimTemplates
@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ai-git-bot.yaml
- ai-git-bot-secrets-sealed.yaml
@@ -77,12 +77,6 @@ spec:
mc rm --recursive --force --older-than 30d "obj/${S3_BUCKET}/_pgbackups/" || true
echo "backup retention pass complete"
env:
# mc writes its config under $MC_CONFIG_DIR; point it at the shared
# emptyDir (writable by uid 65532 via fsGroup). Without this it tries
# to mkdir /.mc on the read-only-to-nonroot root fs -> "mkdir /.mc:
# permission denied" and every run fails before uploading.
- name: MC_CONFIG_DIR
value: "/work/.mc"
- name: S3_ENDPOINT
valueFrom:
secretKeyRef: { name: forte-drop-secrets, key: S3_ENDPOINT }
@@ -0,0 +1,39 @@
# Wildcard routing for per-slug forte drops: <slug>.drop.forteapps.net -> the forte-drop
# web pod. The forteapp chart only emits a single exact Host(`drop.forteapps.net`) route
# (the apex: admin + /api + public /shared drops), so this ADDITIVE IngressRoute adds the
# wildcard. Kept in launchpad (forte-drop-specific) rather than the shared forteapp chart.
#
# It targets the SAME service the chart's route does — forte-drop-app:3000 — whose
# targetPort is the auth sidecar (service.yaml: targetPort = auth.sidecarPort when auth is
# on). So wildcard subdomains flow service:3000 -> sidecar -> app, i.e. they are Forte-login
# gated exactly like the admin root. A forteOnly drop is therefore never served un-gated.
#
# priority: 1 (intentionally LOW). Traefik orders routers by rule-length by default, and the
# regex string is longer than Host(`mcp.drop.forteapps.net`); without an explicit low
# priority this regex would OUTRANK and STEAL mcp.drop.forteapps.net (and the apex) into the
# web pod. priority:1 guarantees the exact Host() routers (mcp release, chart apex) always win;
# only real per-slug subdomains fall through to here. The app's reserved-slug check
# (mcp/www/api/admin/app) is a second line of defence.
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: forte-drop-subdomains
namespace: forte-drop
labels:
app.kubernetes.io/name: forte-drop
app.kubernetes.io/part-of: apps
app.kubernetes.io/managed-by: argocd
spec:
entryPoints:
- websecure
routes:
# Traefik v3 (chart 28.x) HostRegexp takes a Go RE2 pattern. Verify the rendered
# router against mcp./www./app./apex/<real-slug> before relying on it in prod.
- match: HostRegexp(`^[a-z0-9-]+\.drop\.forteapps\.net$`)
kind: Rule
priority: 1
services:
- name: forte-drop-app
port: 3000
tls:
secretName: wildcard-drop-forteapps-net-tls
@@ -1,3 +1,8 @@
# 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:
@@ -2,6 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- forte-drop.yaml
# - keycloak-client-forte-drop.yaml
- keycloak-client-forte-drop.yaml
- forte-drop-pdb.yaml
- forte-drop-secrets-sealed.yaml
- wildcard-drop-tls-certificate.yaml
- forte-drop-subdomains-ingressroute.yaml
@@ -0,0 +1,35 @@
---
# Wildcard TLS cert for the per-slug drop subdomains: <slug>.drop.forteapps.net.
# forte_drop serves forte-login drops on their own subdomain (gated by the auth
# sidecar), so each drop needs a valid cert for *.drop.forteapps.net — a name the
# existing *.forteapps.net wildcard CANNOT cover (TLS wildcards match one label only).
#
# Scope: this cert covers ONLY *.drop.forteapps.net. The apex drop.forteapps.net is
# NOT included here — it is served by the forteapp chart's own Certificate (secret
# forte-drop-tls, dnsNames: [drop.forteapps.net]) and/or the existing *.forteapps.net
# wildcard, so adding it here would be redundant.
#
# Issued DIRECTLY into the forte-drop namespace (not via the chart) so the app's
# Traefik IngressRoute — which must reference a TLS secret in its OWN namespace — can
# use it without cross-namespace cloning. This is the single issuer of secret
# wildcard-drop-forteapps-net-tls; the forte-drop-subdomains IngressRoute references
# that secret. The letsencrypt-prod dns01 solver is authorized for this name via its
# selector.dnsZones (forteapps.net).
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: wildcard-drop-forteapps-net
namespace: forte-drop
spec:
secretName: wildcard-drop-forteapps-net-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- '*.drop.forteapps.net' # per-slug forte drop subdomains
duration: 2160h0m0s # 90 days
renewBefore: 720h0m0s # renew 30 days before expiry
privateKey:
algorithm: RSA
encoding: PKCS1
size: 4096
-5
View File
@@ -5,14 +5,9 @@ resources:
- forte-drop-postgresql
- 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).
# forte-drop (postgres + web + mcp) and dbunk-demo are upc-dev-only apps — their
# 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.
-103
View File
@@ -1,103 +0,0 @@
# 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 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 |
|---|---|
| `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
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 &
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"
```
`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
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.
@@ -1,6 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- slack-relay.yaml
- slack-relay-secrets-sealed.yaml
@@ -1,19 +0,0 @@
---
# 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
@@ -1,16 +0,0 @@
---
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: AgDE1FgRLw7tQAJSa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1JMJ5+DX2Z2l5ApvqdpEVvepDtXJQ9aHVNR3Ww6fDWPVkFqC7YS18Ef3slLC0VUkRjcozKSEUccmO3r6ut5hKEKZEC8YIONpQBIgfv1bpPC+TzZ9daa/KYP8AztKMUkJcvsYLpGbqC4lPr8KTMNMdTwElafwsyyt3ZH2xWLzOTf3EPD/0+GskTleT5OkP9cL63bJU4K/PESznorHkegg+XOaPyCZbhWBN93KRIrUwSG1A8/PTZG6MvtJ4PzwznbsQyX/+kHIahBXRX3S+iFYPasvs2TWqNhsIBv+yU1l2aIturSV/RzMYbCFeweG3NcaPU14D1NaQVktp2OmNWdJNXQQ4776SuYCarH4xHQlFO4xIsZr1UHuceUsDedLhiPo6xfJNMZVV7FWgoDRF2W/IlcWeBGFe84QhotiWapWC5pd4ipSFfjtqRI0ZV4=
template:
metadata:
name: slack-relay-secrets
namespace: slack-relay
type: Opaque
@@ -1,46 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: slack-relay
namespace: argocd
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
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
+5 -26
View File
@@ -29,12 +29,7 @@ spec:
topologyKey: kubernetes.io/hostname
initContainers:
- name: gitea-dump
# 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
image: gitea/gitea:1.25.4
command:
- sh
- -c
@@ -54,41 +49,25 @@ spec:
mountPath: /tmp/gitea-dump
containers:
- name: upload
# 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
image: minio/mc:latest
env:
- name: HOME
value: /tmp
- name: RCLONE_CONFIG_S3_TYPE
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
- |
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}"
mc alias set s3 "${S3_ENDPOINT}" "${AWS_ACCESS_KEY_ID}" "${AWS_SECRET_ACCESS_KEY}"
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
KEY="gitea-dump-${TIMESTAMP}.zip"
echo "Uploading ${KEY}..."
rclone copyto /backup/gitea-dump.zip "s3:${S3_BUCKET}/${KEY}"
mc cp /backup/gitea-dump.zip "s3/${S3_BUCKET}/${KEY}" && \
echo "Upload complete."
# Prune backups older than 7 days
echo "Pruning backups older than 7 days..."
rclone delete --min-age 7d "s3:${S3_BUCKET}/" || true
mc rm --older-than 7d --force "s3/${S3_BUCKET}/" 2>&1 || true
echo "Pruning complete."
envFrom:
- secretRef:
@@ -225,8 +225,6 @@ 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
@@ -235,10 +233,6 @@ spec:
value: "{{ regex_replace_all('https?://[^/]*', request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-callback-path\", '') }}"
- name: AUTH_OIDC_SCOPES
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-scopes\" || 'openid,profile,email' }}"
- name: AUTH_OIDC_COOKIE_DOMAIN
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-cookie-domain\" || '' }}"
- name: AUTH_OIDC_ALLOWED_RETURN_HOSTS
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-allowed-return-hosts\" || '' }}"
- name: AUTH_PUBLIC_PATHS
value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-public-paths\" || '/healthz' }}"
- name: AUTH_OIDC_COOKIE_SECRET
+20 -20
View File
@@ -1,27 +1,27 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [
"kubectl@1.36.3",
"kubernetes-helm@4.2.4",
"k9s@0.51.0",
"kubeseal@0.38.4",
"argocd@3.4.6",
"kubecm@0.35.1",
"kubectl-tree@0.6.0",
"kind@0.32.0",
"kustomize@5.8.1",
"kyverno@1.19.0",
"syft@1.51.0",
"grype@0.118.0",
"traefik@3.7.10",
"claude-code@2.1.245",
"kubectl@1.33.2",
"kubernetes-helm@3.18.4",
"k9s@0.50.7",
"kubeseal@0.30.0",
"argocd@2.14.11",
"kubecm@0.33.1",
"kubectl-tree@0.4.3",
"kind@0.29.0",
"kustomize@5.7.0",
"kyverno@1.14.3",
"syft@1.29.0",
"grype@0.92.2",
"traefik@3.6.7",
"claude-code@latest",
"go@latest",
"dotnet-sdk@8.0.424",
"opentofu@1.12.5",
"_1password@2.30.0",
"github-cli@2.23.0",
"upcloud-cli@3.36.0",
"awscli2@2.35.11"
"dotnet-sdk@latest",
"opentofu@1.11.6",
"_1password@latest",
"github-cli@latest",
"upcloud-cli@3.29.0",
"awscli2@2.34.24"
],
"shell": {
"init_hook": [
-6
View File
@@ -1469,12 +1469,6 @@ ArgoCD will sync the Keycloak config, and the registrar CronJob will pick up the
| `k8s.secret.client-id-key` | No | `client-id` | Field name for the client ID in the K8s Secret |
| `k8s.secret.client-secret-key` | No | `client-secret` | Field name for the client secret in the K8s Secret |
#### Public CLI Client (Device-Code Login)
`forte-cli` is a shared **public** client (no secret) with the RFC 8628 device-authorization grant enabled (`oauth2.device.authorization.grant.enabled: "true"`, `standardFlowEnabled: false`, `directAccessGrantsEnabled: false`). Downloaded skills and CLI tools that log in through the Auth Sidecar (forte-drop first) use it with `<PREFIX>_CLIENT_ID=forte-cli`; nothing per-tool needs to be registered in Keycloak.
It must be defined in `forte-realm.json` (this legacy path): the self-service registrar hardcodes `publicClient: false` / `standardFlowEnabled: true` and drops `attributes`, so a `client-config` Secret cannot produce a public device-code client. It carries no `k8s.secret.sync` attribute (the registrar's secret sync skips it) and is listed in the cleanup CronJob's protected clients.
### Retrieving Secrets for External Deployments
The registrar always writes a **central copy** of every synced secret to the `secrets` namespace, in addition to the target namespace. This allows operators to retrieve client credentials for applications deployed outside this cluster:
+2 -2
View File
@@ -1326,7 +1326,7 @@ storage:
- Shared configuration and prompts live in the `shared-prompts` Git submodule (→ `Forte/ai-review-prompts`)
- Review mode: `ONLY_ADDED_WITH_CONTEXT` — reviews only new/changed lines plus surrounding context (token-efficient)
- Agent mode: disabled (one-shot review, no multi-turn reasoning)
- LLM: Claude Sonnet (`claude-3-opus`)
- LLM: Claude Sonnet (`claude-sonnet-4-20250514`)
**Shared Prompts Structure** (submodule: `Forte/ai-review-prompts`):
```
@@ -1344,7 +1344,7 @@ shared-prompts/
```yaml
llm:
provider: CLAUDE
model: claude-3-opus
model: claude-sonnet-4-20250514
vcs:
provider: GITEA
review:
-36
View File
@@ -1,36 +0,0 @@
# Domain Docs
How the engineering skills should consume this repo's domain documentation when exploring the codebase.
## Before exploring, read these
- **`CONTEXT.md`** at the repo root, or
- **`CONTEXT-MAP.md`** at the repo root if it exists — it points at one `CONTEXT.md` per context. Read each one relevant to the topic.
- **`docs/adr/`** — read ADRs that touch the area you're about to work in. In multi-context repos, also check `src/<context>/docs/adr/` for context-scoped decisions.
If any of these files don't exist, **proceed silently**. Don't flag their absence; don't suggest creating them upfront. The `/domain-modeling` skill (reached via `/grill-with-docs` and `/improve-codebase-architecture`) creates them lazily when terms or decisions actually get resolved.
## File structure
Single-context repo (most repos):
```
/
├── CONTEXT.md
├── docs/adr/
│ ├── 0001-event-sourced-orders.md
│ └── 0002-postgres-for-write-model.md
└── src/
```
## Use the glossary's vocabulary
When your output names a domain concept (in an issue title, a refactor proposal, a hypothesis, a test name), use the term as defined in `CONTEXT.md`. Don't drift to synonyms the glossary explicitly avoids.
If the concept you need isn't in the glossary yet, that's a signal — either you're inventing language the project doesn't use (reconsider) or there's a real gap (note it for `/domain-modeling`).
## Flag ADR conflicts
If your output contradicts an existing ADR, surface it explicitly rather than silently overriding:
> _Contradicts ADR-0007 (event-sourced orders) — but worth reopening because…_
-39
View File
@@ -1,39 +0,0 @@
# Issue tracker: Gitea
Issues for this repo live in Gitea at `git.forteapps.net/Forte/launchpad`. Use the Gitea API or `tea` CLI.
## Conventions
- **Create an issue**: `tea issue create --title "..." --description "..."`
or via API: `curl -X POST "https://git.forteapps.net/api/v1/repos/Forte/launchpad/issues" -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" -d '{"title":"...","body":"..."}'`
- **Read an issue**: `tea issue view <number>` or API `GET /api/v1/repos/Forte/launchpad/issues/<number>`
- **List issues**: `tea issue list` or API `GET /api/v1/repos/Forte/launchpad/issues?state=open`
- **Comment on an issue**: `tea issue comment <number> "..."` or API `POST /api/v1/repos/Forte/launchpad/issues/<number>/comments`
- **Apply labels**: API `POST /api/v1/repos/Forte/launchpad/issues/<number>/labels` with `{"labels": [<label_id>]}`
- **Close**: API `PATCH /api/v1/repos/Forte/launchpad/issues/<number>` with `{"state": "closed"}`
Infer the repo from `git remote -v`.
## Pull requests as a triage surface
**PRs as a request surface: no.**
## When a skill says "publish to the issue tracker"
Create a Gitea issue.
## When a skill says "fetch the relevant ticket"
Fetch the issue via API or `tea issue view <number>`.
## Wayfinding operations
Used by `/wayfinder`. The **map** is a single issue with **child** issues as tickets.
- **Map**: a single issue labelled `wayfinder:map`, holding the Destination / Notes / Decisions-so-far / Fog body.
- Create: `POST /api/v1/repos/Forte/launchpad/issues` with `{"title":"...","body":"...","labels":[<wayfinder:map label id>]}`
- **Child ticket**: an issue carrying `Part of #<map>` at the top of its body and a `wayfinder:<type>` label (`research`/`prototype`/`grilling`/`task`). Once claimed, the ticket is assigned to the driving dev.
- **Blocking**: Gitea does not have native issue dependencies. Fall back to a `Blocked by: #<n>, #<n>` line at the top of the child body. A ticket is unblocked when every issue it lists is closed.
- **Frontier query**: list the map's open children — `GET /api/v1/repos/Forte/launchpad/issues?state=open&labels=wayfinder:research,wayfinder:prototype,wayfinder:grilling,wayfinder:task` — then filter to those whose body starts with `Part of #<map>`. Drop any with an open issue in their `Blocked by` line, or with an assignee. First in map order wins.
- **Claim**: `PATCH /api/v1/repos/Forte/launchpad/issues/<n>` with `{"assignees":["<username>"]}` — the session's first write.
- **Resolve**: post the answer as a comment (`POST .../comments`), close the issue (`PATCH` with `{"state":"closed"}`), then append a context pointer (gist + link) to the map's Decisions-so-far by editing the map issue body.
-15
View File
@@ -1,15 +0,0 @@
# Triage Labels
The skills speak in terms of five canonical triage roles. This file maps those roles to the actual label strings used in this repo's issue tracker.
| Label in mattpocock/skills | Label in our tracker | Meaning |
| -------------------------- | -------------------- | ---------------------------------------- |
| `needs-triage` | `needs-triage` | Maintainer needs to evaluate this issue |
| `needs-info` | `needs-info` | Waiting on reporter for more information |
| `ready-for-agent` | `ready-for-agent` | Fully specified, ready for an AFK agent |
| `ready-for-human` | `ready-for-human` | Requires human implementation |
| `wontfix` | `wontfix` | Will not be actioned |
When a skill mentions a role (e.g. "apply the AFK-ready triage label"), use the corresponding label string from this table.
Edit the right-hand column to match whatever vocabulary you actually use.
@@ -17,40 +17,50 @@ spec:
source:
repoURL: https://charts.jetstack.io
chart: cert-manager
targetRevision: "v1.21.2"
targetRevision: "v1.14.0"
helm:
values: |
crds:
enabled: true
keep: true
# Install CustomResourceDefinitions
installCRDs: true
# Global configuration
global:
leaderElection:
namespace: cert-manager
logLevel: 2
# Webhook configuration
webhook:
replicaCount: 1
timeoutSeconds: 10
cainjector:
enabled: true
replicaCount: 1
resources: # controller only
timeoutSeconds: 10
# CA Injector
caInjector:
enabled: true
replicaCount: 1
# Security context
podSecurityPolicy:
enabled: false
# Resources
resources:
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
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://fluent.github.io/helm-charts
chart: fluent-bit
targetRevision: 0.58.3
targetRevision: 0.47.10
helm:
releaseName: fluent-bit
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://dl.gitea.com/charts
chart: actions
targetRevision: "0.1.2"
targetRevision: "0.0.5"
helm:
releaseName: gitea-actions
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://dl.gitea.com/charts
chart: gitea
targetRevision: "12.7.0"
targetRevision: "12.5.0"
helm:
releaseName: gitea
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://grafana.github.io/helm-charts
chart: grafana
targetRevision: "10.5.15"
targetRevision: "8.0.0"
helm:
releaseName: grafana
valueFiles:
+1 -1
View File
@@ -22,4 +22,4 @@ resources:
- karpor
- databunker
- homepage
# - vault
- vault
+1 -1
View File
@@ -36,7 +36,7 @@ spec:
source:
chart: kyverno
repoURL: https://kyverno.github.io/kyverno/
targetRevision: 3.9.1
targetRevision: v3.7.0 # Update to latest stable version
helm:
releaseName: kyverno
valuesObject:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://grafana.github.io/helm-charts
chart: loki
targetRevision: "7.3.0"
targetRevision: "6.0.0"
helm:
releaseName: loki
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://opencost.github.io/opencost-helm-chart
chart: opencost
targetRevision: "2.5.32"
targetRevision: "1.42.0"
helm:
releaseName: opencost
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://prometheus-community.github.io/helm-charts
chart: prometheus
targetRevision: "30.0.0"
targetRevision: "28.9.0"
helm:
releaseName: prometheus
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: ghcr.io/renovatebot/charts
chart: renovate
targetRevision: "46.318.0"
targetRevision: "46.109.0"
helm:
releaseName: renovate
valueFiles:
+2 -2
View File
@@ -16,8 +16,8 @@ spec:
source:
chart: sealed-secrets
repoURL: https://bitnami.github.io/sealed-secrets
targetRevision: 2.20.0
repoURL: https://bitnami-labs.github.io/sealed-secrets
targetRevision: 2.16.2 # Update to latest stable version
helm:
releaseName: sealed-secrets
parameters:
@@ -24,7 +24,7 @@ spec:
sources:
- repoURL: https://traefik.github.io/charts
chart: traefik
targetRevision: "42.0.0"
targetRevision: "28.0.0"
helm:
releaseName: traefik
valueFiles:
+1 -1
View File
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://helm.releases.hashicorp.com
chart: vault
targetRevision: "0.34.1"
targetRevision: "0.32.0"
helm:
releaseName: vault
valueFiles:
+1 -1
View File
@@ -21,7 +21,7 @@ resources:
- ../../base/sealedsecrets
- ../../base/tempo
- ../../base/traefik-application
# - ../../base/vault
- ../../base/vault
- vaultwarden-postgresql
- vaultwarden
- wildcard-tls-certificate.yaml
@@ -17,7 +17,7 @@ spec:
sources:
- repoURL: https://guerzon.github.io/vaultwarden
chart: vaultwarden
targetRevision: "0.46.3"
targetRevision: "0.36.4"
helm:
releaseName: vaultwarden
valueFiles:
@@ -41,9 +41,3 @@ spec:
- CreateNamespace=true
- Validate=true
- ServerSideApply=true
ignoreDifferences:
- group: apps
kind: StatefulSet
jsonPointers:
- /spec/volumeClaimTemplates
+1 -1
View File
@@ -31,7 +31,7 @@ gitea:
ENABLE_PASSWORD_SIGNIN_FORM: false
AUTO_WATCH_ON_CHANGES: false
AUTO_WATCH_NEW_REPOS: false
ENABLE_NOTIFY_MAIL: true
ENABLE_NOTIFY_MAIL: false
ENABLE_TIMETRACKING: false
openid:
+9 -43
View File
@@ -186,35 +186,6 @@ keycloakConfigCli:
}
}
]
},
{
"clientId": "forte-cli",
"name": "Forte CLI",
"description": "Shared public client for RFC 8628 device-code login from downloaded skills/CLI tools (forte-drop first) against services behind Auth Sidecar. No client secret.",
"enabled": true,
"protocol": "openid-connect",
"standardFlowEnabled": false,
"directAccessGrantsEnabled": false,
"publicClient": true,
"redirectUris": [],
"webOrigins": [],
"attributes": {
"oauth2.device.authorization.grant.enabled": "true"
},
"protocolMappers": [
{
"name": "audience-forte-drop-mcp",
"protocol": "openid-connect",
"protocolMapper": "oidc-audience-mapper",
"consentRequired": false,
"config": {
"included.custom.audience": "https://mcp.drop.forteapps.net/mcp",
"access.token.claim": "true",
"id.token.claim": "false",
"introspection.token.claim": "true"
}
}
]
}
],
"browserFlow": "browser-auto-idp",
@@ -319,7 +290,6 @@ extraDeploy:
namespace: keycloak
spec:
schedule: "*/2 * * * *"
timeZone: "Europe/Oslo"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 3
@@ -332,7 +302,7 @@ extraDeploy:
restartPolicy: Never
containers:
- name: registrar
image: alpine:3.24
image: alpine:3.20
command: [ "/bin/sh", "-c" ]
args:
- |
@@ -647,9 +617,7 @@ extraDeploy:
name: keycloak-client-cleanup
namespace: keycloak
spec:
schedule: "0 3 1 * *"
timeZone: "Europe/Oslo"
startingDeadlineSeconds: 3600
schedule: "0 3 * * 0"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 3
@@ -662,7 +630,7 @@ extraDeploy:
restartPolicy: Never
containers:
- name: cleanup
image: alpine:3.24
image: alpine:3.20
command: [ "/bin/sh", "-c" ]
args:
- |
@@ -674,7 +642,7 @@ extraDeploy:
ADMIN_USER="admin"
ADMIN_PASS=$(cat /secrets/admin-password)
DRY_RUN="${DRY_RUN:-true}"
MIN_AGE_DAYS="${MIN_AGE_DAYS:-14}"
MIN_AGE_DAYS="${MIN_AGE_DAYS:-7}"
if [ -z "$CLIENT_ID_PATTERN" ]; then
CLIENT_ID_PATTERN='^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
fi
@@ -700,24 +668,22 @@ extraDeploy:
MIN_AGE_SEC=$((MIN_AGE_DAYS * 86400))
# Hardcoded protected clients (never delete these)
PROTECTED_JSON='["gitea","grafana","argocd","forte-cli","vaultwarden","account","account-console","admin-cli","broker","realm-management","security-admin-console"]'
PROTECTED_JSON='["gitea","grafana","argocd","vaultwarden","account","account-console","admin-cli","broker","realm-management","security-admin-console"]'
echo "Fetching clients from realm '${REALM}'..."
CLIENTS=$(curl -sf -H "Authorization: Bearer ${TOKEN}" \
"${KEYCLOAK_URL}/admin/realms/${REALM}/clients")
CANDIDATES=$(echo "$CLIENTS" | jq -c --argjson protected "$PROTECTED_JSON" \
--argjson now "$NOW_SEC" --argjson min_age "$MIN_AGE_SEC" --arg pattern "$CLIENT_ID_PATTERN" '
CANDIDATES=$(echo "$CLIENTS" | jq -c --argjson protected "$PROTECTED_JSON" --argjson now "$NOW_SEC" --argjson min_age "$MIN_AGE_SEC" --arg pattern "$CLIENT_ID_PATTERN" '
[
.[]
| select(.clientId as $cid | $protected | index($cid) | not)
| select(.attributes["k8s.secret.sync"] != "true")
| select(.clientId | test($pattern; "i"))
| select(.attributes["client.secret.creation.time"] != null)
| select((.attributes["client.secret.creation.time"] | tonumber) < ($now - $min_age))
| select((.createdTimestamp // 0) / 1000 < ($now - $min_age))
]
')
COUNT=$(echo "$CANDIDATES" | jq 'length')
echo "Found ${COUNT} candidate client(s) matching pattern and age threshold"
@@ -762,7 +728,7 @@ extraDeploy:
- name: DRY_RUN
value: "false"
- name: MIN_AGE_DAYS
value: "60"
value: "7"
volumeMounts:
- name: keycloak-credentials
mountPath: /secrets
-9
View File
@@ -17,14 +17,7 @@ loki:
period: 24h
object_store: filesystem # we're storing on filesystem so there's no real persistence here.
schema: v13
compactor:
working_directory: /var/loki/compactor
retention_enabled: true
delete_request_store: filesystem
compaction_interval: 10m
retention_delete_delay: 2h
limits_config:
retention_period: 168h # 7 days
reject_old_samples: true
reject_old_samples_max_age: 168h
ingestion_rate_mb: 15
@@ -35,8 +28,6 @@ chunksCache:
resultsCache:
enabled: false
singleBinary:
persistence:
size: 20Gi
replicas: 1
resources:
requests:
+6 -9
View File
@@ -4,17 +4,14 @@ opencost:
extraEnv:
EMIT_KSM_V1_METRICS: "false"
EMIT_KSM_V1_METRICS_ONLY: "true"
prometheus:
internal:
enabled: true
serviceName: prometheus-server
namespaceName: monitoring
port: 80
# Cloud-specific pricing is in per-cluster value overrides
# (e.g. infra/values/upc-dev/opencost-values.yaml)
# NOTE: `prometheus` is a sibling of `exporter` under `opencost` in the
# chart's values schema - nesting it inside `exporter` silently falls back
# to the chart default namespace (prometheus-system).
prometheus:
internal:
enabled: true
serviceName: prometheus-server
namespaceName: monitoring
port: 80
ui:
enabled: false
service:
+2 -22
View File
@@ -4,12 +4,6 @@ server:
service:
servicePort: 80
strategy:
type: Recreate
retention: 7d
retentionSize: 6GB
resources:
requests:
cpu: 150m
@@ -24,7 +18,7 @@ server:
extraScrapeConfigs: |
- job_name: kyverno
scrape_interval: 60s
scrape_interval: 15s
metrics_path: /metrics
kubernetes_sd_configs:
- role: endpoints
@@ -41,16 +35,9 @@ extraScrapeConfigs: |
target_label: pod
- source_labels: [__meta_kubernetes_namespace]
target_label: namespace
metric_relabel_configs:
- source_labels: [__name__]
regex: 'kyverno_(http_requests_duration_seconds|controller_.+_duration_seconds|admission_review_duration_seconds)_bucket'
action: drop
- source_labels: [__name__]
regex: 'go_.*|process_.*'
action: drop
- job_name: traefik
scrape_interval: 60s
scrape_interval: 15s
metrics_path: /metrics
kubernetes_sd_configs:
- role: endpoints
@@ -67,13 +54,6 @@ extraScrapeConfigs: |
target_label: pod
- source_labels: [__meta_kubernetes_namespace]
target_label: namespace
metric_relabel_configs:
- source_labels: [__name__]
regex: 'traefik_(router|service|entrypoint)_request_duration_seconds_bucket'
action: drop
- source_labels: [__name__]
regex: 'go_.*|process_.*'
action: drop
alertmanager:
enabled: false
-5
View File
@@ -21,11 +21,6 @@ renovate:
"assignees": ["danijel.simeunovic"],
"reviewers": ["danijel.simeunovic"]
},
{
"matchRepositories": ["**/launchpad"],
"assignees": ["danijel.simeunovic"],
"reviewers": ["danijel.simeunovic"]
},
{
"matchRepositories": ["**/forte-helm"],
"assignees": ["danijel.simeunovic"],
@@ -1 +1,3 @@
image:
tag: "1.36.0-alpine"
domain: "https://vaultwarden.forteapps.net"
+4 -4
View File
@@ -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"
-74
View File
@@ -1,74 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"schedule": ["before 4am on monday"],
"extends": [
"config:recommended",
"group:allNonMajor",
":dependencyDashboard",
":semanticCommits"
],
"timezone": "Europe/Oslo",
"labels": ["renovate"],
"reviewers": ["danijel.simeunovic"],
"prConcurrentLimit": 10,
"prHourlyLimit": 4,
"minimumReleaseAge": "3 days",
"ignorePaths": [
"**/*-sealed.yaml",
"cluster-resources/policies/**",
"private/**",
".devbox/**"
],
"argocd": {
"description": "ArgoCD Applications live under infra/, apps/ and the root app-of-apps files. The manager skips any file without an argoproj.io apiVersion, so matching broadly is safe.",
"managerFilePatterns": [
"/^_app-of-apps-.+\\.yaml$/",
"/^apps/.+\\.yaml$/",
"/^infra/.+\\.yaml$/"
]
},
"helm-values": {
"description": "Values files are named <app>-values.yaml, not the default values.yaml.",
"managerFilePatterns": ["/^infra/values/.+\\.ya?ml$/"]
},
"kubernetes": {
"description": "Plain manifests with inline image references. Kyverno policies are excluded via ignorePaths - their images are Go templates, not tags.",
"managerFilePatterns": [
"/^cluster-resources/.+\\.yaml$/",
"/^apps/.+/resources/.+\\.yaml$/"
]
},
"packageRules": [
{
"description": "Every Application carries a second source pointing at this repo at HEAD for $values. HEAD is not a version.",
"matchDatasources": ["git-tags"],
"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/**"],
"matchUpdateTypes": ["major"],
"labels": ["renovate", "breaking-change"],
"minimumReleaseAge": "7 days"
},
{
"description": "Patch-level platform bumps are routine - let them through faster.",
"matchFileNames": ["infra/**"],
"matchUpdateTypes": ["patch"],
"minimumReleaseAge": "1 day"
}
]
}