This commit is contained in:
@@ -95,6 +95,7 @@ This repository contains the complete GitOps configuration for our Kubernetes cl
|
|||||||
│ ├── fluent-bit.yaml
|
│ ├── fluent-bit.yaml
|
||||||
│ ├── trivy.yaml
|
│ ├── trivy.yaml
|
||||||
│ ├── sealedsecrets.yaml
|
│ ├── sealedsecrets.yaml
|
||||||
|
│ ├── renovate.yaml
|
||||||
│ └── values/ # Helm value overrides
|
│ └── values/ # Helm value overrides
|
||||||
│
|
│
|
||||||
├── apps/ # Business Applications
|
├── apps/ # Business Applications
|
||||||
@@ -335,6 +336,7 @@ kubectl patch application myapp -n argocd \
|
|||||||
| **Tempo** | Distributed tracing | `monitoring` | 1 |
|
| **Tempo** | Distributed tracing | `monitoring` | 1 |
|
||||||
| **Fluent-Bit** | Log shipping | `monitoring` | DaemonSet |
|
| **Fluent-Bit** | Log shipping | `monitoring` | DaemonSet |
|
||||||
| **OpenCost** | Cost monitoring | `monitoring` | 1 |
|
| **OpenCost** | Cost monitoring | `monitoring` | 1 |
|
||||||
|
| **Renovate** | Dependency updates | `renovate` | CronJob |
|
||||||
| **Trivy** | Vulnerability scanning | `trivy-system` | 1 |
|
| **Trivy** | Vulnerability scanning | `trivy-system` | 1 |
|
||||||
|
|
||||||
**Full specs**: [Technical Reference - Infrastructure Components](docs/REFERENCE.md#infrastructure-components)
|
**Full specs**: [Technical Reference - Infrastructure Components](docs/REFERENCE.md#infrastructure-components)
|
||||||
|
|||||||
@@ -90,6 +90,7 @@ launchpad/
|
|||||||
│ ├── gitea-actions.yaml
|
│ ├── gitea-actions.yaml
|
||||||
│ ├── sealedsecrets.yaml
|
│ ├── sealedsecrets.yaml
|
||||||
│ ├── secrets.yaml
|
│ ├── secrets.yaml
|
||||||
|
│ ├── renovate.yaml
|
||||||
│ └── values/
|
│ └── values/
|
||||||
│ ├── argocd-values.yaml
|
│ ├── argocd-values.yaml
|
||||||
│ ├── prometheus-values.yaml
|
│ ├── prometheus-values.yaml
|
||||||
@@ -98,7 +99,8 @@ launchpad/
|
|||||||
│ ├── tempo-values.yaml
|
│ ├── tempo-values.yaml
|
||||||
│ ├── gitea-values.yaml
|
│ ├── gitea-values.yaml
|
||||||
│ ├── gitea-actions-values.yaml
|
│ ├── gitea-actions-values.yaml
|
||||||
│ └── fluent-bit-values.yaml
|
│ ├── fluent-bit-values.yaml
|
||||||
|
│ └── renovate-values.yaml
|
||||||
│
|
│
|
||||||
├── apps/ # Business applications
|
├── apps/ # Business applications
|
||||||
│ ├── mcp10x.yaml
|
│ ├── mcp10x.yaml
|
||||||
@@ -867,6 +869,48 @@ dind:
|
|||||||
- Gitea admin panel (`/admin/runners`) — runners show as Online
|
- Gitea admin panel (`/admin/runners`) — runners show as Online
|
||||||
- Create test workflow in `.gitea/workflows/test.yml` — job executes
|
- Create test workflow in `.gitea/workflows/test.yml` — job executes
|
||||||
|
|
||||||
|
### Renovate
|
||||||
|
|
||||||
|
**Chart**: `renovate` (OCI: `ghcr.io/renovatebot/charts`)
|
||||||
|
**Version**: 46.109.0 (app v43.113.0)
|
||||||
|
**Namespace**: `renovate`
|
||||||
|
**Sync Wave**: 2
|
||||||
|
|
||||||
|
**Purpose**: Automated dependency update bot. Runs as a CronJob that scans Gitea repositories for outdated dependencies and creates pull requests with updates.
|
||||||
|
|
||||||
|
**Configuration**:
|
||||||
|
```yaml
|
||||||
|
# infra/renovate.yaml + infra/values/renovate-values.yaml
|
||||||
|
cronjob:
|
||||||
|
schedule: "@hourly"
|
||||||
|
concurrencyPolicy: Forbid
|
||||||
|
|
||||||
|
renovate:
|
||||||
|
config:
|
||||||
|
platform: gitea
|
||||||
|
endpoint: https://git.forteapps.net
|
||||||
|
autodiscover: true
|
||||||
|
gitAuthor: "Renovate Bot <renovate@forteapps.net>"
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests: { cpu: 250m, memory: 512Mi }
|
||||||
|
limits: { cpu: "1", memory: 1Gi }
|
||||||
|
```
|
||||||
|
|
||||||
|
**Secrets**: `renovate-env` (SealedSecret in `secrets` namespace, cloned by Kyverno) containing:
|
||||||
|
- `RENOVATE_TOKEN` — Gitea PAT with repo write + issue write permissions
|
||||||
|
- `RENOVATE_GITHUB_COM_TOKEN` — GitHub PAT (public_repo read-only) for changelog fetching
|
||||||
|
|
||||||
|
**Setup Steps**:
|
||||||
|
1. Fill in `private/renovate-env.yaml` with tokens
|
||||||
|
2. Seal: `kubeseal --format yaml < private/renovate-env.yaml > secrets/renovate-env-sealed.yaml`
|
||||||
|
3. Commit and push — ArgoCD deploys the CronJob, Kyverno clones the secret
|
||||||
|
|
||||||
|
**Verification**:
|
||||||
|
- `kubectl get cronjob -n renovate` — CronJob exists
|
||||||
|
- `kubectl create job --from=cronjob/renovate renovate-test -n renovate` — manual trigger
|
||||||
|
- `kubectl logs -n renovate job/renovate-test` — check logs
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Kyverno Policies
|
## Kyverno Policies
|
||||||
@@ -1472,6 +1516,7 @@ team: platform
|
|||||||
| **Fluent-Bit** | 2.1.0+ | Latest |
|
| **Fluent-Bit** | 2.1.0+ | Latest |
|
||||||
| **Gitea** | 1.25.4 | 12.5.0 |
|
| **Gitea** | 1.25.4 | 12.5.0 |
|
||||||
| **Gitea Act Runner** | Latest | Latest |
|
| **Gitea Act Runner** | Latest | Latest |
|
||||||
|
| **Renovate** | v43.113.0 | 46.109.0 |
|
||||||
| **PostgreSQL** | 16-alpine | N/A |
|
| **PostgreSQL** | 16-alpine | N/A |
|
||||||
| **Trivy** | Latest | Latest |
|
| **Trivy** | Latest | Latest |
|
||||||
|
|
||||||
@@ -1483,6 +1528,6 @@ team: platform
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Last Updated**: 2026-04-08
|
**Last Updated**: 2026-04-14
|
||||||
**Maintained By**: Platform Team
|
**Maintained By**: Platform Team
|
||||||
**Version**: 1.0.0
|
**Version**: 1.0.0
|
||||||
|
|||||||
42
infra/renovate.yaml
Normal file
42
infra/renovate.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: renovate
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: renovate
|
||||||
|
app.kubernetes.io/part-of: platform
|
||||||
|
app.kubernetes.io/managed-by: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
|
||||||
|
sources:
|
||||||
|
- repoURL: ghcr.io/renovatebot/charts
|
||||||
|
chart: renovate
|
||||||
|
targetRevision: "46.109.0"
|
||||||
|
helm:
|
||||||
|
releaseName: renovate
|
||||||
|
valueFiles:
|
||||||
|
- $values/infra/values/renovate-values.yaml
|
||||||
|
|
||||||
|
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
ref: values
|
||||||
|
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: renovate
|
||||||
|
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
allowEmpty: false
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- Validate=true
|
||||||
|
- ServerSideApply=true
|
||||||
28
infra/values/renovate-values.yaml
Normal file
28
infra/values/renovate-values.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
cronjob:
|
||||||
|
schedule: "@hourly"
|
||||||
|
concurrencyPolicy: Forbid
|
||||||
|
|
||||||
|
renovate:
|
||||||
|
config: |
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"platform": "gitea",
|
||||||
|
"endpoint": "https://git.forteapps.net",
|
||||||
|
"autodiscover": true,
|
||||||
|
"gitAuthor": "Renovate Bot <renovate@forteapps.net>"
|
||||||
|
}
|
||||||
|
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: renovate-env
|
||||||
|
|
||||||
|
env:
|
||||||
|
LOG_LEVEL: debug
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 512Mi
|
||||||
|
limits:
|
||||||
|
cpu: "1"
|
||||||
|
memory: 1Gi
|
||||||
19
secrets/renovate-env-sealed.yaml
Normal file
19
secrets/renovate-env-sealed.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: renovate-env
|
||||||
|
namespace: secrets
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
RENOVATE_GITHUB_COM_TOKEN: AgBpci12KEAs8A5ujnMyoE5/0V5r8EU0MKBrd/465FUIv4n80veSEvpD10k3oA9I6Cyieb0O4uKIE3efx2FdtqnB3sDu8Zb+++hNahxCTN2CPHkr1ULBf/8oD8HpHh1+ajQNX3O5CcZ0mYumyQzGNg30RcvTo0gSq4d/TFFdRDMJSi5w/J7EZWE/Zanl8g6q+ShVSNPSwLoe6mfZkL65nlL057wlWiVEkgu82rTHB27ssRGptnyM32dYNg0i7Z1+jMqqK6pIMRth13HhxCNITtBKa9wjg30rnyNdHZ6O+++jB2vP4c6mRuF/mIUVPr6SCkHqYthqgJQRj1VTVn07jSgWkKxe3g/tBtUglq8nItoRAiXH9AuhDG6Y6UxG6YFC3KCO5/Hjp6pHVMsbZWBLzmUGlHvDR9nNtDeQGndt/R+LHSA6hlxE7lzrip87x9pD2dSgoBbDwOOb19D99+88rkeTiRYg8Z8UUJ2ty+UjcyLb8RgseuBQEKrYM1nV/QzykEVaD5CtUeMTR4yrULDgPWuOznYm+nbj4KN6cfeRIQ9qcRjdlv9qE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
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
allowedToBeCloned: "true"
|
||||||
|
name: renovate-env
|
||||||
|
namespace: secrets
|
||||||
|
type: Opaque
|
||||||
Reference in New Issue
Block a user