Compare commits
6 Commits
2b7d441803
...
renovate/c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f52d2ce04 | ||
| a702a16155 | |||
| 8b403736a9 | |||
| 0e8524b84a | |||
| 58ccc9fd2e | |||
| 08d870d44c |
@@ -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
|
||||||
@@ -65,9 +65,9 @@ gitea:
|
|||||||
ISSUE_INDEXER_TYPE: bleve
|
ISSUE_INDEXER_TYPE: bleve
|
||||||
REPO_INDEXER_ENABLED: true
|
REPO_INDEXER_ENABLED: true
|
||||||
|
|
||||||
# -- OIDC authentication via Keycloak
|
# -- OIDC authentication via Forte
|
||||||
oauth:
|
oauth:
|
||||||
- name: "Keycloak"
|
- name: "Forte"
|
||||||
provider: "openidConnect"
|
provider: "openidConnect"
|
||||||
existingSecret: gitea-credentials
|
existingSecret: gitea-credentials
|
||||||
key: gitea
|
key: gitea
|
||||||
|
|||||||
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
|
||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
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: renovate
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
RENOVATE_GITHUB_COM_TOKEN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LXoMrnV3iO0oFlFMITJRjvauYrKXdD0xyWxji3Rbrowbgr/iFkz/0fTpg6AwhP/ISRWtO+NDB3kZ6/CvcK2a1phTIgf2eiHfvMQIwnpfRauyUPtNHkCInC7OOtn0eyHZmAqkSaJTN1rJN3X8lRIgjhtZr9upE6ZCLK5kMdq87oDjtvwc0X0AyeTxV3EGXh87Zfda97KhG5LSC3uShzc8AYPA7SGxMTuoF4wON0Qa7AdAeGvtL+2GuhRkHhmyOeY4iORrVo8TlJsN1DsZmrbRArJWzvMcb31gefxTmg8tSZhuLOo4RHsUayCNIPmW/AvpcbGJS1pPXS8nPkDqSoeL6UW/G8CoEEisr50+9ztGOCmurobbadHcs4LhwAC2s9SuYuCTTSK4c98ke901ks4Iho8TuG3WmBkgJlEsNMigMsnW6pwlx/Xnij06csRY8Xcfh77MjluQXx833oKRxffwC9NuIgXcBG0cqGraEF6RFxKlu3DsWRIElt5Rnju/WSNhDsWubKrMVtKXuYX0tTBn
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
allowedToBeCloned: "true"
|
||||||
|
name: renovate-env
|
||||||
|
namespace: renovate
|
||||||
|
type: Opaque
|
||||||
Reference in New Issue
Block a user