Compare commits
48 Commits
9a7e03b794
...
feature/ar
| Author | SHA1 | Date | |
|---|---|---|---|
| b730277192 | |||
| 0ea33c027f | |||
| d2bd8b6339 | |||
| 0af08ca653 | |||
| a3fd2eb908 | |||
| 61cfae7380 | |||
| 70ebf6b341 | |||
| 6bdb86684a | |||
| 5d2ca24611 | |||
| b9f1a9fb34 | |||
| e4a32b2c4c | |||
| 2ce6d6f62a | |||
| 10a4c82834 | |||
| 167d893233 | |||
| 8b9ffee242 | |||
| 4069e255a8 | |||
| 3b1f498616 | |||
| cc47bf6b9f | |||
| c1d61398f0 | |||
| ece4a8d199 | |||
| 03c47ad109 | |||
| 3095741590 | |||
| d7ba859e61 | |||
| 07eb9b7051 | |||
| a911ff64c3 | |||
| 9e13560e5e | |||
| 3d84acb278 | |||
| fde81c6ec6 | |||
| 8648269e55 | |||
| 84fe4cbe7c | |||
| 38158be0a8 | |||
| 202e84badc | |||
| a6df75de93 | |||
| 4f4f544100 | |||
| 8d4b6493a0 | |||
| 8505481291 | |||
| 65598c9297 | |||
| 3f0f70699b | |||
| 06522b2f19 | |||
| 4c65035485 | |||
| 84f4bebc08 | |||
| 5394b2c714 | |||
| c4e586a7be | |||
| 1fa070b041 | |||
| 9c905355e3 | |||
| 6b1115ec28 | |||
| 2fb276a62c | |||
| 3efe1b68ef |
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Force LF line endings for shell scripts
|
||||||
|
*.sh text eol=lf
|
||||||
@@ -355,7 +355,6 @@ kubectl patch application myapp -n argocd \
|
|||||||
| **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 |
|
| **Renovate** | Dependency updates | `renovate` | CronJob |
|
||||||
| **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)
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
12
bootstrap.sh
12
bootstrap.sh
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
# in case of $'\r': command not found error, run command below first
|
# in case of $'\r': command not found error, run command below first
|
||||||
# sed -i 's/\r$//' ./bootstrap.sh
|
# sed -i 's/\r$//' ./bootstrap.sh
|
||||||
|
|
||||||
@@ -27,8 +28,8 @@ Bootstrap()
|
|||||||
Gitea()
|
Gitea()
|
||||||
{
|
{
|
||||||
echo "Installing secret..."
|
echo "Installing secret..."
|
||||||
kubectl apply -f private/gitea-repo-main.yaml
|
kubectl apply -f "private/${CLUSTER}/gitea-repo-main.yaml"
|
||||||
kubectl apply -f private/main.key
|
kubectl apply -f "private/${CLUSTER}/main.key"
|
||||||
}
|
}
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
@@ -36,10 +37,15 @@ Gitea()
|
|||||||
############################################################
|
############################################################
|
||||||
ArgoCd()
|
ArgoCd()
|
||||||
{
|
{
|
||||||
|
# Pre-create ConfigMap for repo-server env (must exist before Helm upgrade)
|
||||||
|
kubectl create namespace argocd --dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
kubectl apply -f cluster-resources/argocd-repo-server-config.yaml
|
||||||
|
|
||||||
# install argocd
|
# install argocd
|
||||||
echo "Installing ArgoCD..."
|
echo "Installing ArgoCD..."
|
||||||
helm upgrade --install argocd argo-cd \
|
helm upgrade --install argocd argo-cd \
|
||||||
--repo https://argoproj.github.io/argo-helm \
|
--repo https://argoproj.github.io/argo-helm \
|
||||||
|
--version "7.8.0" \
|
||||||
--namespace argocd --create-namespace \
|
--namespace argocd --create-namespace \
|
||||||
--values infra/values/base/argocd-values.yaml \
|
--values infra/values/base/argocd-values.yaml \
|
||||||
--values "infra/values/${CLUSTER}/argocd-values.yaml" \
|
--values "infra/values/${CLUSTER}/argocd-values.yaml" \
|
||||||
@@ -49,4 +55,4 @@ ArgoCd()
|
|||||||
kubectl apply -f "_app-of-apps-${CLUSTER}.yaml" -n argocd
|
kubectl apply -f "_app-of-apps-${CLUSTER}.yaml" -n argocd
|
||||||
}
|
}
|
||||||
|
|
||||||
# Bootstrap
|
Bootstrap
|
||||||
|
|||||||
83
cluster-resources/argocd-oidc-secret-sync.yaml
Normal file
83
cluster-resources/argocd-oidc-secret-sync.yaml
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
# CronJob: syncs OIDC client secret from registrar-managed
|
||||||
|
# argocd-oidc-credentials into argocd-secret (oidc.clientSecret key).
|
||||||
|
# Runs every 2 min. No-ops if source secret doesn't exist yet
|
||||||
|
# (safe for fresh deploys before Keycloak is up).
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: argocd-oidc-sync
|
||||||
|
namespace: argocd
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: argocd-oidc-sync
|
||||||
|
namespace: argocd
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["secrets"]
|
||||||
|
resourceNames: ["argocd-oidc-credentials", "argocd-secret"]
|
||||||
|
verbs: ["get", "patch"]
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: argocd-oidc-sync
|
||||||
|
namespace: argocd
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: Role
|
||||||
|
name: argocd-oidc-sync
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: argocd-oidc-sync
|
||||||
|
namespace: argocd
|
||||||
|
---
|
||||||
|
apiVersion: batch/v1
|
||||||
|
kind: CronJob
|
||||||
|
metadata:
|
||||||
|
name: argocd-oidc-sync
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
schedule: "*/2 * * * *"
|
||||||
|
concurrencyPolicy: Forbid
|
||||||
|
successfulJobsHistoryLimit: 1
|
||||||
|
failedJobsHistoryLimit: 3
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
backoffLimit: 1
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
serviceAccountName: argocd-oidc-sync
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: sync
|
||||||
|
image: bitnami/kubectl:latest
|
||||||
|
command: ["/bin/sh", "-c"]
|
||||||
|
args:
|
||||||
|
- |
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Exit gracefully if source secret doesn't exist yet
|
||||||
|
if ! kubectl get secret argocd-oidc-credentials -n argocd >/dev/null 2>&1; then
|
||||||
|
echo "argocd-oidc-credentials not found — skipping (Keycloak not ready yet)"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Read current OIDC client secret
|
||||||
|
NEW_SECRET=$(kubectl get secret argocd-oidc-credentials -n argocd \
|
||||||
|
-o jsonpath='{.data.client-secret}' | base64 -d)
|
||||||
|
|
||||||
|
# Read current value in argocd-secret (if any)
|
||||||
|
CURRENT=$(kubectl get secret argocd-secret -n argocd \
|
||||||
|
-o jsonpath='{.data.oidc\.clientSecret}' 2>/dev/null | base64 -d || echo "")
|
||||||
|
|
||||||
|
# Only patch if changed
|
||||||
|
if [ "$NEW_SECRET" = "$CURRENT" ]; then
|
||||||
|
echo "oidc.clientSecret already up to date"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
kubectl patch secret argocd-secret -n argocd --type merge \
|
||||||
|
-p "{\"stringData\":{\"oidc.clientSecret\":\"${NEW_SECRET}\"}}"
|
||||||
|
echo "Patched argocd-secret with oidc.clientSecret"
|
||||||
9
cluster-resources/argocd-repo-server-config.yaml
Normal file
9
cluster-resources/argocd-repo-server-config.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: argocd-repo-server-config
|
||||||
|
namespace: argocd
|
||||||
|
data:
|
||||||
|
# Disable git submodule checkout - submodules (e.g. shared-prompts)
|
||||||
|
# are not needed for K8s manifest generation
|
||||||
|
ARGOCD_GIT_MODULES_ENABLED: "false"
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
apiVersion: cilium.io/v2
|
|
||||||
kind: CiliumNetworkPolicy
|
|
||||||
metadata:
|
|
||||||
name: deny-external-egress
|
|
||||||
namespace: trivy-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
app.kubernetes.io/part-of: network-policies
|
|
||||||
spec:
|
|
||||||
endpointSelector: {}
|
|
||||||
egress:
|
|
||||||
# Allow DNS resolution
|
|
||||||
- toEndpoints:
|
|
||||||
- matchLabels:
|
|
||||||
io.kubernetes.pod.namespace: kube-system
|
|
||||||
k8s-app: kube-dns
|
|
||||||
toPorts:
|
|
||||||
- ports:
|
|
||||||
- port: "53"
|
|
||||||
protocol: UDP
|
|
||||||
- port: "53"
|
|
||||||
protocol: TCP
|
|
||||||
|
|
||||||
# Allow cluster-internal traffic (RFC1918)
|
|
||||||
- toCIDR:
|
|
||||||
- 10.0.0.0/8
|
|
||||||
- 172.16.0.0/12
|
|
||||||
- 192.168.0.0/16
|
|
||||||
|
|
||||||
# Allow Trivy vulnerability DB downloads (ghcr.io OCI registry)
|
|
||||||
- toFQDNs:
|
|
||||||
- matchName: ghcr.io
|
|
||||||
- matchName: pkg-containers.githubusercontent.com
|
|
||||||
toPorts:
|
|
||||||
- ports:
|
|
||||||
- port: "443"
|
|
||||||
protocol: TCP
|
|
||||||
@@ -26,7 +26,6 @@ spec:
|
|||||||
- monitoring
|
- monitoring
|
||||||
- secrets
|
- secrets
|
||||||
- kyverno
|
- kyverno
|
||||||
- trivy-system
|
|
||||||
match:
|
match:
|
||||||
any:
|
any:
|
||||||
- resources:
|
- resources:
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ spec:
|
|||||||
- resources:
|
- resources:
|
||||||
namespaces:
|
namespaces:
|
||||||
- kube-system
|
- kube-system
|
||||||
- trivy-system
|
|
||||||
- monitoring
|
- monitoring
|
||||||
- argocd
|
- argocd
|
||||||
- cert-manager
|
- cert-manager
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: dev-aks # <- adjust to your AKS cluster name
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: example.com # <- adjust to your domain
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.example.com
|
clusterName: dev-aks # → infra/values/aks-dev/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.example.com
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.example.com
|
argocdDomain: argocd.example.com # → infra/values/aks-dev/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.example.com
|
grafanaDomain: grafana.example.com # → infra/values/aks-dev/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.example.com
|
keycloakDomain: id.example.com # → infra/values/aks-dev/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: admin@example.com # <- adjust
|
dotaiDomain: kubemcp.example.com # → infra/values/aks-dev/dot-ai-stack-values.yaml (dot-ai.ingress.host) — create if needed
|
||||||
trustedIPs: "10.0.0.0/8,168.63.129.16/32" # <- VNet CIDR + Azure health probe
|
dotaiUiDomain: kubemcpui.example.com # → infra/values/aks-dev/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host) — create if needed
|
||||||
cloudProvider: azure
|
letsencryptEmail: admin@example.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "10.0.0.0/8,168.63.129.16/32" # → infra/values/aks-dev/traefik-values.yaml (ports.*.trustedIPs) — VNet CIDR + Azure health probe
|
||||||
|
cloudProvider: azure # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: prod-aks # <- adjust to your AKS cluster name
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: example.com # <- adjust to your domain
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.example.com
|
clusterName: prod-aks # → infra/values/aks-prod/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.example.com
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.example.com
|
argocdDomain: argocd.example.com # → infra/values/aks-prod/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.example.com
|
grafanaDomain: grafana.example.com # → infra/values/aks-prod/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.example.com
|
keycloakDomain: id.example.com # → infra/values/aks-prod/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: admin@example.com # <- adjust
|
dotaiDomain: kubemcp.example.com # → infra/values/aks-prod/dot-ai-stack-values.yaml (dot-ai.ingress.host) — create if needed
|
||||||
trustedIPs: "10.0.0.0/8,168.63.129.16/32" # <- VNet CIDR + Azure health probe
|
dotaiUiDomain: kubemcpui.example.com # → infra/values/aks-prod/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host) — create if needed
|
||||||
cloudProvider: azure
|
letsencryptEmail: admin@example.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "10.0.0.0/8,168.63.129.16/32" # → infra/values/aks-prod/traefik-values.yaml (ports.*.trustedIPs) — VNet CIDR + Azure health probe
|
||||||
|
cloudProvider: azure # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: dev-eks # <- adjust to your EKS cluster name
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: example.com # <- adjust to your domain
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.example.com
|
clusterName: dev-eks # → infra/values/eks-dev/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.example.com
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.example.com
|
argocdDomain: argocd.example.com # → infra/values/eks-dev/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.example.com
|
grafanaDomain: grafana.example.com # → infra/values/eks-dev/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.example.com
|
keycloakDomain: id.example.com # → infra/values/eks-dev/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: admin@example.com # <- adjust
|
dotaiDomain: kubemcp.example.com # → infra/values/eks-dev/dot-ai-stack-values.yaml (dot-ai.ingress.host) — create if needed
|
||||||
trustedIPs: "10.0.0.0/8" # <- adjust to your VPC CIDR
|
dotaiUiDomain: kubemcpui.example.com # → infra/values/eks-dev/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host) — create if needed
|
||||||
cloudProvider: eks
|
letsencryptEmail: admin@example.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "10.0.0.0/8" # → infra/values/eks-dev/traefik-values.yaml (ports.*.trustedIPs) — VPC CIDR
|
||||||
|
cloudProvider: eks # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: prod-eks # <- adjust to your EKS cluster name
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: example.com # <- adjust to your domain
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.example.com
|
clusterName: prod-eks # → infra/values/eks-prod/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.example.com
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.example.com
|
argocdDomain: argocd.example.com # → infra/values/eks-prod/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.example.com
|
grafanaDomain: grafana.example.com # → infra/values/eks-prod/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.example.com
|
keycloakDomain: id.example.com # → infra/values/eks-prod/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: admin@example.com # <- adjust
|
dotaiDomain: kubemcp.example.com # → infra/values/eks-prod/dot-ai-stack-values.yaml (dot-ai.ingress.host) — create if needed
|
||||||
trustedIPs: "10.0.0.0/8" # <- adjust to your VPC CIDR
|
dotaiUiDomain: kubemcpui.example.com # → infra/values/eks-prod/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host) — create if needed
|
||||||
cloudProvider: eks
|
letsencryptEmail: admin@example.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "10.0.0.0/8" # → infra/values/eks-prod/traefik-values.yaml (ports.*.trustedIPs) — VPC CIDR
|
||||||
|
cloudProvider: eks # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: dev-gke # <- adjust to your GKE cluster name
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: example.com # <- adjust to your domain
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.example.com
|
clusterName: dev-gke # → infra/values/gke-dev/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.example.com
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.example.com
|
argocdDomain: argocd.example.com # → infra/values/gke-dev/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.example.com
|
grafanaDomain: grafana.example.com # → infra/values/gke-dev/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.example.com
|
keycloakDomain: id.example.com # → infra/values/gke-dev/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: admin@example.com # <- adjust
|
dotaiDomain: kubemcp.example.com # → infra/values/gke-dev/dot-ai-stack-values.yaml (dot-ai.ingress.host) — create if needed
|
||||||
trustedIPs: "10.0.0.0/8,35.191.0.0/16,130.211.0.0/22" # <- subnet CIDR + GCP health checks
|
dotaiUiDomain: kubemcpui.example.com # → infra/values/gke-dev/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host) — create if needed
|
||||||
cloudProvider: gke
|
letsencryptEmail: admin@example.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "10.0.0.0/8,35.191.0.0/16,130.211.0.0/22" # → infra/values/gke-dev/traefik-values.yaml (ports.*.trustedIPs) — subnet + GCP health checks
|
||||||
|
cloudProvider: gke # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: prod-gke # <- adjust to your GKE cluster name
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: example.com # <- adjust to your domain
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.example.com
|
clusterName: prod-gke # → infra/values/gke-prod/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.example.com
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.example.com
|
argocdDomain: argocd.example.com # → infra/values/gke-prod/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.example.com
|
grafanaDomain: grafana.example.com # → infra/values/gke-prod/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.example.com
|
keycloakDomain: id.example.com # → infra/values/gke-prod/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: admin@example.com # <- adjust
|
dotaiDomain: kubemcp.example.com # → infra/values/gke-prod/dot-ai-stack-values.yaml (dot-ai.ingress.host) — create if needed
|
||||||
trustedIPs: "10.0.0.0/8,35.191.0.0/16,130.211.0.0/22" # <- subnet CIDR + GCP health checks
|
dotaiUiDomain: kubemcpui.example.com # → infra/values/gke-prod/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host) — create if needed
|
||||||
cloudProvider: gke
|
letsencryptEmail: admin@example.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "10.0.0.0/8,35.191.0.0/16,130.211.0.0/22" # → infra/values/gke-prod/traefik-values.yaml (ports.*.trustedIPs) — subnet + GCP health checks
|
||||||
|
cloudProvider: gke # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: dev-fd-no-svg1
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: forteapps.net
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.127.0.0.1.nip.io
|
clusterName: dev-fd-no-svg1 # → infra/values/upc-dev/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.forteapps.net
|
domain: forteapps.net # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.forteapps.net
|
argocdDomain: argocd.127.0.0.1.nip.io # → infra/values/upc-dev/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.forteapps.net
|
grafanaDomain: grafana.forteapps.net # → infra/values/upc-dev/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.forteapps.net
|
keycloakDomain: id.forteapps.net # → infra/values/upc-dev/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: danijels@gmail.com
|
dotaiDomain: kubemcp.forteapps.net # → infra/values/upc-dev/dot-ai-stack-values.yaml (dot-ai.ingress.host)
|
||||||
trustedIPs: "172.16.1.0/24"
|
dotaiUiDomain: kubemcpui.forteapps.net # → infra/values/upc-dev/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host)
|
||||||
cloudProvider: upcloud
|
letsencryptEmail: danijels@gmail.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "172.16.1.0/24" # → infra/values/upc-dev/traefik-values.yaml (ports.*.trustedIPs)
|
||||||
|
cloudProvider: upcloud # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
clusterName: prod-fd-no-svg1
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
domain: fortedigital.com
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
argocdDomain: argocd.127.0.0.1.nip.io
|
clusterName: prod-fd-no-svg1 # → infra/values/upc-prod/argocd-values.yaml (notifications.context.clusterName)
|
||||||
grafanaDomain: grafana.fortedigital.com
|
domain: fortedigital.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
keycloakDomain: id.fortedigital.com
|
argocdDomain: argocd.127.0.0.1.nip.io # → infra/values/upc-prod/argocd-values.yaml (global.domain)
|
||||||
dotaiDomain: kubemcp.fortedigital.com
|
grafanaDomain: grafana.fortedigital.com # → infra/values/upc-prod/grafana-values.yaml (ingress.hosts)
|
||||||
dotaiUiDomain: kubemcpui.fortedigital.com
|
keycloakDomain: id.fortedigital.com # → infra/values/upc-prod/keycloak-values.yaml (ingress.hostname)
|
||||||
letsencryptEmail: danijel.simeunovic@fortedigital.com
|
dotaiDomain: kubemcp.fortedigital.com # → infra/values/upc-prod/dot-ai-stack-values.yaml (dot-ai.ingress.host)
|
||||||
trustedIPs: "172.16.1.0/24"
|
dotaiUiDomain: kubemcpui.fortedigital.com # → infra/values/upc-prod/dot-ai-stack-values.yaml (dot-ai-ui.ingress.host)
|
||||||
cloudProvider: upcloud
|
letsencryptEmail: danijel.simeunovic@fortedigital.com # → cluster-resources/letsencrypt-issuer.yaml (spec.acme.email)
|
||||||
|
trustedIPs: "172.16.1.0/24" # → infra/values/upc-prod/traefik-values.yaml (ports.*.trustedIPs)
|
||||||
|
cloudProvider: upcloud # → determines overlay directory and cloud-specific LB/storage annotations
|
||||||
|
|||||||
32
devbox.json
Normal file
32
devbox.json
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
|
||||||
|
"packages": [
|
||||||
|
"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@latest",
|
||||||
|
"opentofu@1.11.6"
|
||||||
|
],
|
||||||
|
"shell": {
|
||||||
|
"init_hook": [
|
||||||
|
"echo 'Welcome to devbox!' > /dev/null"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"test": [
|
||||||
|
"echo \"Error: no test specified\" && exit 1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -654,21 +654,11 @@ kubectl create secret generic myapp-credentials \
|
|||||||
|
|
||||||
#### Step 2: Seal the Secret
|
#### Step 2: Seal the Secret
|
||||||
|
|
||||||
Get the public certificate (one-time setup):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Fetch public cert from cluster
|
|
||||||
kubeseal --fetch-cert \
|
|
||||||
--controller-name=sealed-secrets-controller \
|
|
||||||
--controller-namespace=kube-system \
|
|
||||||
> pub-cert.pem
|
|
||||||
```
|
|
||||||
|
|
||||||
Seal your secret:
|
Seal your secret:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubeseal --format=yaml \
|
kubeseal --format=yaml \
|
||||||
--cert=pub-cert.pem \
|
--namespace=myapp \
|
||||||
< private/myapp-credentials.yaml \
|
< private/myapp-credentials.yaml \
|
||||||
> secrets/myapp-credentials-sealed.yaml
|
> secrets/myapp-credentials-sealed.yaml
|
||||||
```
|
```
|
||||||
@@ -711,7 +701,7 @@ kubectl create secret generic myapp-credentials \
|
|||||||
|
|
||||||
# 2. Seal it
|
# 2. Seal it
|
||||||
kubeseal --format=yaml \
|
kubeseal --format=yaml \
|
||||||
--cert=pub-cert.pem \
|
--namespace=myapp \
|
||||||
< private/myapp-credentials.yaml \
|
< private/myapp-credentials.yaml \
|
||||||
> secrets/myapp-credentials-sealed.yaml
|
> secrets/myapp-credentials-sealed.yaml
|
||||||
|
|
||||||
@@ -962,6 +952,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
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ launchpad/
|
|||||||
│ ├── loki.yaml
|
│ ├── loki.yaml
|
||||||
│ ├── tempo.yaml
|
│ ├── tempo.yaml
|
||||||
│ ├── fluent-bit.yaml
|
│ ├── fluent-bit.yaml
|
||||||
│ ├── trivy.yaml
|
|
||||||
│ ├── gitea.yaml
|
│ ├── gitea.yaml
|
||||||
│ ├── gitea-actions.yaml
|
│ ├── gitea-actions.yaml
|
||||||
│ ├── sealedsecrets.yaml
|
│ ├── sealedsecrets.yaml
|
||||||
@@ -148,12 +147,30 @@ launchpad/
|
|||||||
│ └── auth-sidecar-injector.yaml
|
│ └── auth-sidecar-injector.yaml
|
||||||
│
|
│
|
||||||
├── secrets/ # Application secrets (sealed)
|
├── secrets/ # Application secrets (sealed)
|
||||||
│ ├── argocd-mcp-credentials.yaml
|
│ ├── base/ # All SealedSecrets (shared across clouds)
|
||||||
│ ├── dot-ai-secrets.yaml
|
│ │ ├── kustomization.yaml
|
||||||
│ ├── gitea-credentials-sealed.yaml
|
│ │ ├── argocd-forte-helm-secret-sealed.yaml
|
||||||
│ ├── gitea-runner-token-sealed.yaml
|
│ │ ├── argocd-mcp-credentials.yaml
|
||||||
│ ├── mcp10x-credentials-sealed.yaml
|
│ │ ├── argocdmcp-auth-oidc-sealed.yaml
|
||||||
│ └── musicman-credentials.yaml
|
│ │ ├── dot-ai-secrets.yaml
|
||||||
|
│ │ ├── forte10x-app-credentials-sealed.yaml
|
||||||
|
│ │ ├── gitea-backup-s3-sealed.yaml
|
||||||
|
│ │ ├── gitea-credentials-sealed.yaml
|
||||||
|
│ │ ├── gitea-runner-token-sealed.yaml
|
||||||
|
│ │ ├── gitea-smtp-secret-sealed.yaml
|
||||||
|
│ │ ├── keycloak-credentials-sealed.yaml
|
||||||
|
│ │ ├── musicman-auth-oidc-sealed.yaml
|
||||||
|
│ │ ├── musicman-credentials.yaml
|
||||||
|
│ │ └── renovate-env-sealed.yaml
|
||||||
|
│ └── overlays/ # Per-cloud overlays (reference base)
|
||||||
|
│ ├── aks-dev/kustomization.yaml
|
||||||
|
│ ├── aks-prod/kustomization.yaml
|
||||||
|
│ ├── eks-dev/kustomization.yaml
|
||||||
|
│ ├── eks-prod/kustomization.yaml
|
||||||
|
│ ├── gke-dev/kustomization.yaml
|
||||||
|
│ ├── gke-prod/kustomization.yaml
|
||||||
|
│ ├── upc-dev/kustomization.yaml
|
||||||
|
│ └── upc-prod/kustomization.yaml
|
||||||
│
|
│
|
||||||
├── scripts/ # Operational helper scripts
|
├── scripts/ # Operational helper scripts
|
||||||
│ ├── gitea-backup.sh # S3 backup helper (list/download)
|
│ ├── gitea-backup.sh # S3 backup helper (list/download)
|
||||||
@@ -631,6 +648,77 @@ 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` | `false` | Admin login disabled (SSO-only) |
|
||||||
|
| `url` | `https://argocd.forteapps.net` | External URL for ArgoCD UI |
|
||||||
|
|
||||||
|
**Git Submodule Disable**: Set via `configs.params` (NOT `repoServer.env` — that causes strategic merge conflicts with chart's `valueFrom` entries):
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
params:
|
||||||
|
"reposerver.enable.git.submodule": "false"
|
||||||
|
```
|
||||||
|
This writes to `argocd-cmd-params-cm` ConfigMap, which the chart already reads via `valueFrom`. Submodules (e.g., `shared-prompts`) are not needed for K8s manifest generation.
|
||||||
|
|
||||||
|
**Break-Glass Admin Access**: Admin login is disabled (`admin.enabled: false`). The admin password remains in `argocd-secret`. To re-enable temporarily:
|
||||||
|
```bash
|
||||||
|
# Enable admin login
|
||||||
|
kubectl patch cm argocd-cm -n argocd -p '{"data":{"admin.enabled":"true"}}'
|
||||||
|
# Log in as admin, do what's needed, then disable again
|
||||||
|
kubectl patch cm argocd-cm -n argocd -p '{"data":{"admin.enabled":"false"}}'
|
||||||
|
```
|
||||||
|
ArgoCD picks up ConfigMap changes within the reconciliation timeout (60s). Note: ArgoCD will revert this on next sync — this is intentional (temporary access only).
|
||||||
|
|
||||||
|
**OIDC Authentication** (Keycloak):
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
cm:
|
||||||
|
oidc.config: |
|
||||||
|
name: Forte SSO
|
||||||
|
issuer: https://id.forteapps.net/realms/forte
|
||||||
|
clientID: argocd
|
||||||
|
clientSecret: $oidc.clientSecret
|
||||||
|
requestedScopes: ["openid", "email", "profile"]
|
||||||
|
rbacConfig:
|
||||||
|
policy.csv: |
|
||||||
|
g, ArgoCD Admins, role:admin
|
||||||
|
g, ArgoCD Viewers, role:readonly
|
||||||
|
# Deny users not in any declared KC group
|
||||||
|
policy.default: ""
|
||||||
|
scopes: '[groups]'
|
||||||
|
```
|
||||||
|
|
||||||
|
**Access Control**: Only users in Keycloak groups `ArgoCD Admins` or `ArgoCD Viewers` can access ArgoCD. Users not in either group are denied (empty `policy.default`). Assign users to groups in Keycloak admin console.
|
||||||
|
|
||||||
|
- ArgoCD does NOT add `openid` implicitly — must include in `requestedScopes`
|
||||||
|
- Do NOT add `groups` as a scope — the KC groups mapper emits the claim regardless
|
||||||
|
- `$oidc.clientSecret` references the `oidc.clientSecret` key in `argocd-secret`
|
||||||
|
- OIDC secret is synced by CronJob `argocd-oidc-sync` (see `cluster-resources/argocd-oidc-secret-sync.yaml`)
|
||||||
|
- The CronJob bridges `argocd-oidc-credentials` (from KC registrar) → `argocd-secret` every 2 min
|
||||||
|
- Safe for fresh deploys: no-ops if source secret doesn't exist yet
|
||||||
|
|
||||||
|
**Ingress** (Traefik + TLS):
|
||||||
|
```yaml
|
||||||
|
server:
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
ingressClassName: traefik
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
tls: true
|
||||||
|
extraArgs:
|
||||||
|
- --insecure
|
||||||
|
configs:
|
||||||
|
params:
|
||||||
|
"server.insecure": true
|
||||||
|
```
|
||||||
|
TLS terminates at Traefik; ArgoCD runs in insecure mode behind the proxy.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Infrastructure Components
|
## Infrastructure Components
|
||||||
@@ -706,6 +794,10 @@ spec:
|
|||||||
**Chart**: `sealed-secrets/sealed-secrets-controller`
|
**Chart**: `sealed-secrets/sealed-secrets-controller`
|
||||||
**Namespace**: `kube-system`
|
**Namespace**: `kube-system`
|
||||||
|
|
||||||
|
**Directory Structure**: `secrets/base/` contains all SealedSecrets with a `kustomization.yaml`. Per-cloud overlays in `secrets/overlays/<cloud>/` reference the base via Kustomize. The ArgoCD `secrets` Application points to the active overlay (e.g., `secrets/overlays/upc-dev`), and `infra/overlays/upc-prod` patches the path to `secrets/overlays/upc-prod`.
|
||||||
|
|
||||||
|
To add cloud-specific secrets, create a new SealedSecret in the overlay directory and add it to the overlay's `kustomization.yaml`.
|
||||||
|
|
||||||
**Public Certificate**:
|
**Public Certificate**:
|
||||||
```bash
|
```bash
|
||||||
kubeseal --fetch-cert \
|
kubeseal --fetch-cert \
|
||||||
@@ -746,6 +838,15 @@ kubeStateMetrics:
|
|||||||
- Loki
|
- Loki
|
||||||
- Tempo
|
- Tempo
|
||||||
|
|
||||||
|
**Ingress**: Exposed via Traefik at `https://grafana.forteapps.net` with cert-manager TLS.
|
||||||
|
|
||||||
|
**OIDC Authentication** (Keycloak):
|
||||||
|
- Uses `grafana.ini.auth.generic_oauth` with KC `grafana` client
|
||||||
|
- Secret `grafana-oidc-credentials` synced by KC registrar, loaded via `envFromSecrets`
|
||||||
|
- SSO-only mode: `auth.disable_login_form: true` + `auth.generic_oauth.auto_login: true`
|
||||||
|
- Role mapping via JMESPath on `resource_access.grafana.roles` claim (requires KC client role mapper)
|
||||||
|
- Roles: KC client roles `Admin`/`Editor` map to Grafana roles; default is `Viewer`
|
||||||
|
|
||||||
### Loki
|
### Loki
|
||||||
|
|
||||||
**Chart**: `grafana/loki-stack`
|
**Chart**: `grafana/loki-stack`
|
||||||
@@ -1098,6 +1199,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`)
|
||||||
@@ -1545,7 +1673,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.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -1734,8 +1878,9 @@ To add support for a new cloud (e.g., `oci-dev` for Oracle Cloud):
|
|||||||
- `opencost-values.yaml` — pricing model or cloud billing integration
|
- `opencost-values.yaml` — pricing model or cloud billing integration
|
||||||
3. **Kustomize overlay**: `infra/overlays/oci-dev/kustomization.yaml` — patch `valueFiles[1]` for each Application
|
3. **Kustomize overlay**: `infra/overlays/oci-dev/kustomization.yaml` — patch `valueFiles[1]` for each Application
|
||||||
4. **App-of-apps**: `_app-of-apps-oci-dev.yaml` — points to `infra/overlays/oci-dev`
|
4. **App-of-apps**: `_app-of-apps-oci-dev.yaml` — points to `infra/overlays/oci-dev`
|
||||||
5. **Sealed Secrets**: `secrets/oci-dev/` — TLS certs, credentials, backup S3 config
|
5. **Secrets overlay**: `secrets/overlays/oci-dev/kustomization.yaml` — references `../../base`, add cloud-specific SealedSecrets if needed
|
||||||
6. **Bootstrap**: `./bootstrap.sh oci-dev`
|
6. **Secrets patch**: Add patch to `infra/overlays/oci-dev/kustomization.yaml` to swap secrets path to `secrets/overlays/oci-dev`
|
||||||
|
7. **Bootstrap**: `./bootstrap.sh oci-dev`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
48
infra/base/karpor.yaml
Normal file
48
infra/base/karpor.yaml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
ignoreDifferences:
|
||||||
|
- group: apps
|
||||||
|
kind: StatefulSet
|
||||||
|
jsonPointers:
|
||||||
|
- /spec/volumeClaimTemplates
|
||||||
@@ -15,7 +15,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://charts.bitnami.com/bitnami
|
- repoURL: registry-1.docker.io/bitnamicharts
|
||||||
chart: keycloak
|
chart: keycloak
|
||||||
targetRevision: "25.2.0"
|
targetRevision: "25.2.0"
|
||||||
helm:
|
helm:
|
||||||
@@ -47,3 +47,7 @@ spec:
|
|||||||
kind: CronJob
|
kind: CronJob
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
- /spec/jobTemplate/spec/template/spec/containers/0/args
|
- /spec/jobTemplate/spec/template/spec/containers/0/args
|
||||||
|
- group: apps
|
||||||
|
kind: StatefulSet
|
||||||
|
jsonPointers:
|
||||||
|
- /spec/volumeClaimTemplates
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ resources:
|
|||||||
- prometheus.yaml
|
- prometheus.yaml
|
||||||
- loki.yaml
|
- loki.yaml
|
||||||
- fluent-bit.yaml
|
- fluent-bit.yaml
|
||||||
- trivy.yaml
|
|
||||||
- enterprise-apps.yaml
|
- enterprise-apps.yaml
|
||||||
- cluster-resources-application.yaml
|
- cluster-resources-application.yaml
|
||||||
- kyverno-policies.yaml
|
- kyverno-policies.yaml
|
||||||
@@ -22,3 +21,4 @@ resources:
|
|||||||
- tempo.yaml
|
- tempo.yaml
|
||||||
- grafana-dashboards.yaml
|
- grafana-dashboards.yaml
|
||||||
- network-policies-application.yaml
|
- network-policies-application.yaml
|
||||||
|
- karpor.yaml
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
||||||
path: secrets/upc-dev
|
path: secrets/overlays/upc-dev
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: secrets
|
namespace: secrets
|
||||||
|
|||||||
@@ -1,67 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: trivy-system
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "-1"
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: trivy-operator
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "0"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: trivy-operator
|
|
||||||
app.kubernetes.io/part-of: platform
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
|
|
||||||
source:
|
|
||||||
repoURL: https://aquasecurity.github.io/helm-charts
|
|
||||||
chart: trivy-operator
|
|
||||||
targetRevision: 0.31.0
|
|
||||||
helm:
|
|
||||||
releaseName: trivy-operator
|
|
||||||
valuesObject:
|
|
||||||
operator:
|
|
||||||
targetNamespaces: ""
|
|
||||||
excludeNamespaces: "argocd,trivy-system,kube-system,monitoring,kyverno,cert-manager"
|
|
||||||
scanJobsInSameNamespace: true
|
|
||||||
metricsVulnIdEnabled: true
|
|
||||||
metricsImageInfo: true
|
|
||||||
trivy:
|
|
||||||
ignoreUnfixed: false
|
|
||||||
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: trivy-system
|
|
||||||
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
allowEmpty: false
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- Validate=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
retry:
|
|
||||||
limit: 5
|
|
||||||
backoff:
|
|
||||||
duration: 5s
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 3m
|
|
||||||
|
|
||||||
ignoreDifferences:
|
|
||||||
- group: apiextensions.k8s.io
|
|
||||||
kind: CustomResourceDefinition
|
|
||||||
jsonPointers:
|
|
||||||
- /metadata/labels
|
|
||||||
- /metadata/annotations
|
|
||||||
- /metadata/finalizers
|
|
||||||
@@ -8,9 +8,6 @@ generatorOptions:
|
|||||||
grafana_dashboard: "1"
|
grafana_dashboard: "1"
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: grafana-dashboard-trivy
|
|
||||||
files:
|
|
||||||
- trivy.json
|
|
||||||
- name: grafana-dashboard-traefik-loki
|
- name: grafana-dashboard-traefik-loki
|
||||||
files:
|
files:
|
||||||
- traefik-loki.json
|
- traefik-loki.json
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -56,7 +56,7 @@ patches:
|
|||||||
patch: |
|
patch: |
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/source/path
|
path: /spec/source/path
|
||||||
value: secrets/upc-prod
|
value: secrets/overlays/upc-prod
|
||||||
|
|
||||||
# Enterprise-apps: point to upc-prod overlay
|
# Enterprise-apps: point to upc-prod overlay
|
||||||
- target:
|
- target:
|
||||||
@@ -66,21 +66,3 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/source/path
|
path: /spec/source/path
|
||||||
value: apps/overlays/upc-prod
|
value: apps/overlays/upc-prod
|
||||||
|
|
||||||
# Gitea: swap upc-dev → upc-prod
|
|
||||||
- target:
|
|
||||||
kind: Application
|
|
||||||
name: gitea
|
|
||||||
patch: |
|
|
||||||
- op: replace
|
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
|
||||||
value: $values/infra/values/upc-prod/gitea-values.yaml
|
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → upc-prod
|
|
||||||
- target:
|
|
||||||
kind: Application
|
|
||||||
name: opencost
|
|
||||||
patch: |
|
|
||||||
- op: replace
|
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
|
||||||
value: $values/infra/values/upc-prod/opencost-values.yaml
|
|
||||||
|
|||||||
@@ -2,16 +2,40 @@ configs:
|
|||||||
secret:
|
secret:
|
||||||
createSecret: true
|
createSecret: true
|
||||||
argocdServerAdminPassword: "$2b$12$Tmb1jH7ADvwWoUoNPXXsfOf6JqEluqhq8mL06a8DGT2AP1GzbNsCm"
|
argocdServerAdminPassword: "$2b$12$Tmb1jH7ADvwWoUoNPXXsfOf6JqEluqhq8mL06a8DGT2AP1GzbNsCm"
|
||||||
|
# oidc.clientSecret managed by argocd-oidc-sync CronJob
|
||||||
|
# (reads from argocd-oidc-credentials, patches argocd-secret)
|
||||||
|
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 login disabled — SSO only. Break-glass: kubectl patch cm argocd-cm -n argocd -p '{"data":{"admin.enabled":"true"}}'
|
||||||
|
admin.enabled: "false"
|
||||||
|
url: https://argocd.forteapps.net
|
||||||
|
oidc.config: |
|
||||||
|
name: Forte SSO
|
||||||
|
issuer: https://id.forteapps.net/realms/forte
|
||||||
|
clientID: argocd
|
||||||
|
clientSecret: $oidc.clientSecret
|
||||||
|
requestedScopes: ["openid", "email", "profile"]
|
||||||
|
rbac:
|
||||||
|
policy.csv: |
|
||||||
|
g, ArgoCD Admins, role:admin
|
||||||
|
g, ArgoCD Viewers, role:readonly
|
||||||
|
# Deny users not in any declared KC group (ArgoCD Admins / ArgoCD Viewers)
|
||||||
|
policy.default: ""
|
||||||
|
scopes: '[groups]'
|
||||||
params:
|
params:
|
||||||
"server.insecure": true
|
"server.insecure": true
|
||||||
|
"reposerver.enable.git.submodule": "false"
|
||||||
server:
|
server:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: true
|
||||||
ingressClassName: nginx
|
ingressClassName: traefik
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
tls: true
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- --insecure
|
- --insecure
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ gitea:
|
|||||||
FROM: "noreply@fortedigital.com"
|
FROM: "noreply@fortedigital.com"
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
DEFAULT_EMAIL_NOTIFICATIONS: enabled
|
DEFAULT_EMAIL_NOTIFICATIONS: onmention
|
||||||
|
|
||||||
# -- SMTP credentials injected from secret (USER and PASSWD)
|
# -- SMTP credentials injected from secret (USER and PASSWD)
|
||||||
additionalConfigFromEnvs:
|
additionalConfigFromEnvs:
|
||||||
@@ -98,7 +98,7 @@ gitea:
|
|||||||
existingSecret: gitea-oidc-credentials
|
existingSecret: gitea-oidc-credentials
|
||||||
key: gitea
|
key: gitea
|
||||||
autoDiscoverUrl: "https://id.forteapps.net/realms/forte/.well-known/openid-configuration"
|
autoDiscoverUrl: "https://id.forteapps.net/realms/forte/.well-known/openid-configuration"
|
||||||
scopes: "openid email profile organization"
|
scopes: "email profile organization"
|
||||||
groupClaimName: "groups"
|
groupClaimName: "groups"
|
||||||
adminGroup: ""
|
adminGroup: ""
|
||||||
restrictedGroup: ""
|
restrictedGroup: ""
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
ingressClassName: traefik
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
tls:
|
||||||
|
- secretName: grafana-tls
|
||||||
|
hosts:
|
||||||
|
- grafana.forteapps.net
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
@@ -11,6 +19,29 @@ resources:
|
|||||||
adminUser: admin
|
adminUser: admin
|
||||||
adminPassword: "forte"
|
adminPassword: "forte"
|
||||||
|
|
||||||
|
envFromSecrets:
|
||||||
|
- name: grafana-oidc-credentials
|
||||||
|
|
||||||
|
grafana.ini:
|
||||||
|
server:
|
||||||
|
root_url: https://grafana.forteapps.net
|
||||||
|
auth.generic_oauth:
|
||||||
|
enabled: true
|
||||||
|
name: Forte SSO
|
||||||
|
allow_sign_up: true
|
||||||
|
client_id: ${client-id}
|
||||||
|
client_secret: ${client-secret}
|
||||||
|
scopes: openid email profile
|
||||||
|
auth_url: https://id.forteapps.net/realms/forte/protocol/openid-connect/auth
|
||||||
|
token_url: https://id.forteapps.net/realms/forte/protocol/openid-connect/token
|
||||||
|
api_url: https://id.forteapps.net/realms/forte/protocol/openid-connect/userinfo
|
||||||
|
role_attribute_path: "contains(resource_access.grafana.roles[*], 'Admin') && 'Admin' || contains(resource_access.grafana.roles[*], 'Editor') && 'Editor' || 'Viewer'"
|
||||||
|
role_attribute_strict: true
|
||||||
|
allow_assign_grafana_admin: true
|
||||||
|
auto_login: true
|
||||||
|
auth:
|
||||||
|
disable_login_form: true
|
||||||
|
|
||||||
datasources:
|
datasources:
|
||||||
datasources.yaml:
|
datasources.yaml:
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|||||||
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
|
||||||
@@ -75,7 +75,6 @@ keycloakConfigCli:
|
|||||||
"publicClient": false,
|
"publicClient": false,
|
||||||
"redirectUris": ["https://git.forteapps.net/*"],
|
"redirectUris": ["https://git.forteapps.net/*"],
|
||||||
"webOrigins": ["https://git.forteapps.net"],
|
"webOrigins": ["https://git.forteapps.net"],
|
||||||
"defaultClientScopes": ["openid", "email", "profile"],
|
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"k8s.secret.sync": "true",
|
"k8s.secret.sync": "true",
|
||||||
"k8s.secret.namespace": "gitea",
|
"k8s.secret.namespace": "gitea",
|
||||||
@@ -98,6 +97,84 @@ keycloakConfigCli:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"clientId": "grafana",
|
||||||
|
"name": "Grafana",
|
||||||
|
"enabled": true,
|
||||||
|
"protocol": "openid-connect",
|
||||||
|
"clientAuthenticatorType": "client-secret",
|
||||||
|
"standardFlowEnabled": true,
|
||||||
|
"directAccessGrantsEnabled": false,
|
||||||
|
"publicClient": false,
|
||||||
|
"redirectUris": ["https://grafana.forteapps.net/*"],
|
||||||
|
"webOrigins": ["https://grafana.forteapps.net"],
|
||||||
|
"attributes": {
|
||||||
|
"k8s.secret.sync": "true",
|
||||||
|
"k8s.secret.namespace": "monitoring",
|
||||||
|
"k8s.secret.name": "grafana-oidc-credentials",
|
||||||
|
"k8s.secret.client-id-key": "client-id",
|
||||||
|
"k8s.secret.client-secret-key": "client-secret"
|
||||||
|
},
|
||||||
|
"protocolMappers": [
|
||||||
|
{
|
||||||
|
"name": "client-roles",
|
||||||
|
"protocol": "openid-connect",
|
||||||
|
"protocolMapper": "oidc-usermodel-client-role-mapper",
|
||||||
|
"config": {
|
||||||
|
"claim.name": "resource_access.grafana.roles",
|
||||||
|
"jsonType.label": "String",
|
||||||
|
"multivalued": "true",
|
||||||
|
"usermodel.clientRoleMapping.clientId": "grafana",
|
||||||
|
"id.token.claim": "true",
|
||||||
|
"access.token.claim": "true",
|
||||||
|
"userinfo.token.claim": "true"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"clientId": "argocd",
|
||||||
|
"name": "ArgoCD",
|
||||||
|
"enabled": true,
|
||||||
|
"protocol": "openid-connect",
|
||||||
|
"clientAuthenticatorType": "client-secret",
|
||||||
|
"standardFlowEnabled": true,
|
||||||
|
"directAccessGrantsEnabled": false,
|
||||||
|
"publicClient": false,
|
||||||
|
"redirectUris": ["https://argocd.forteapps.net/auth/callback"],
|
||||||
|
"webOrigins": ["https://argocd.forteapps.net"],
|
||||||
|
"attributes": {
|
||||||
|
"k8s.secret.sync": "true",
|
||||||
|
"k8s.secret.namespace": "argocd",
|
||||||
|
"k8s.secret.name": "argocd-oidc-credentials",
|
||||||
|
"k8s.secret.client-id-key": "client-id",
|
||||||
|
"k8s.secret.client-secret-key": "client-secret"
|
||||||
|
},
|
||||||
|
"protocolMappers": [
|
||||||
|
{
|
||||||
|
"name": "groups",
|
||||||
|
"protocol": "openid-connect",
|
||||||
|
"protocolMapper": "oidc-group-membership-mapper",
|
||||||
|
"config": {
|
||||||
|
"claim.name": "groups",
|
||||||
|
"full.path": "false",
|
||||||
|
"id.token.claim": "true",
|
||||||
|
"access.token.claim": "true",
|
||||||
|
"userinfo.token.claim": "true"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "ArgoCD Admins",
|
||||||
|
"path": "/ArgoCD Admins"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ArgoCD Viewers",
|
||||||
|
"path": "/ArgoCD Viewers"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,28 +36,6 @@ extraScrapeConfigs: |
|
|||||||
- source_labels: [__meta_kubernetes_namespace]
|
- source_labels: [__meta_kubernetes_namespace]
|
||||||
target_label: namespace
|
target_label: namespace
|
||||||
|
|
||||||
- job_name: trivy-operator
|
|
||||||
scrape_interval: 30s
|
|
||||||
metrics_path: /metrics
|
|
||||||
kubernetes_sd_configs:
|
|
||||||
- role: pod
|
|
||||||
namespaces:
|
|
||||||
names:
|
|
||||||
- trivy-system
|
|
||||||
relabel_configs:
|
|
||||||
- source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_name]
|
|
||||||
regex: trivy-operator
|
|
||||||
action: keep
|
|
||||||
- source_labels: [__meta_kubernetes_pod_container_port_number]
|
|
||||||
regex: "8080"
|
|
||||||
action: keep
|
|
||||||
- source_labels: [__meta_kubernetes_pod_name]
|
|
||||||
target_label: pod
|
|
||||||
- source_labels: [__meta_kubernetes_namespace]
|
|
||||||
target_label: namespace
|
|
||||||
- source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_instance]
|
|
||||||
target_label: instance
|
|
||||||
|
|
||||||
- job_name: traefik
|
- job_name: traefik
|
||||||
scrape_interval: 15s
|
scrape_interval: 15s
|
||||||
metrics_path: /metrics
|
metrics_path: /metrics
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
global:
|
global:
|
||||||
domain: argocd.127.0.0.1.nip.io
|
domain: argocd.forteapps.net
|
||||||
notifications:
|
notifications:
|
||||||
context:
|
context:
|
||||||
clusterName: "dev-fd-eu-no-svg1"
|
clusterName: "dev-fd-eu-no-svg1"
|
||||||
|
|||||||
16
secrets/base/kustomization.yaml
Normal file
16
secrets/base/kustomization.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- argocd-forte-helm-secret-sealed.yaml
|
||||||
|
- argocd-mcp-credentials.yaml
|
||||||
|
- argocdmcp-auth-oidc-sealed.yaml
|
||||||
|
- dot-ai-secrets.yaml
|
||||||
|
- forte10x-app-credentials-sealed.yaml
|
||||||
|
- gitea-backup-s3-sealed.yaml
|
||||||
|
- gitea-credentials-sealed.yaml
|
||||||
|
- gitea-runner-token-sealed.yaml
|
||||||
|
- gitea-smtp-secret-sealed.yaml
|
||||||
|
- keycloak-credentials-sealed.yaml
|
||||||
|
- musicman-credentials.yaml
|
||||||
|
- renovate-env-sealed.yaml
|
||||||
|
- ts-mcp-secrets-sealed.yaml
|
||||||
13
secrets/base/ts-mcp-secrets-sealed.yaml
Normal file
13
secrets/base/ts-mcp-secrets-sealed.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
name: ts-mcp-secrets
|
||||||
|
namespace: ts-mcp
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
AZURE_CLIENT_SECRET: AgCWj525+NHkZ8XG97hEe4RS0SDC0QIGDXmEvzSlIqJQ9XVZEeKxVuAYmJ+w/HH7zBXD3qlZISeOPKn3FbMEeRukmYK0d5PsH26tRUMPoMzwWCuQkZIQ83uX9Pz/wMiqW8aZFIxpdEiUgVdanxHSFoDRPC1VlSEtV9B9yN2MgXBID5s0oje5BM9ttc4WVRe6+9pMeaOC6u+YUgcfY7xPLetZfC9nQO4zn4jYhoQXfAddwMzNODvQNGPzIv6PXDXJweTwdmtGaxM6eDdcCJI/30bEV9prA5m6UlgTZ/Qp+onU70KdkBA9gM9tMMVUR6j/2sbWzqMP/rVaFLeUH1PjHv15n4EieWyuDyYEfmZNDFXc7O9RIK6P0jCIE+t3myxK2ZQ7cfXprdOSj94au0qP6leat0UUVoc9CFJHHtrNxXYWl7IYVhwvIQCMSgO2qoAXkdW4wKVJAcbJadJjoL2pWxzjaD4GgnUaAxWBANqZI2lD8CED4VfUVMB0ZUYRS/zvy/eqIGlT8WbzwTYFi3YDZRvAUIknxaWEavIG4x52d0FqTmFYY06W53fGYfBrUjJI54GWYyBpKdZTf7b/AlAN0+kwkk6OqsUWwWDqxR7LVCcPhjSIKd/THp+Tbq9z5TiPIHxOO9V60u51f8IoQrEgQfNov7CEGQZ8B9HUGObjNc5MhujzBJasMhrUcd2Ddk6KWk07B7223p/gIEM+81ZWQYUcc29+U/j1dQyRNZy/TC56ywe5DDBJSoGp
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: ts-mcp-secrets
|
||||||
|
namespace: ts-mcp
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: dot-ai-secrets
|
|
||||||
namespace: dot-ai
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
anthropic-api-key: AgAdnPQzl2SNSqyAZkoBdEEGEjXfpMJUNMg4e040vxri4jbjoTnmwQ/DjmmIGtoInjhQA3NZRUKcIuDrO7nGMXFOPY9tSfhpdaAMWTji1CVZvmdJnrQwZY1LFBwgbozq3RSZZQQcZd2EPrhhsU5UlmacKk2WpuQdq76twfdU5WVD8xalxbt0H5UDvihuQa3sYX/rUIDZK2Th5IfaFqYZk5JvaxR8PFwBh9IOooGewWXWrsxVT510lxHRotSDIgKt/jl8ymsVA7IpddnbQHr6K77it7BxR6fLvDGaTQeQW0RtPZwsLvB268OTwp338RQ2sjmVuUDErWViLuk1V6UFmj5vhRR0X2dy/EipkWEJwR0Zf8JCW+vAXJ4NFiVFjmOsiTXoLHCYp0k01EwFcPQpnswKSdaQ3tuCEa4Q+rHu2DiXyfSuZ1MnWnTyLSx9H51VYUgIPwQa+BUVoVnAswypw4yLQHrfLu9TSvsNl/OonP0dSmgSGaByTc1RzwpvHBUAaOYII2LuuvkF90oA4cChGkGe1KuYKHFqiBdaT9jrsfeBUpgqFAH0uH9DNjBjU5EjlUtV3bdO7wXDHct9EOBZniKMH7cIbXfT2TBaormeHNqFtXxSRXy1szDpXiDD1QDoAJx0ylrwwqix7XPBlqSt91OZ8N1VPSUPvfnTQf7zirVWJNckU9fW6tsnQ+GDOOEwERPEAhqxWuw6V0HMab4VzpbGgWuvtQY5CsI2bFUYWSZAIJ6H8E5ip3lb8ilWtYadhx8QZD3aKi7k5h4bFWd6M0rg0uj7bfbW8YXauTS6Uz4b9FlvgrAPkmcWG84um/jsmP6a0YhvJDGKHMHoUmY=
|
|
||||||
auth-token: AgBq/MM/+fqi1H6L5o/xFeKYMfcn6+bmbkepbq97O0Ob+dFKWuyfXmzqM2Dha+NKpXcu47qSBbLpaOdLS5ONq7JDIcZ2byW0ae9khBuL7k2mCa5ZPh96LS46c+v1qNJb6F4NQe+jWSx2H9LIShoihom+lRueBT1/uthW3hnUUUgQMgXU3NYimDNAg6JK6VgX3yKkI7ePLPAet7+ykaL1aPXwcfCAldcobPmls0vxMQDtgd+o4nLqx2sKArFplnwZ9G1SEz2dRXNFm8HI4HhgtOBdv1ISjXO8XGRZWnFqgX3s3BqcwFcPqVuFGHo+2ZvAUW+mdkuAEJOloJEoZXJkFCP+l7/yMV7/FmFAhntqfdTwijEJ+rP/sUbUNSzn6BKM2ITRGXEJkOeNq4xfpgS16AOs+O0DWkIAr0kWCJG+mkn94U7ALCGYQXtKLy0g/87MJ3IwaUU7gowVawHoDmpY0QoAYDJwpbIa9yMnlPOzJANkc99dl85sbLeQMvkkb4RqQlbMc80gkFFhbU5/0kKX483ylqhRi0b4ZjGHgl72s/8+FhxTDkSXJQ2HbrNPGlna+B7TAgxYZ9IS1cpw4wSNzSCk23Rt3STHnXuu/QXRLeMijXGBDFNJgU0JNKLp63JC1gftHcNhqRL6lxK1tLyo5+0Cnh/KJN64b1DpPXZnzdaeR25GQFSDxsymjLm2BFATtufRPJqeIT7tn5TRGTr97fH6LQv/LuJ4VnjS6WLsQoFdUhDuNug2LDuyLHjpKg==
|
|
||||||
openai-api-key: AgCQR+HezEHwiwFD1pIkla1Byzz91SBoUyaWVTTuBrBDq201KvlLmqahjQwpKWs4YvqhmKkbF/mXKuMSyFut72IwH025tfmzzmTryOD6bOQDxI0Ws5NndnztzKv2qw2Js0c+6lAOJR+lEuo1ynGlG3hfS+bGShShvLZIDcD/hDa8IfhQBh7fKyFslJ52KxKK+zeEFDVQcx6Lrq/zP9IPH2QXz0bVQYlRyrQ4vqONO9h2pjxNAhDxuJ5FPk+Hb4ClGjyRPHFT34ZYsYdvHUgkjL3nOeaOUrc0GGJOKYZChfsK/JrqX8iOqgbE+0vQvMX+q8Tr6Ynr0KRKMcGPr6ak3eCNknJaZ1EABtkyUS2u5TzKqMzYq5DF4kpvPApIvaQW+VS05zD8piTQSZEFNRwwXDpyru/R4MmPvwt7OdSM0SJpQ8kR7tsuRgBPFY2Eduk6fhrDmMVgHze3AoRaqyh87CeqR3Z7/XofbdgZBqEp2vwiY425ArB6yMLpVvO6eB+yoTgCJ/UpfOxBDHE1M6U3goJhk/YeOy9UpTfRD1VyA2OuzJliDNtC784wxnGAsOk3qKk1bjjBqUzwITK41mOWqNLKCn4Ol9lXZtbbqLIiU4lXv4Pl93mVSuPLOIXINLGMRFl0rlvDICEjrrfE+JmwKx6i45sqsk3/hz1Fb+/bKFo7pl9JnAXvr5WfDW/rflwBrokfJVeYsSm6R2yxGWlosrKZIwIRctOut1EbbylurI5pIPp6vHguyIvZDDxwj3Qk3ewU/WVAcI9989aLR++UrZ5FGXt3apMk8BY9bq7DIQOUtgfPO98+cVPdoZSIh5bhQpCHAVPMGcGTdIPkuQbxSai0FsP8ipdHx0fluI6p/4v1Rv/BqZH0X8dnwPQoqUhSD+C575w511Fc8PEzgaG63S9hHx5Azw==
|
|
||||||
ui-auth-token: AgBgKRwErv5MtWIdqSN5BSQ/deHFE4469gzqL6gwp/3JidtBEiAAyuOIbc9dRCWuJNcdtixKOZT1rKuI8O/e6oJ6ABGAx+ckDfH468VKsR4AJhdZGcxub5j79NKccbNA5MKTnqxlU05zukUOkgw3wdsOyuQr3RnfL31GFbEVyDMej+Xr7Rs0fWrfqpasCi45/PEi8fkofMg45kGc+LMfDgovNtkKla2MAXwYlUk24SA+lgCFoG2DHB50GdTK2byCks4Px4J3jQqqHdLUfC+/gyqimPoVUsVGb5SY0xeNepKfTz7lHEkmDOB9R1wfv7pUaLMapc+eVrVN7reLHKOA47IEedDpnlLm/fyEfPe7ktkejc59tPyIyxBubrN+Vb/+6bDgi7xsXy/N5uD/2sPqWVgI2D7veWOJEjM+GYOYeb2iRbf7KlrokCXD/gRMiQBKqYyUdjWx40MjrhxzPArOa+cL0kb1CUgwuyjmqq5hNIUO2wo6/kkeNtUeT7r067LE5rtMoZG2EAfw/xrL1CI2F+3c72JzRd//aClt1MsSfPPPoFz0TlWSSc7qNDhYHuQf//G/Zd29Nk/Ac52HVwdkl2AXJE/GIFdwi+ypqK5mjmSUTn/JVE0ZaA3OpHOF/01meISuqBo+HuAWCV8sw6en0F8AF+DF8rw8t5hDdexScXep5QuJmm4CYgqThyjz2V5xME9oMmGA+Yiu/MJ4AlkLowijpXkKEWpEOBRpRRhu2q2szhZqmx1oKJw+qJ40CQ==
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: dot-ai-secrets
|
|
||||||
namespace: dot-ai
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: auth-oidc
|
|
||||||
namespace: music-man
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
client-secret: AgAKQ24qP43Dopfb6LfH0o7RIQjK3IMjII8knmdpfL5ldXJRGaYYYQDjZJcIE5HiLoEFXKkLHm39k83l6sJ1fn1RCbbskSGmosYNenJgxOqTZdlyC911km1PVMu890N2JEqUVRQb4YTn8+1dYUglWPL+zaAki3wJ84G5uM6ZY0R7mMEp/5J8RFEeByzdTiHLtB9U2fPnBJiGdKfFN/ysnoZOLN0nAHvvnTEa4pkO2BXNrrhVl7Nje/y9IDmQntCNIHomF9Fy4bo1SpChj1vRXWbLETlMdFkRINHMVWAvemoIDv+CaHVRaaoy/XtTngqA5lyZZwiwiix+HBIDPE5HAnGE/Zqgc2L+ByR3ak33H6O6iGJoVdR79uu9PiW0iaWJwruXgSfm7Fq0KuOHNg0QzfTqsZf0jgT5RhT4apSGHZOl2g4QUkMUee6BPuFM435ZZFdOfDZw1YRdqdFvI6OJgx7+G+kwwnEa125LuBgbJzqLRVxH0LbD9HoBoEqZUB4H0V+0PUY7uVSKcpZUi0RwiLjcoHJzaJlgJdaEc9GrDhh8OvDXOxsBJcRrJDmAH5WbGLXbq7+HUknfbJFkcl6rg9bPWDah0DDf98weqUdafpn0TTt7qoOGW1z27yVApGn9bm9B7ykCa/i9QtX/6G9RTaoslTU45pYzA1Clw9ccRNxv7O+2afU5KZORZPYNXCho4K7tpR7Hw788Rj68x1GYxrZh82+s0fs/SYpvzvN6EiFxKY8R+f1azefD
|
|
||||||
cookie-secret: AgAPJomNWVV2m8izVg8CQ78mnXP9qQaXh1WaIELv4JzwyUIcMOddDDq8PWzmAiWfV24iYj/oy9QB0jruI8+78H5nU6QsF5KB3DlZiDjzwaUeNOs1q4wPsQ/aU9JygYpWD2dYUn4pBYqQQxJyf/gJ1u6jbGMbjsO5J3kkK4RaFiTNt+A3151nmYVgWToknTPPcTaFgpH0xumhQHicO9MyaNsSKOJ1c2AeUiWHqc/0a39tuchCgq4Gm1FOKjXXfevcZw/IamnRiEegoAr5qgSPl7e1xfZeG49FJacsfpWEuQhmKGsaePTHok141VnkKHhlmFdewe3Sn+kSWJbtAx6jky0sqClUKqopVjxfj5IKwcucE0NjxxX2HXmQb/e9nY3BLQ1CRjQQVCNa+JJy6DvAbcERHs7t9T7ATXm4S5lawp9fp8UB1ySy++q4Qvmc+4/16tgugqVEths/n+gSYLWAM8Ibd42RhNXlWqjzvpAUXmHX3Dt/26wNy+5ZnRlcwOIotPBdDqQKlp3fGKc2loC2JHcyN1PH31EwY5+h4pdU/sGSU+EsPd43hALUHq3XzvibHVDQTzyerJgC77NX6kvu2W+V5iWN9LYAAVjMh5yzLYjfgoC/zzIiOIe9yRf6zJzW0nhSkdcoC8EH0lcwEEDp0d/CuO0A6AwWOBaer+tnQtjHeZse9RdKEfyisJDDa7xUNj4T9e8Z+shdkU94vladQpVP1lyRd4auXF7B+T0+1Pkmvac8wDHDk67iomi+1BpS+/2jdJUGJO+91+qIdCFLPi1Y
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: auth-oidc
|
|
||||||
namespace: music-man
|
|
||||||
4
secrets/overlays/aks-dev/kustomization.yaml
Normal file
4
secrets/overlays/aks-dev/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/aks-prod/kustomization.yaml
Normal file
4
secrets/overlays/aks-prod/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/eks-dev/kustomization.yaml
Normal file
4
secrets/overlays/eks-dev/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/eks-prod/kustomization.yaml
Normal file
4
secrets/overlays/eks-prod/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/gke-dev/kustomization.yaml
Normal file
4
secrets/overlays/gke-dev/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/gke-prod/kustomization.yaml
Normal file
4
secrets/overlays/gke-prod/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/upc-dev/kustomization.yaml
Normal file
4
secrets/overlays/upc-dev/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
4
secrets/overlays/upc-prod/kustomization.yaml
Normal file
4
secrets/overlays/upc-prod/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
Reference in New Issue
Block a user