Compare commits
19 Commits
feature/ai
...
feature/ka
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f0f70699b | |||
| 06522b2f19 | |||
| 4c65035485 | |||
| 84f4bebc08 | |||
| 5394b2c714 | |||
| c4e586a7be | |||
| 1fa070b041 | |||
| 9c905355e3 | |||
| 6b1115ec28 | |||
| 2fb276a62c | |||
| 3efe1b68ef | |||
| 5df104beec | |||
| 0ecfee3cf8 | |||
| c88938adb5 | |||
| d05a16840e | |||
| d7c7242aa1 | |||
| 3bf9fa7837 | |||
| d2596568f2 | |||
| 2a3539350b |
46
.gitea/workflows/ai-review.yaml
Normal file
46
.gitea/workflows/ai-review.yaml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
- 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
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "shared-prompts"]
|
||||||
|
path = shared-prompts
|
||||||
|
url = https://git.forteapps.net/Forte/ai-review-prompts.git
|
||||||
@@ -4,4 +4,5 @@ resources:
|
|||||||
- dot-ai-stack.yaml
|
- dot-ai-stack.yaml
|
||||||
- mcp10x.yaml
|
- mcp10x.yaml
|
||||||
- musicman.yaml
|
- musicman.yaml
|
||||||
|
- ts-mcp.yaml
|
||||||
- argo-mcp.yaml
|
- argo-mcp.yaml
|
||||||
|
|||||||
40
apps/base/ts-mcp.yaml
Normal file
40
apps/base/ts-mcp.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: ts-mcp
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "11"
|
||||||
|
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: ts-mcp
|
||||||
|
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/ts-mcp/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: ts-mcp
|
||||||
|
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -962,6 +962,46 @@ User sees application (authenticated)
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### Accessing Authenticated User Information
|
||||||
|
|
||||||
|
The auth sidecar handles all authentication before requests reach your application. Your app never sees unauthenticated traffic — the sidecar returns 401 or redirects to the IdP first.
|
||||||
|
|
||||||
|
After successful authentication, the sidecar forwards the request to your application with user identity injected as HTTP headers:
|
||||||
|
|
||||||
|
| Header | Description | Available in |
|
||||||
|
|--------|-------------|-------------|
|
||||||
|
| `X-Auth-User` | Username or display name | Token, OIDC, MCP |
|
||||||
|
| `X-Auth-Email` | User email address | OIDC |
|
||||||
|
| `X-Auth-Subject` | OIDC `sub` claim (stable user ID) | OIDC, MCP |
|
||||||
|
| `X-Auth-Groups` | Comma-separated group memberships | OIDC (if scope includes `groups`) |
|
||||||
|
| `X-Auth-Token` | The validated access token | All modes |
|
||||||
|
|
||||||
|
**Your application reads these headers — no auth library needed:**
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
// Express.js example
|
||||||
|
app.get('/profile', (req, res) => {
|
||||||
|
const user = req.headers['x-auth-user'];
|
||||||
|
const email = req.headers['x-auth-email'];
|
||||||
|
res.json({ user, email });
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Flask example
|
||||||
|
@app.route('/profile')
|
||||||
|
def profile():
|
||||||
|
user = request.headers.get('X-Auth-User')
|
||||||
|
email = request.headers.get('X-Auth-Email')
|
||||||
|
return jsonify(user=user, email=email)
|
||||||
|
```
|
||||||
|
|
||||||
|
**Why this is safe**: The Kyverno-generated NetworkPolicy restricts ingress to the sidecar port only. Traffic cannot bypass the sidecar to reach the application port directly, so the `X-Auth-*` headers can be trusted unconditionally.
|
||||||
|
|
||||||
|
**Key principle**: Your application is zero-trust-unaware by design. It reads headers and renders UI. All authentication complexity lives in the sidecar and Kyverno policy.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### Authentication Configuration Reference
|
### Authentication Configuration Reference
|
||||||
|
|
||||||
#### Helm Values Schema
|
#### Helm Values Schema
|
||||||
|
|||||||
@@ -602,6 +602,15 @@ retry:
|
|||||||
4. 40 seconds
|
4. 40 seconds
|
||||||
5. 80 seconds (capped at 3 minutes)
|
5. 80 seconds (capped at 3 minutes)
|
||||||
|
|
||||||
|
### Global Settings (`argocd-cm`)
|
||||||
|
|
||||||
|
| Setting | Value | Purpose |
|
||||||
|
|---------|-------|---------|
|
||||||
|
| `application.resourceTrackingMethod` | `annotation` | Track resources via annotations |
|
||||||
|
| `timeout.reconciliation` | `60s` | Reconciliation interval |
|
||||||
|
| `admin.enabled` | `true` | Enable admin account |
|
||||||
|
| `git.submodule.enabled` | `false` | Disable git submodule checkout — submodules are not needed for manifest generation |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Infrastructure Components
|
## Infrastructure Components
|
||||||
@@ -819,6 +828,8 @@ postgresql:
|
|||||||
|
|
||||||
**Email Notifications**: Enabled (`ENABLE_NOTIFY_MAIL: true`). SMTP credentials injected via `gitea-smtp-secret` using `additionalConfigFromEnvs` with `GITEA__mailer__USER` / `GITEA__mailer__PASSWD` environment variables.
|
**Email Notifications**: Enabled (`ENABLE_NOTIFY_MAIL: true`). SMTP credentials injected via `gitea-smtp-secret` using `additionalConfigFromEnvs` with `GITEA__mailer__USER` / `GITEA__mailer__PASSWD` environment variables.
|
||||||
|
|
||||||
|
**Auto-Watch**: Disabled (`AUTO_WATCH_ON_CHANGES: false`, `AUTO_WATCH_NEW_REPOS: false`). Prevents contributors from being auto-subscribed to repo notifications on push, reducing email noise from CI bots (e.g., ai-review PR comments). Users who were already watching before this change need to manually unwatch or switch to "Only participating".
|
||||||
|
|
||||||
**Endpoints**:
|
**Endpoints**:
|
||||||
- Web UI: `https://git.forteapps.net`
|
- Web UI: `https://git.forteapps.net`
|
||||||
- SSH: port 22 (ClusterIP)
|
- SSH: port 22 (ClusterIP)
|
||||||
@@ -876,6 +887,84 @@ 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
|
||||||
|
|
||||||
|
### AI Code Review (ai-review)
|
||||||
|
|
||||||
|
**Type**: Gitea Actions workflow (`.gitea/workflows/ai-review.yaml`)
|
||||||
|
**Trigger**: `pull_request` events (`opened`, `synchronize`)
|
||||||
|
**Runner**: `ubuntu-latest` (container: `nikitafilonov/ai-review:latest`)
|
||||||
|
|
||||||
|
**Purpose**: Automated AI-powered code review on pull requests using Claude (Anthropic). Posts inline comments on changed lines and a PR summary comment highlighting infrastructure impact.
|
||||||
|
|
||||||
|
**Architecture**:
|
||||||
|
- Uses [xai-review](https://github.com/nicktechnologies/xai-review) Docker image
|
||||||
|
- 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-sonnet-4-20250514`)
|
||||||
|
|
||||||
|
**Shared Prompts Structure** (submodule: `Forte/ai-review-prompts`):
|
||||||
|
```
|
||||||
|
shared-prompts/
|
||||||
|
base/
|
||||||
|
security.md # org-wide security rules (all profiles)
|
||||||
|
iac/
|
||||||
|
.ai-review.yaml # IaC/GitOps profile config
|
||||||
|
inline.md # inline review prompt
|
||||||
|
summary.md # PR summary prompt
|
||||||
|
# future profiles: backend/, frontend/, etc.
|
||||||
|
```
|
||||||
|
|
||||||
|
**Configuration** (`shared-prompts/iac/.ai-review.yaml`):
|
||||||
|
```yaml
|
||||||
|
llm:
|
||||||
|
provider: CLAUDE
|
||||||
|
model: claude-sonnet-4-20250514
|
||||||
|
vcs:
|
||||||
|
provider: GITEA
|
||||||
|
review:
|
||||||
|
mode: ONLY_ADDED_WITH_CONTEXT
|
||||||
|
agent:
|
||||||
|
enabled: false
|
||||||
|
prompt:
|
||||||
|
inline_prompt_files: # concatenated in order
|
||||||
|
- ./shared-prompts/base/security.md
|
||||||
|
- ./shared-prompts/iac/inline.md
|
||||||
|
summary_prompt_files:
|
||||||
|
- ./shared-prompts/iac/summary.md
|
||||||
|
ignore:
|
||||||
|
- "*.sealed.yaml"
|
||||||
|
- "*.lock"
|
||||||
|
- "docs/**"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Custom Prompts** (IaC profile):
|
||||||
|
- `shared-prompts/base/security.md` — org-wide security rules, concatenated before every inline review prompt
|
||||||
|
- `shared-prompts/iac/inline.md` — IaC-specific inline review (YAML, Helm, K8s manifests, shell scripts), max 7 comments
|
||||||
|
- `shared-prompts/iac/summary.md` — PR summary: affected services/namespaces, infrastructure impact, security flags
|
||||||
|
|
||||||
|
**Prompt composition**: ai-review does not support Jinja includes. Instead, list multiple files under `inline_prompt_files` / `summary_prompt_files` — they are concatenated in order with double newlines.
|
||||||
|
|
||||||
|
**Adding a new profile**: Create a new directory (e.g., `backend/`) with its own `.ai-review.yaml`, `inline.md`, and `summary.md`. The `inline_prompt_files` list should include `base/security.md` first, then the profile-specific prompt. Reference it in the consuming repo's workflow: `AI_REVIEW_CONFIG_FILE_YAML=./shared-prompts/backend/.ai-review.yaml`
|
||||||
|
|
||||||
|
**Required Secrets** (configure in Gitea repo or org settings):
|
||||||
|
|
||||||
|
| Secret | Purpose |
|
||||||
|
|--------|---------|
|
||||||
|
| `ANTHROPIC_API_KEY` | Claude API key (from Anthropic console) |
|
||||||
|
| `AI_REVIEW_TOKEN` | Gitea API token with `write:repository` + `read:repository` scopes (use a bot/service account) |
|
||||||
|
|
||||||
|
**Setup Steps**:
|
||||||
|
1. Create a Gitea bot/service account and generate an API token with `write:repository` + `read:repository` scopes
|
||||||
|
2. Add `AI_REVIEW_TOKEN` secret in Gitea repo settings → Actions → Secrets
|
||||||
|
3. Add `ANTHROPIC_API_KEY` secret with your Anthropic API key
|
||||||
|
4. Ensure the `shared-prompts` submodule is initialized (`git submodule update --init`)
|
||||||
|
5. Push the workflow file — it triggers automatically on PR creation/update
|
||||||
|
|
||||||
|
**Verification**:
|
||||||
|
- Open a PR with infrastructure changes → workflow runs → inline comments + summary appear
|
||||||
|
- Check Gitea Actions tab for workflow run status and logs
|
||||||
|
- Monitor Anthropic usage dashboard for token consumption
|
||||||
|
|
||||||
### Keycloak Client Registrar
|
### Keycloak Client Registrar
|
||||||
|
|
||||||
**Type**: CronJob (deployed via Keycloak Helm chart `extraDeploy`)
|
**Type**: CronJob (deployed via Keycloak Helm chart `extraDeploy`)
|
||||||
@@ -989,6 +1078,33 @@ kubectl get secret keycloak-client-<app> -n keycloak -o jsonpath='{.metadata.ann
|
|||||||
|
|
||||||
**See**: [Developer Guide - Adding a New Keycloak Client](DEVELOPER-GUIDE.md#adding-a-new-keycloak-client)
|
**See**: [Developer Guide - Adding a New Keycloak Client](DEVELOPER-GUIDE.md#adding-a-new-keycloak-client)
|
||||||
|
|
||||||
|
### Karpor
|
||||||
|
|
||||||
|
**Chart**: `karpor` from `https://kusionstack.github.io/charts`
|
||||||
|
**Version**: 0.7.6 (app v0.6.4)
|
||||||
|
**Namespace**: `karpor`
|
||||||
|
**Sync Wave**: 1
|
||||||
|
|
||||||
|
**Purpose**: Kubernetes visualization and intelligence tool. Provides cross-cluster resource search, compliance checking, and topology visualization. Gives platform engineers a unified view of all cluster resources and their relationships.
|
||||||
|
|
||||||
|
**Architecture** (4 components):
|
||||||
|
- **Server** — main Karpor API/UI (port 7443)
|
||||||
|
- **Syncer** — syncs cluster state into the search index
|
||||||
|
- **ElasticSearch** — search backend for resource indexing
|
||||||
|
- **etcd** — persistent key-value store (10Gi PVC)
|
||||||
|
|
||||||
|
**Configuration** (`infra/values/base/karpor-values.yaml`):
|
||||||
|
- `namespaceEnabled: false` — ArgoCD manages namespace creation
|
||||||
|
- Default resource limits tuned for small clusters
|
||||||
|
- ElasticSearch: 2 CPU / 4Gi memory (the heaviest component)
|
||||||
|
- AI features available but not enabled (requires `server.ai.authToken` + backend config)
|
||||||
|
|
||||||
|
**Access**: Port-forward to reach the UI:
|
||||||
|
```bash
|
||||||
|
kubectl port-forward svc/karpor-release-server -n karpor 7443:7443
|
||||||
|
# Open https://localhost:7443
|
||||||
|
```
|
||||||
|
|
||||||
### Renovate
|
### Renovate
|
||||||
|
|
||||||
**Chart**: `renovate` (OCI: `ghcr.io/renovatebot/charts`)
|
**Chart**: `renovate` (OCI: `ghcr.io/renovatebot/charts`)
|
||||||
@@ -1436,7 +1552,23 @@ Forward to Application (localhost:3000)
|
|||||||
Application processes request
|
Application processes request
|
||||||
```
|
```
|
||||||
|
|
||||||
**See**: [Developer Guide - Enabling Authentication](DEVELOPER-GUIDE.md#enabling-authentication-for-applications) for usage examples.
|
#### Forwarded Headers
|
||||||
|
|
||||||
|
After successful authentication, the sidecar injects user identity as HTTP headers before forwarding the request to the application container:
|
||||||
|
|
||||||
|
| Header | Description | Auth Modes |
|
||||||
|
|--------|-------------|------------|
|
||||||
|
| `X-Auth-User` | Username or display name | Token, OIDC, MCP |
|
||||||
|
| `X-Auth-Email` | User email address | OIDC |
|
||||||
|
| `X-Auth-Subject` | OIDC `sub` claim (stable user ID) | OIDC, MCP |
|
||||||
|
| `X-Auth-Groups` | Comma-separated group memberships | OIDC (if `groups` scope) |
|
||||||
|
| `X-Auth-Token` | The validated access token | All modes |
|
||||||
|
|
||||||
|
These headers are trustworthy because the auto-generated `NetworkPolicy` restricts pod ingress to the sidecar port only — external traffic cannot reach the application container directly, so headers cannot be spoofed.
|
||||||
|
|
||||||
|
Applications should read these headers to obtain authenticated user information (e.g. for display, authorisation decisions, or audit logging) instead of implementing their own authentication.
|
||||||
|
|
||||||
|
**See**: [Developer Guide - Accessing Authenticated User Information](DEVELOPER-GUIDE.md#accessing-authenticated-user-information) for code examples.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
42
infra/base/karpor.yaml
Normal file
42
infra/base/karpor.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: karpor
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: karpor
|
||||||
|
app.kubernetes.io/part-of: developer-portal
|
||||||
|
app.kubernetes.io/managed-by: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
|
||||||
|
sources:
|
||||||
|
- repoURL: https://kusionstack.github.io/charts
|
||||||
|
chart: karpor
|
||||||
|
targetRevision: "0.7.6"
|
||||||
|
helm:
|
||||||
|
releaseName: karpor
|
||||||
|
valueFiles:
|
||||||
|
- $values/infra/values/base/karpor-values.yaml
|
||||||
|
|
||||||
|
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
ref: values
|
||||||
|
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: karpor
|
||||||
|
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
allowEmpty: false
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- Validate=true
|
||||||
|
- ServerSideApply=true
|
||||||
@@ -22,3 +22,4 @@ resources:
|
|||||||
- tempo.yaml
|
- tempo.yaml
|
||||||
- grafana-dashboards.yaml
|
- grafana-dashboards.yaml
|
||||||
- network-policies-application.yaml
|
- network-policies-application.yaml
|
||||||
|
- karpor.yaml
|
||||||
|
|||||||
@@ -2,12 +2,21 @@ configs:
|
|||||||
secret:
|
secret:
|
||||||
createSecret: true
|
createSecret: true
|
||||||
argocdServerAdminPassword: "$2b$12$Tmb1jH7ADvwWoUoNPXXsfOf6JqEluqhq8mL06a8DGT2AP1GzbNsCm"
|
argocdServerAdminPassword: "$2b$12$Tmb1jH7ADvwWoUoNPXXsfOf6JqEluqhq8mL06a8DGT2AP1GzbNsCm"
|
||||||
|
ssh:
|
||||||
|
knownHosts: |
|
||||||
|
[git.forteapps.net]:2222 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDTwi40de8yTGUuRT0i/XGicQ672BLhYR6D/lDquJrp/tdrWoZhVVPy0wxSkWsq1V92iiAUuQnXagOGsLBGZT9uDLWKvEmNDnCfjzTMq3J1iA3vk2rQ8WBlCzhvmeCV/r0ufl6vsgfwxSRomLZeqa2UkLHx69gy2Njb1S2/aZK1Q53f466hCUfDULZrTn2Nn5Sj8cEbJ8EyvVN2YG9HYBxQdzKRPZEmS1vyzmn8YrYIkZseIRQElabzWGh86owuaaqnwJhTJj1j2sEUeIet04sGKJcnxx2UL4H90N66LKMldmMiuli+ve/CjJmMwDl0zGkjIniT3XR8CyEXYHli7B1hR8Z+dbK6DBgjz+28lFgMIRY70KkZJNsJcBNZLZ5fHwCI13a9U3Uhg3Pu/6s0zlosM4CrAQNQCRe95ZPtCpdFhlGrOl4m1rdSK2meL6rND0TBBuZbaFF6Py7TawLCAiO2KRaVqhu9OFVjwJ/nifgLzFGwWj+WcYmpuR+DwozrF/Hl7QYsz1x4GO1SONY07KbIFkUCHOMAh0AELY5YE4eGI4mtG6SecdPaAdLREGZYK4IcyP5i1QW9g0wmfRSsV9jy+r0ivBxixxh4yJiNpkg6NXak40gQtGIme9EJ+DxrRLruNsfDILWcdSuH/wvuorv56NpQFGB0FzB6LXMloSYptQ==
|
||||||
cm:
|
cm:
|
||||||
application.resourceTrackingMethod: annotation
|
application.resourceTrackingMethod: annotation
|
||||||
timeout.reconciliation: 60s
|
timeout.reconciliation: 60s
|
||||||
admin.enabled: "true"
|
admin.enabled: "true"
|
||||||
params:
|
params:
|
||||||
"server.insecure": true
|
"server.insecure": true
|
||||||
|
repoServer:
|
||||||
|
env:
|
||||||
|
# Disable git submodule checkout - submodules (e.g. shared-prompts)
|
||||||
|
# are not needed for K8s manifest generation
|
||||||
|
- name: ARGOCD_GIT_MODULES_ENABLED
|
||||||
|
value: "false"
|
||||||
server:
|
server:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -29,7 +29,10 @@ gitea:
|
|||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
|
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
|
||||||
ENABLE_BASIC_AUTHENTICATION: true
|
ENABLE_BASIC_AUTHENTICATION: true
|
||||||
ENABLE_PASSWORD_SIGNIN_FORM: false
|
ENABLE_PASSWORD_SIGNIN_FORM: false
|
||||||
ENABLE_NOTIFY_MAIL: true
|
AUTO_WATCH_ON_CHANGES: false
|
||||||
|
AUTO_WATCH_NEW_REPOS: false
|
||||||
|
ENABLE_NOTIFY_MAIL: false
|
||||||
|
ENABLE_TIMETRACKING: false
|
||||||
|
|
||||||
openid:
|
openid:
|
||||||
ENABLE_OPENID_SIGNIN: false
|
ENABLE_OPENID_SIGNIN: false
|
||||||
|
|||||||
44
infra/values/base/karpor-values.yaml
Normal file
44
infra/values/base/karpor-values.yaml
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# Karpor - Kubernetes Visualization & Intelligence Tool
|
||||||
|
# Helm chart: https://github.com/KusionStack/charts/tree/master/charts/karpor
|
||||||
|
|
||||||
|
# Let the ArgoCD Application manage the namespace
|
||||||
|
namespaceEnabled: false
|
||||||
|
|
||||||
|
server:
|
||||||
|
replicas: 1
|
||||||
|
port: 7443
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
|
||||||
|
syncer:
|
||||||
|
replicas: 1
|
||||||
|
port: 7443
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
replicas: 1
|
||||||
|
port: 9200
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 2Gi
|
||||||
|
limits:
|
||||||
|
cpu: "2"
|
||||||
|
memory: 4Gi
|
||||||
|
|
||||||
|
etcd:
|
||||||
|
replicas: 1
|
||||||
|
port: 2379
|
||||||
|
persistence:
|
||||||
|
size: 5Gi
|
||||||
1
shared-prompts
Submodule
1
shared-prompts
Submodule
Submodule shared-prompts added at c5bc55b3d7
Reference in New Issue
Block a user