Compare commits
13 Commits
66de9b8a0a
...
feature/ar
| Author | SHA1 | Date | |
|---|---|---|---|
| b730277192 | |||
| 0ea33c027f | |||
| d2bd8b6339 | |||
| 0af08ca653 | |||
| a3fd2eb908 | |||
| 61cfae7380 | |||
| 70ebf6b341 | |||
| 6bdb86684a | |||
| 5d2ca24611 | |||
| b9f1a9fb34 | |||
| e4a32b2c4c | |||
| 2ce6d6f62a | |||
| 10a4c82834 |
52
README.md
52
README.md
@@ -57,7 +57,7 @@ This repository contains the complete GitOps configuration for our Kubernetes cl
|
|||||||
|
|
||||||
### What's Inside
|
### What's Inside
|
||||||
|
|
||||||
- **Infrastructure Applications**: Traefik, Cert-Manager, Kyverno, Prometheus, Grafana, Loki, Tempo, Sealed Secrets, Homepage (platform dashboard)
|
- **Infrastructure Applications**: Traefik, Cert-Manager, Kyverno, Prometheus, Grafana, Loki, Tempo, Sealed Secrets
|
||||||
- **Business Applications**: MCP10X, MusicMan, Dot-AI Stack, ArgoCD MCP
|
- **Business Applications**: MCP10X, MusicMan, Dot-AI Stack, ArgoCD MCP
|
||||||
- **Policies**: Kyverno security policies for secret management, namespace controls, pod verification
|
- **Policies**: Kyverno security policies for secret management, namespace controls, pod verification
|
||||||
- **Monitoring**: Full observability stack with metrics, logs, traces, and alerting
|
- **Monitoring**: Full observability stack with metrics, logs, traces, and alerting
|
||||||
@@ -84,25 +84,24 @@ This repository contains the complete GitOps configuration for our Kubernetes cl
|
|||||||
├── _app-of-apps.yaml # Root ArgoCD Application (App-of-Apps pattern)
|
├── _app-of-apps.yaml # Root ArgoCD Application (App-of-Apps pattern)
|
||||||
│
|
│
|
||||||
├── infra/ # Infrastructure ArgoCD Applications (Kustomize multi-cluster)
|
├── infra/ # Infrastructure ArgoCD Applications (Kustomize multi-cluster)
|
||||||
│ ├── base/ # Base ArgoCD Application manifests (one dir per component)
|
│ ├── base/ # Base ArgoCD Application manifests (EU defaults)
|
||||||
│ │ ├── kustomization.yaml # Aggregates all component subdirectories
|
│ │ ├── kustomization.yaml
|
||||||
│ │ ├── traefik-application/
|
│ │ ├── traefik-application.yaml
|
||||||
│ │ │ ├── kustomization.yaml
|
│ │ ├── keycloak.yaml
|
||||||
│ │ │ └── traefik-application.yaml
|
│ │ ├── grafana.yaml
|
||||||
│ │ ├── keycloak/
|
│ │ ├── gitea.yaml
|
||||||
│ │ │ ├── kustomization.yaml
|
│ │ ├── gitea-actions.yaml
|
||||||
│ │ │ └── keycloak.yaml
|
│ │ ├── tempo.yaml
|
||||||
│ │ ├── grafana/
|
│ │ ├── renovate.yaml
|
||||||
│ │ ├── prometheus/
|
│ │ ├── ... # All other Application manifests
|
||||||
│ │ ├── ... # Each component in its own subdirectory
|
│ │ └── secrets.yaml
|
||||||
│ │ └── secrets/
|
|
||||||
│ ├── overlays/ # Per-cluster overrides (Kustomize)
|
│ ├── overlays/ # Per-cluster overrides (Kustomize)
|
||||||
│ │ ├── upc-dev/ # UpCloud Dev — includes all base components
|
│ │ ├── upc-dev/ # UpCloud Dev (uses base as-is)
|
||||||
│ │ ├── upc-prod/ # UpCloud Prod — all components + patches
|
│ │ ├── upc-prod/ # UpCloud Prod (patches value paths)
|
||||||
│ │ ├── aks-dev/ # Azure AKS Dev — selective components only
|
|
||||||
│ │ ├── aks-prod/ # Azure AKS Prod
|
|
||||||
│ │ ├── eks-dev/ # AWS EKS Dev
|
│ │ ├── eks-dev/ # AWS EKS Dev
|
||||||
│ │ ├── eks-prod/ # AWS EKS Prod
|
│ │ ├── eks-prod/ # AWS EKS Prod
|
||||||
|
│ │ ├── aks-dev/ # Azure AKS Dev
|
||||||
|
│ │ ├── aks-prod/ # Azure AKS Prod
|
||||||
│ │ ├── gke-dev/ # GCP GKE Dev
|
│ │ ├── gke-dev/ # GCP GKE Dev
|
||||||
│ │ └── gke-prod/ # GCP GKE Prod
|
│ │ └── gke-prod/ # GCP GKE Prod
|
||||||
│ ├── dashboards/ # Grafana dashboard ConfigMaps
|
│ ├── dashboards/ # Grafana dashboard ConfigMaps
|
||||||
@@ -117,18 +116,11 @@ This repository contains the complete GitOps configuration for our Kubernetes cl
|
|||||||
│ ├── gke-dev/ # GCP GKE Dev
|
│ ├── gke-dev/ # GCP GKE Dev
|
||||||
│ └── gke-prod/ # GCP GKE Prod
|
│ └── gke-prod/ # GCP GKE Prod
|
||||||
│
|
│
|
||||||
├── apps/ # Business Applications (Kustomize, same pattern as infra)
|
├── apps/ # Business Applications
|
||||||
│ ├── base/ # One subdirectory per app
|
│ ├── mcp10x.yaml
|
||||||
│ │ ├── kustomization.yaml
|
│ ├── musicman.yaml
|
||||||
│ │ ├── musicman/
|
│ ├── dot-ai-stack.yaml
|
||||||
│ │ ├── mcp10x/
|
│ └── argo-mcp.yaml
|
||||||
│ │ ├── dot-ai-stack/
|
|
||||||
│ │ ├── ts-mcp/
|
|
||||||
│ │ └── argo-mcp/
|
|
||||||
│ └── overlays/ # Per-cluster: cherry-pick or include all
|
|
||||||
│ ├── upc-dev/ # All apps
|
|
||||||
│ ├── upc-prod/ # All apps + patches
|
|
||||||
│ └── aks-dev/ # Selective apps only
|
|
||||||
│
|
│
|
||||||
├── cluster-resources/ # Cluster-wide Kubernetes resources
|
├── cluster-resources/ # Cluster-wide Kubernetes resources
|
||||||
│ ├── letsencrypt-issuer.yaml
|
│ ├── letsencrypt-issuer.yaml
|
||||||
@@ -380,7 +372,7 @@ kubectl patch application myapp -n argocd \
|
|||||||
## 📖 Key Concepts
|
## 📖 Key Concepts
|
||||||
|
|
||||||
### App-of-Apps Pattern
|
### App-of-Apps Pattern
|
||||||
`_app-of-apps-{cluster}.yaml` is the root Application that manages all other Applications in `infra/`. Each component in `infra/base/` lives in its own subdirectory (e.g., `infra/base/grafana/`). Overlays can either include **all** components (via `../../base`) or **cherry-pick** specific ones (via `../../base/grafana`, `../../base/prometheus`, etc.). Per-cluster patches swap Helm value file paths. Supported clusters: `upc-dev`, `upc-prod`, `eks-dev`, `eks-prod`, `aks-dev`, `aks-prod`, `gke-dev`, `gke-prod`.
|
`_app-of-apps-{cluster}.yaml` is the root Application that manages all other Applications in `infra/`. Kustomize overlays in `infra/overlays/{cluster}/` render the base Applications with per-cluster patches (e.g., swapping value file paths). Supported clusters: `upc-dev`, `upc-prod`, `eks-dev`, `eks-prod`, `aks-dev`, `aks-prod`, `gke-dev`, `gke-prod`.
|
||||||
|
|
||||||
### Multi-Source Pattern
|
### Multi-Source Pattern
|
||||||
Applications reference both:
|
Applications reference both:
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- argo-mcp.yaml
|
|
||||||
- argocdmcp-auth-oidc-sealed.yaml
|
|
||||||
- argocd-mcp-credentials.yaml
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- dot-ai-stack.yaml
|
|
||||||
- dot-ai-secrets.yaml
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- dot-ai-stack
|
- dot-ai-stack.yaml
|
||||||
- mcp10x
|
- mcp10x.yaml
|
||||||
- musicman
|
- musicman.yaml
|
||||||
- ts-mcp
|
- ts-mcp.yaml
|
||||||
- argo-mcp
|
- argo-mcp.yaml
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- mcp10x.yaml
|
|
||||||
- forte10x-app-credentials-sealed.yaml
|
|
||||||
@@ -36,8 +36,13 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
allowEmpty: false
|
||||||
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
- Validate=true
|
||||||
|
- ServerSideApply=false
|
||||||
|
- Replace=false
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
backoff:
|
backoff:
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- musicman.yaml
|
|
||||||
- musicman-credentials.yaml
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ts-mcp.yaml
|
|
||||||
- ts-mcp-secrets-sealed.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ../../base/musicman
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: dbunk-demo
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "12"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: dbunk-demo
|
|
||||||
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/dbunk-demo/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: dbunk-demo
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- dbunk-demo.yaml
|
|
||||||
@@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
- dbunk-demo
|
|
||||||
|
|
||||||
# No patches needed — base already has "upc-dev" paths
|
# No patches needed — base already has "upc-dev" paths
|
||||||
# upc-dev is the default/base cluster
|
# upc-dev is the default/base cluster
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ echo "Bootstrapping cluster: ${clusterName} (${CLUSTER})..."
|
|||||||
Bootstrap()
|
Bootstrap()
|
||||||
{
|
{
|
||||||
ArgoCd
|
ArgoCd
|
||||||
Gitea
|
# Gitea
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# Cluster config reference — values must match the corresponding overlay files.
|
# Cluster config reference — values must match the corresponding overlay files.
|
||||||
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
# Read by bootstrap.sh at install time; NOT auto-propagated to ArgoCD value files.
|
||||||
clusterName: k8s-launchpad # → infra/values/aks-dev/argocd-values.yaml (notifications.context.clusterName)
|
clusterName: dev-aks # → infra/values/aks-dev/argocd-values.yaml (notifications.context.clusterName)
|
||||||
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
domain: example.com # → infra/values/base/gitea-values.yaml, renovate-values.yaml, keycloak-values.yaml (subdomains)
|
||||||
argocdDomain: argocd.example.com # → infra/values/aks-dev/argocd-values.yaml (global.domain)
|
argocdDomain: argocd.example.com # → infra/values/aks-dev/argocd-values.yaml (global.domain)
|
||||||
grafanaDomain: grafana.example.com # → infra/values/aks-dev/grafana-values.yaml (ingress.hosts)
|
grafanaDomain: grafana.example.com # → infra/values/aks-dev/grafana-values.yaml (ingress.hosts)
|
||||||
|
|||||||
@@ -120,25 +120,24 @@ launchpad/
|
|||||||
├── _app-of-apps-upc-prod.yaml # Root ArgoCD Application (upc-prod cluster)
|
├── _app-of-apps-upc-prod.yaml # Root ArgoCD Application (upc-prod cluster)
|
||||||
│
|
│
|
||||||
├── infra/ # Infrastructure ArgoCD Applications (Kustomize)
|
├── infra/ # Infrastructure ArgoCD Applications (Kustomize)
|
||||||
│ ├── base/ # Base Application manifests (one dir per component)
|
│ ├── base/ # Base Application manifests (upc-dev defaults)
|
||||||
│ │ ├── kustomization.yaml # Aggregates all component subdirectories
|
│ │ ├── kustomization.yaml
|
||||||
│ │ ├── traefik-application/
|
│ │ ├── traefik-application.yaml
|
||||||
│ │ │ ├── kustomization.yaml
|
│ │ ├── keycloak.yaml
|
||||||
│ │ │ └── traefik-application.yaml
|
│ │ ├── grafana.yaml
|
||||||
│ │ ├── keycloak/
|
│ │ ├── gitea.yaml
|
||||||
│ │ │ ├── kustomization.yaml
|
│ │ ├── gitea-actions.yaml
|
||||||
│ │ │ └── keycloak.yaml
|
│ │ ├── tempo.yaml
|
||||||
│ │ ├── grafana/
|
│ │ ├── renovate.yaml
|
||||||
│ │ ├── prometheus/
|
│ │ ├── ... # All other Application manifests
|
||||||
│ │ ├── ... # Each component in its own subdirectory
|
│ │ └── secrets.yaml
|
||||||
│ │ └── secrets/
|
|
||||||
│ ├── overlays/ # Per-cluster Kustomize overrides
|
│ ├── overlays/ # Per-cluster Kustomize overrides
|
||||||
│ │ ├── upc-dev/ # UpCloud Dev — includes all (resources: ../../base)
|
│ │ ├── upc-dev/ # UpCloud Dev (uses base as-is)
|
||||||
│ │ ├── upc-prod/ # UpCloud Prod — all + patches
|
│ │ ├── upc-prod/ # UpCloud Prod (patches value paths)
|
||||||
│ │ ├── aks-dev/ # Azure AKS Dev — selective components
|
|
||||||
│ │ ├── aks-prod/ # Azure AKS Prod
|
|
||||||
│ │ ├── eks-dev/ # AWS EKS Dev
|
│ │ ├── eks-dev/ # AWS EKS Dev
|
||||||
│ │ ├── eks-prod/ # AWS EKS Prod
|
│ │ ├── eks-prod/ # AWS EKS Prod
|
||||||
|
│ │ ├── aks-dev/ # Azure AKS Dev
|
||||||
|
│ │ ├── aks-prod/ # Azure AKS Prod
|
||||||
│ │ ├── gke-dev/ # GCP GKE Dev
|
│ │ ├── gke-dev/ # GCP GKE Dev
|
||||||
│ │ └── gke-prod/ # GCP GKE Prod
|
│ │ └── gke-prod/ # GCP GKE Prod
|
||||||
│ ├── dashboards/ # Grafana dashboard ConfigMaps
|
│ ├── dashboards/ # Grafana dashboard ConfigMaps
|
||||||
@@ -150,17 +149,13 @@ launchpad/
|
|||||||
│ └── gcp-{dev,prod}/ # GCP: premium-rwo, L4 LB
|
│ └── gcp-{dev,prod}/ # GCP: premium-rwo, L4 LB
|
||||||
│
|
│
|
||||||
├── apps/ # Business Application ArgoCD manifests (Kustomize)
|
├── apps/ # Business Application ArgoCD manifests (Kustomize)
|
||||||
│ ├── base/ # One subdirectory per app
|
│ ├── base/ # Base app manifests
|
||||||
│ │ ├── kustomization.yaml
|
│ │ ├── kustomization.yaml
|
||||||
│ │ ├── musicman/
|
│ │ ├── dot-ai-stack.yaml
|
||||||
│ │ ├── mcp10x/
|
│ │ └── ...
|
||||||
│ │ ├── dot-ai-stack/
|
|
||||||
│ │ ├── ts-mcp/
|
|
||||||
│ │ └── argo-mcp/
|
|
||||||
│ └── overlays/
|
│ └── overlays/
|
||||||
│ ├── upc-dev/ # All apps (resources: ../../base)
|
│ ├── upc-dev/ # Uses base as-is
|
||||||
│ ├── upc-prod/ # All apps + patches
|
│ └── upc-prod/ # Patches value paths
|
||||||
│ └── aks-dev/ # Selective apps only
|
|
||||||
│
|
│
|
||||||
├── cluster-resources/ # Cluster-wide Kubernetes resources
|
├── cluster-resources/ # Cluster-wide Kubernetes resources
|
||||||
│ ├── ...
|
│ ├── ...
|
||||||
@@ -176,8 +171,6 @@ launchpad/
|
|||||||
|
|
||||||
**Key Points**:
|
**Key Points**:
|
||||||
- `_app-of-apps-upc-dev.yaml` and `_app-of-apps-upc-prod.yaml` are the per-cluster root Applications
|
- `_app-of-apps-upc-dev.yaml` and `_app-of-apps-upc-prod.yaml` are the per-cluster root Applications
|
||||||
- Each component in `base/` has its own subdirectory with a `kustomization.yaml`
|
|
||||||
- Overlays can include **all** components (`resources: [../../base]`) or **cherry-pick** specific ones (`resources: [../../base/grafana, ../../base/prometheus]`)
|
|
||||||
- Kustomize overlays in `infra/overlays/` render base Applications with per-cluster patches
|
- Kustomize overlays in `infra/overlays/` render base Applications with per-cluster patches
|
||||||
- Helm values are split: `values/base/` (shared) + `values/upc-dev/` or `values/upc-prod/` (cluster-specific)
|
- Helm values are split: `values/base/` (shared) + `values/upc-dev/` or `values/upc-prod/` (cluster-specific)
|
||||||
- `apps/` follows the same base/overlays pattern for business applications
|
- `apps/` follows the same base/overlays pattern for business applications
|
||||||
@@ -360,30 +353,16 @@ spec:
|
|||||||
|
|
||||||
### Multi-Cluster Pattern
|
### Multi-Cluster Pattern
|
||||||
|
|
||||||
Kustomize overlays enable deploying the same Applications across clusters with different configurations.
|
Kustomize overlays enable deploying the same Applications across clusters with different configurations:
|
||||||
|
|
||||||
Each component in `infra/base/` and `apps/base/` lives in its own subdirectory. Overlays define **which components to include** and optionally **patch** them:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Option 1: Include ALL components (full cluster)
|
# infra/base/ contains default (upc-dev) Applications
|
||||||
# infra/overlays/upc-dev/kustomization.yaml
|
# Helm values are layered: base + cluster-specific
|
||||||
resources:
|
valueFiles:
|
||||||
- ../../base # Pulls in every component subdirectory
|
- $values/infra/values/base/traefik-values.yaml # Shared config
|
||||||
|
- $values/infra/values/upc-dev/traefik-values.yaml # Cluster-specific
|
||||||
|
|
||||||
# Option 2: Cherry-pick specific components (lightweight cluster)
|
# infra/overlays/upc-prod/kustomization.yaml patches the second valueFile
|
||||||
# infra/overlays/aks-dev/kustomization.yaml
|
|
||||||
resources:
|
|
||||||
- ../../base/traefik-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/loki
|
|
||||||
# Only listed components are deployed — others are excluded
|
|
||||||
```
|
|
||||||
|
|
||||||
Per-cluster patches swap Helm value file paths:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
# infra/overlays/upc-prod/kustomization.yaml
|
|
||||||
patches:
|
patches:
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
|
|||||||
@@ -76,28 +76,33 @@ launchpad/
|
|||||||
├── _app-of-apps-upc-dev.yaml # Root ArgoCD Application (upc-dev)
|
├── _app-of-apps-upc-dev.yaml # Root ArgoCD Application (upc-dev)
|
||||||
├── _app-of-apps-upc-prod.yaml # Root ArgoCD Application (upc-prod)
|
├── _app-of-apps-upc-prod.yaml # Root ArgoCD Application (upc-prod)
|
||||||
│
|
│
|
||||||
├── infra/ # Infrastructure applications (Kustomize)
|
├── infra/ # Infrastructure applications
|
||||||
│ ├── base/ # One subdirectory per component
|
│ ├── cluster-resources-application.yaml
|
||||||
│ │ ├── kustomization.yaml # Aggregates all component subdirectories
|
│ ├── enterprise-apps.yaml
|
||||||
│ │ ├── traefik-application/
|
│ ├── traefik-application.yaml
|
||||||
│ │ │ ├── kustomization.yaml
|
│ ├── cert-manager-application.yaml
|
||||||
│ │ │ └── traefik-application.yaml
|
│ ├── kyverno.yaml
|
||||||
│ │ ├── keycloak/
|
│ ├── kyverno-policies.yaml
|
||||||
│ │ │ ├── kustomization.yaml
|
│ ├── prometheus.yaml
|
||||||
│ │ │ └── keycloak.yaml
|
│ ├── grafana.yaml
|
||||||
│ │ ├── grafana/
|
│ ├── loki.yaml
|
||||||
│ │ ├── prometheus/
|
│ ├── tempo.yaml
|
||||||
│ │ ├── loki/
|
│ ├── fluent-bit.yaml
|
||||||
│ │ ├── tempo/
|
│ ├── gitea.yaml
|
||||||
│ │ ├── gitea/
|
│ ├── gitea-actions.yaml
|
||||||
│ │ ├── opencost/
|
│ ├── sealedsecrets.yaml
|
||||||
│ │ ├── ... # Each component in own directory
|
│ ├── secrets.yaml
|
||||||
│ │ └── secrets/
|
│ ├── renovate.yaml
|
||||||
│ ├── overlays/ # Per-cluster: include all or cherry-pick
|
│ ├── base/ # ArgoCD Application manifests (Kustomize base)
|
||||||
│ │ ├── upc-dev/ # resources: [../../base] (all components)
|
│ │ ├── gitea.yaml
|
||||||
│ │ ├── upc-prod/ # resources: [../../base] + patches
|
│ │ ├── opencost.yaml
|
||||||
│ │ ├── aks-dev/ # resources: [../../base/grafana, ...] (selective)
|
│ │ ├── traefik-application.yaml
|
||||||
│ │ └── .../ # 8 clusters total
|
│ │ ├── keycloak.yaml
|
||||||
|
│ │ ├── grafana.yaml
|
||||||
|
│ │ └── ...
|
||||||
|
│ ├── overlays/
|
||||||
|
│ │ └── upc-prod/
|
||||||
|
│ │ └── kustomization.yaml # Patches upc-dev → upc-prod valueFile paths
|
||||||
│ └── values/
|
│ └── values/
|
||||||
│ ├── base/ # Cloud-agnostic Helm values
|
│ ├── base/ # Cloud-agnostic Helm values
|
||||||
│ │ ├── gitea-values.yaml
|
│ │ ├── gitea-values.yaml
|
||||||
@@ -117,18 +122,11 @@ launchpad/
|
|||||||
│ ├── gitea-values.yaml
|
│ ├── gitea-values.yaml
|
||||||
│ └── opencost-values.yaml
|
│ └── opencost-values.yaml
|
||||||
│
|
│
|
||||||
├── apps/ # Business applications (Kustomize)
|
├── apps/ # Business applications
|
||||||
│ ├── base/ # One subdirectory per app
|
│ ├── mcp10x.yaml
|
||||||
│ │ ├── kustomization.yaml
|
│ ├── musicman.yaml
|
||||||
│ │ ├── musicman/
|
│ ├── dot-ai-stack.yaml
|
||||||
│ │ ├── mcp10x/
|
│ └── argo-mcp.yaml
|
||||||
│ │ ├── dot-ai-stack/
|
|
||||||
│ │ ├── ts-mcp/
|
|
||||||
│ │ └── argo-mcp/
|
|
||||||
│ └── overlays/ # Per-cluster: include all or cherry-pick
|
|
||||||
│ ├── upc-dev/
|
|
||||||
│ ├── upc-prod/
|
|
||||||
│ └── aks-dev/ # Selective apps only
|
|
||||||
│
|
│
|
||||||
├── cluster-resources/ # Cluster-level resources
|
├── cluster-resources/ # Cluster-level resources
|
||||||
│ ├── cert-manager-namespace.yaml
|
│ ├── cert-manager-namespace.yaml
|
||||||
@@ -725,59 +723,6 @@ TLS terminates at Traefik; ArgoCD runs in insecure mode behind the proxy.
|
|||||||
|
|
||||||
## Infrastructure Components
|
## Infrastructure Components
|
||||||
|
|
||||||
### Homepage (Platform Dashboard)
|
|
||||||
|
|
||||||
**Chart**: `jameswynn/homepage`
|
|
||||||
**Namespace**: `homepage`
|
|
||||||
**URL**: `https://start.forteapps.net`
|
|
||||||
|
|
||||||
Platform dashboard that auto-discovers deployed apps via Kubernetes service annotations.
|
|
||||||
|
|
||||||
**Discovery mechanism**: Services annotated with `gethomepage.dev/enabled: "true"` appear in the dashboard. Apps not deployed = annotations absent = not shown. Fully dynamic per environment.
|
|
||||||
|
|
||||||
**Annotated services**:
|
|
||||||
| Service | Namespace | Group | Widget |
|
|
||||||
|---------|-----------|-------|--------|
|
|
||||||
| `gitea-http` | `gitea` | DevOps | `gitea` |
|
|
||||||
| `argocd-server` | `argocd` | DevOps | `argocd` |
|
|
||||||
| `keycloak` | `keycloak` | Identity | none |
|
|
||||||
| `grafana` | `monitoring` | Monitoring | `grafana` |
|
|
||||||
| `karpor-server` | `karpor` | DevOps | none |
|
|
||||||
|
|
||||||
**Adding a new app**: Annotate the app's Service in its Helm values:
|
|
||||||
```yaml
|
|
||||||
service:
|
|
||||||
annotations:
|
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "My App"
|
|
||||||
gethomepage.dev/description: "What it does"
|
|
||||||
gethomepage.dev/group: "GroupName"
|
|
||||||
gethomepage.dev/icon: "icon-name" # https://github.com/walkxcode/dashboard-icons
|
|
||||||
gethomepage.dev/href: "https://myapp.forteapps.net"
|
|
||||||
# Optional live widget:
|
|
||||||
gethomepage.dev/widget.type: "myapp"
|
|
||||||
gethomepage.dev/widget.url: "https://myapp.forteapps.net"
|
|
||||||
# gethomepage.dev/widget.key: "{{HOMEPAGE_VAR_MYAPP_TOKEN}}"
|
|
||||||
```
|
|
||||||
|
|
||||||
**Widget API credentials**: Inject via env vars into the Homepage pod:
|
|
||||||
```yaml
|
|
||||||
# In homepage-values.yaml per environment
|
|
||||||
env:
|
|
||||||
- name: HOMEPAGE_VAR_GRAFANA_TOKEN
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: homepage-widget-credentials
|
|
||||||
key: grafana-token
|
|
||||||
```
|
|
||||||
Then reference as `gethomepage.dev/widget.key: "{{HOMEPAGE_VAR_GRAFANA_TOKEN}}"`.
|
|
||||||
|
|
||||||
**Values files**:
|
|
||||||
- `infra/values/base/homepage-values.yaml` — RBAC, kubernetes mode, layout
|
|
||||||
- `infra/values/{env}/homepage-values.yaml` — hostname per environment
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Traefik
|
### Traefik
|
||||||
|
|
||||||
**Chart**: `traefik/traefik`
|
**Chart**: `traefik/traefik`
|
||||||
@@ -1141,30 +1086,6 @@ ignore:
|
|||||||
- Check Gitea Actions tab for workflow run status and logs
|
- Check Gitea Actions tab for workflow run status and logs
|
||||||
- Monitor Anthropic usage dashboard for token consumption
|
- Monitor Anthropic usage dashboard for token consumption
|
||||||
|
|
||||||
### Keycloak Browser Flow (IdP Auto-Redirect)
|
|
||||||
|
|
||||||
**File**: `infra/values/base/keycloak-values.yaml` (inside `forte-realm.json`)
|
|
||||||
|
|
||||||
The realm uses a custom browser authentication flow (`browser-auto-idp`) that skips the Keycloak login page and redirects directly to the Entra ID identity provider.
|
|
||||||
|
|
||||||
**Flow executions**:
|
|
||||||
|
|
||||||
| Priority | Authenticator | Requirement | Purpose |
|
|
||||||
|----------|--------------|-------------|---------|
|
|
||||||
| 10 | `auth-cookie` | ALTERNATIVE | Reuse existing session (no redirect) |
|
|
||||||
| 20 | `identity-provider-redirector` | ALTERNATIVE | Auto-redirect to `forte-entra` IdP |
|
|
||||||
|
|
||||||
**Key fields in realm JSON**:
|
|
||||||
- `"browserFlow": "browser-auto-idp"` — overrides the default `browser` flow at realm level
|
|
||||||
- `"authenticationFlows"` — defines the custom flow with its executions
|
|
||||||
- `"authenticatorConfig"` — sets `defaultProvider: "forte-entra"` on the redirector
|
|
||||||
|
|
||||||
**Why custom flow**: The default KC browser flow shows a username/password form with an IdP button. Since all authentication is via Entra ID, the custom flow eliminates this step. The `auth-cookie` execution preserves session reuse so returning users aren't redirected again.
|
|
||||||
|
|
||||||
**Important**: The `forte-entra` identity provider must exist in Keycloak (currently configured manually in the KC admin console). If the IdP alias changes, update the `defaultProvider` value in the realm JSON.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Keycloak Client Registrar
|
### Keycloak Client Registrar
|
||||||
|
|
||||||
**Type**: CronJob (deployed via Keycloak Helm chart `extraDeploy`)
|
**Type**: CronJob (deployed via Keycloak Helm chart `extraDeploy`)
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- cert-manager-application.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- cluster-resources-application.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- databunker.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- enterprise-apps.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- fluent-bit.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- gitea-actions.yaml
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- gitea.yaml
|
|
||||||
- gitea-backup-s3-sealed.yaml
|
|
||||||
- gitea-credentials-sealed.yaml
|
|
||||||
- gitea-runner-token-sealed.yaml
|
|
||||||
- gitea-smtp-secret-sealed.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- grafana-dashboards.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- grafana.yaml
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: homepage-services-reader
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["services"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: homepage-services-reader
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: homepage-services-reader
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: homepage
|
|
||||||
namespace: homepage
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: homepage-widget-credentials
|
|
||||||
namespace: homepage
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
HOMEPAGE_VAR_GITEA_TOKEN: AgAVN1C931EQpn+sodr3CpjlhORfJVTW8aUr+pGZQb+65Pb8QLGeVGVa7Jv60gDJUX3r+93/jMrEbCOeDL6I4qCz/V35wMCxFZLnXIdkmto0W4MKt6cK8To1/OP7EhQJOGBlSuOFsrwoy+HDtvLIqmyF0nrxhTusm9/NHrw+gCVwSTPhiAX1MCuSOSRWpbXvyNphW8j7aqUaV6ixDt424Fe4alEIShYELcS3EX/VPgsf2p2bhvBRCQOh3LEprkuxSFMuPfCBk06TPTbIN4saNVm0Ke0zW/pxkVNSiIxEnKjOmpPJtacsfWN7du+nQbx276G2qvWrf+iawJVq0Z/SLikA/NUFBL6EjSRfgE3cSOri8sbxsd0AycsFGyp98EM29wE+WOQl52M/lwl02EmCivqkICSO7Jp9pM1ScbmRMa5vcnupsGbVDxhRKLqxhAskt/BXDkRzvHN31gH3YmelES3JuqNMHV0urFxmX2oOX9Pxbtv63csc+zhy1Ui5aoex7TPnLdk7kYLSAE2MSrzT6wHvVhBC5kNnDYVrLehvJrT+eNh0MOLx2wkuJmIOxRAGUyNi5DfDnP6qnvj2aefEymLuOXAIUXH8DbeBtrjsd74HX2hhIfBlPkXvhJR3ks7i5RXjK2/YYHkgJ+nJoW80S9N7ciaRy103g74TNJZt6QzzL5Vb80qZ6yQOD4G081KmTLDmhHjJVIIv9M3nLh2s0IeBV3/Z5qHZmtjN7sSaKAn4MIr5FaH9quhx
|
|
||||||
HOMEPAGE_VAR_GRAFANA_TOKEN: AgBloBlOlP+R/4VizE1CGpj0wyiwU14BemAnuUpld7OvOGc67dwfDPyponkQXjAZg3UU2cZ70A51WUAuVlAr+25Ktlf/FW2OBqj+1BJOCqMMyu+kv026yjX2aB8dKGzlTxgF8aji+j1mC8vP3vvmgI4Zf2HQAH7uFwLfeo8+QnV5EyhcExSS0xDne+VtOP9jNXbPRayry0DdyRVtaeKAiZacO+45oAJWszWOwmoMTg9FZQkLjER6Q0tyI6NnoNObsFCnh56chZTdzBOYtmPnwld1bP2FjoJDqn8AfRwbPTIj7t0eFP7WLUO7GQKpxVl+pFwJLb5xCOw2+HNtp1BhNCu7icuc0P88IlvwzkbN0lXJbYigVOzyjEo8f/al1DXPM4WaB/Nqmr7Mtt8KTRh2WMVTgiX5jsu25D0rGDvY9gqfBBqswkRhCLsG0v0EN32zXj1/52KYdmB7pk/+2lMwSaGMS11MOenHeU1Z95fGxm9f3EGF0E8xlFr4FowgsNwr+tJQqpM0bT/4mZnaQbGWtKPFizMtsfQFm+rHFcNCrGaOuecslmiIJs8lTm18KlrncsGfxNS64tVXk+LvydU0rwybvpg2rQjEWtAl1IQsaaiz96OAlYxxK1MGxN7KE6F8R4kfnWTZ5Fs1KMmd/DOIVBXyCbqXxk8pbekmaIeNSfv92JNZ0QNJWsBa2vgQ24WI2pb4XiR0BvtLpt3BVlZUcSK92SzUblWmYWVMwHYCJkEeEUV1PhYEmyiN+V/Kq5Qb
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: homepage-widget-credentials
|
|
||||||
namespace: homepage
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: homepage
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "3"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
||||||
app.kubernetes.io/part-of: platform
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
|
|
||||||
sources:
|
|
||||||
- repoURL: https://jameswynn.github.io/helm-charts
|
|
||||||
chart: homepage
|
|
||||||
targetRevision: "2.1.0"
|
|
||||||
helm:
|
|
||||||
releaseName: homepage
|
|
||||||
valueFiles:
|
|
||||||
- $values/infra/values/base/homepage-values.yaml
|
|
||||||
- $values/infra/values/upc-dev/homepage-values.yaml
|
|
||||||
|
|
||||||
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
|
||||||
targetRevision: HEAD
|
|
||||||
ref: values
|
|
||||||
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: homepage
|
|
||||||
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
allowEmpty: false
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- Validate=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- homepage.yaml
|
|
||||||
- homepage-widget-credentials-sealed.yaml
|
|
||||||
- homepage-extra-rbac.yaml
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- keycloak.yaml
|
|
||||||
- keycloak-credentials-sealed.yaml
|
|
||||||
@@ -1,25 +1,24 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- traefik-application
|
- traefik-application.yaml
|
||||||
- keycloak
|
- keycloak.yaml
|
||||||
- grafana
|
- grafana.yaml
|
||||||
- cert-manager-application
|
- cert-manager-application.yaml
|
||||||
- kyverno
|
- kyverno.yaml
|
||||||
- sealedsecrets
|
- sealedsecrets.yaml
|
||||||
- prometheus
|
- prometheus.yaml
|
||||||
- loki
|
- loki.yaml
|
||||||
- fluent-bit
|
- fluent-bit.yaml
|
||||||
- enterprise-apps
|
- enterprise-apps.yaml
|
||||||
- cluster-resources-application
|
- cluster-resources-application.yaml
|
||||||
- kyverno-policies
|
- kyverno-policies.yaml
|
||||||
- gitea
|
- secrets.yaml
|
||||||
- gitea-actions
|
- gitea.yaml
|
||||||
- opencost
|
- gitea-actions.yaml
|
||||||
- renovate
|
- opencost.yaml
|
||||||
- tempo
|
- renovate.yaml
|
||||||
- grafana-dashboards
|
- tempo.yaml
|
||||||
- karpor
|
- grafana-dashboards.yaml
|
||||||
- databunker
|
- network-policies-application.yaml
|
||||||
- homepage
|
- karpor.yaml
|
||||||
- vault
|
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
allowEmpty: false
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- Validate=true
|
- Validate=true
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- kyverno-policies.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- kyverno.yaml
|
|
||||||
@@ -40,9 +40,3 @@ spec:
|
|||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- Validate=true
|
- Validate=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
|
|
||||||
ignoreDifferences:
|
|
||||||
- group: apps
|
|
||||||
kind: StatefulSet
|
|
||||||
jsonPointers:
|
|
||||||
- /spec/volumeClaimTemplates
|
|
||||||
@@ -1,42 +1,33 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: databunker
|
name: network-policies
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: network-policies
|
||||||
|
app.kubernetes.io/part-of: platform
|
||||||
|
app.kubernetes.io/managed-by: argocd
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: databunker
|
|
||||||
app.kubernetes.io/part-of: identity
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
finalizers:
|
finalizers:
|
||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|
||||||
sources:
|
source:
|
||||||
- repoURL: https://securitybunker.github.io/databunkerpro-setup
|
repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
||||||
chart: databunkerpro
|
|
||||||
targetRevision: "0.1.0"
|
|
||||||
helm:
|
|
||||||
releaseName: databunkerpro
|
|
||||||
valueFiles:
|
|
||||||
- $values/infra/values/base/databunker-values.yaml
|
|
||||||
|
|
||||||
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
ref: values
|
path: cluster-resources/network
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: databunker
|
|
||||||
|
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
allowEmpty: false
|
allowEmpty: false
|
||||||
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
|
||||||
- Validate=true
|
- Validate=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- opencost.yaml
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- prometheus.yaml
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- renovate.yaml
|
|
||||||
- renovate-env-sealed.yaml
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- sealedsecrets.yaml
|
|
||||||
- argocd-forte-helm-secret-sealed.yaml
|
|
||||||
30
infra/base/secrets.yaml
Normal file
30
infra/base/secrets.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: secrets
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
|
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: secrets
|
||||||
|
app.kubernetes.io/part-of: platform
|
||||||
|
app.kubernetes.io/managed-by: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
||||||
|
path: secrets/overlays/upc-dev
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: secrets
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -40,9 +40,3 @@ spec:
|
|||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- Validate=true
|
- Validate=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
|
|
||||||
ignoreDifferences:
|
|
||||||
- group: apps
|
|
||||||
kind: StatefulSet
|
|
||||||
jsonPointers:
|
|
||||||
- /spec/volumeClaimTemplates
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- traefik-application.yaml
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: vault
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: vault
|
|
||||||
app.kubernetes.io/part-of: security
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
|
|
||||||
sources:
|
|
||||||
- repoURL: https://helm.releases.hashicorp.com
|
|
||||||
chart: vault
|
|
||||||
targetRevision: "0.32.0"
|
|
||||||
helm:
|
|
||||||
releaseName: vault
|
|
||||||
valueFiles:
|
|
||||||
- $values/infra/values/base/vault-values.yaml
|
|
||||||
- $values/infra/values/upc-dev/vault-values.yaml
|
|
||||||
|
|
||||||
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
|
||||||
targetRevision: HEAD
|
|
||||||
ref: values
|
|
||||||
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: vault
|
|
||||||
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
allowEmpty: false
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- Validate=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
|
|
||||||
ignoreDifferences:
|
|
||||||
- group: apps
|
|
||||||
kind: StatefulSet
|
|
||||||
jsonPointers:
|
|
||||||
- /spec/volumeClaimTemplates
|
|
||||||
@@ -1,31 +1,9 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/enterprise-apps
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/homepage
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Homepage: swap upc-dev → aks-dev
|
|
||||||
- target:
|
|
||||||
kind: Application
|
|
||||||
name: homepage
|
|
||||||
patch: |
|
|
||||||
- op: replace
|
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
|
||||||
value: $values/infra/values/aks-dev/homepage-values.yaml
|
|
||||||
|
|
||||||
# Traefik: swap upc-dev → aks-dev
|
# Traefik: swap upc-dev → aks-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -35,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/aks-dev/traefik-values.yaml
|
value: $values/infra/values/aks-dev/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → aks-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/aks-dev/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → aks-dev
|
# Grafana: swap upc-dev → aks-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -44,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/aks-dev/grafana-values.yaml
|
value: $values/infra/values/aks-dev/grafana-values.yaml
|
||||||
|
|
||||||
|
# Gitea: swap upc-dev → aks-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: gitea
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/aks-dev/gitea-values.yaml
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → aks-dev
|
# OpenCost: swap upc-dev → aks-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -53,7 +49,16 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/aks-dev/opencost-values.yaml
|
value: $values/infra/values/aks-dev/opencost-values.yaml
|
||||||
|
|
||||||
# Ent apps: swap upc-dev → aks-prod
|
# Secrets: change path to aks-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/aks-dev
|
||||||
|
|
||||||
|
# Enterprise-apps: point to aks-dev overlay
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
name: enterprise-apps
|
name: enterprise-apps
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Traefik: swap upc-dev → aks-prod
|
# Traefik: swap upc-dev → aks-prod
|
||||||
@@ -24,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/aks-prod/traefik-values.yaml
|
value: $values/infra/values/aks-prod/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → aks-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/aks-prod/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → aks-prod
|
# Grafana: swap upc-dev → aks-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -33,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/aks-prod/grafana-values.yaml
|
value: $values/infra/values/aks-prod/grafana-values.yaml
|
||||||
|
|
||||||
|
# Gitea: swap upc-dev → aks-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: gitea
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/aks-prod/gitea-values.yaml
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → aks-prod
|
# OpenCost: swap upc-dev → aks-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -41,3 +48,21 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/aks-prod/opencost-values.yaml
|
value: $values/infra/values/aks-prod/opencost-values.yaml
|
||||||
|
|
||||||
|
# Secrets: change path to aks-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/aks-prod
|
||||||
|
|
||||||
|
# Enterprise-apps: point to aks-prod overlay
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: enterprise-apps
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: apps/overlays/aks-prod
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Traefik: swap upc-dev → eks-dev
|
# Traefik: swap upc-dev → eks-dev
|
||||||
@@ -24,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/eks-dev/traefik-values.yaml
|
value: $values/infra/values/eks-dev/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → eks-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/eks-dev/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → eks-dev
|
# Grafana: swap upc-dev → eks-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -33,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/eks-dev/grafana-values.yaml
|
value: $values/infra/values/eks-dev/grafana-values.yaml
|
||||||
|
|
||||||
|
# Gitea: swap upc-dev → eks-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: gitea
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/eks-dev/gitea-values.yaml
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → eks-dev
|
# OpenCost: swap upc-dev → eks-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -41,3 +48,21 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/eks-dev/opencost-values.yaml
|
value: $values/infra/values/eks-dev/opencost-values.yaml
|
||||||
|
|
||||||
|
# Secrets: change path to eks-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/eks-dev
|
||||||
|
|
||||||
|
# Enterprise-apps: point to eks-dev overlay
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: enterprise-apps
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: apps/overlays/eks-dev
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Traefik: swap upc-dev → eks-prod
|
# Traefik: swap upc-dev → eks-prod
|
||||||
@@ -24,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/eks-prod/traefik-values.yaml
|
value: $values/infra/values/eks-prod/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → eks-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/eks-prod/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → eks-prod
|
# Grafana: swap upc-dev → eks-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -33,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/eks-prod/grafana-values.yaml
|
value: $values/infra/values/eks-prod/grafana-values.yaml
|
||||||
|
|
||||||
|
# Gitea: swap upc-dev → eks-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: gitea
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/eks-prod/gitea-values.yaml
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → eks-prod
|
# OpenCost: swap upc-dev → eks-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -41,3 +48,21 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/eks-prod/opencost-values.yaml
|
value: $values/infra/values/eks-prod/opencost-values.yaml
|
||||||
|
|
||||||
|
# Secrets: change path to eks-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/eks-prod
|
||||||
|
|
||||||
|
# Enterprise-apps: point to eks-prod overlay
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: enterprise-apps
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: apps/overlays/eks-prod
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Traefik: swap upc-dev → gke-dev
|
# Traefik: swap upc-dev → gke-dev
|
||||||
@@ -24,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/gke-dev/traefik-values.yaml
|
value: $values/infra/values/gke-dev/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → gke-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/gke-dev/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → gke-dev
|
# Grafana: swap upc-dev → gke-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -33,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/gke-dev/grafana-values.yaml
|
value: $values/infra/values/gke-dev/grafana-values.yaml
|
||||||
|
|
||||||
|
# Gitea: swap upc-dev → gke-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: gitea
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/gke-dev/gitea-values.yaml
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → gke-dev
|
# OpenCost: swap upc-dev → gke-dev
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -41,3 +48,21 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/gke-dev/opencost-values.yaml
|
value: $values/infra/values/gke-dev/opencost-values.yaml
|
||||||
|
|
||||||
|
# Secrets: change path to gke-dev
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/gke-dev
|
||||||
|
|
||||||
|
# Enterprise-apps: point to gke-dev overlay
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: enterprise-apps
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: apps/overlays/gke-dev
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Traefik: swap upc-dev → gke-prod
|
# Traefik: swap upc-dev → gke-prod
|
||||||
@@ -24,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/gke-prod/traefik-values.yaml
|
value: $values/infra/values/gke-prod/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → gke-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/gke-prod/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → gke-prod
|
# Grafana: swap upc-dev → gke-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -33,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/gke-prod/grafana-values.yaml
|
value: $values/infra/values/gke-prod/grafana-values.yaml
|
||||||
|
|
||||||
|
# Gitea: swap upc-dev → gke-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: gitea
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/gke-prod/gitea-values.yaml
|
||||||
|
|
||||||
# OpenCost: swap upc-dev → gke-prod
|
# OpenCost: swap upc-dev → gke-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -41,3 +48,21 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/gke-prod/opencost-values.yaml
|
value: $values/infra/values/gke-prod/opencost-values.yaml
|
||||||
|
|
||||||
|
# Secrets: change path to gke-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/gke-prod
|
||||||
|
|
||||||
|
# Enterprise-apps: point to gke-prod overlay
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: enterprise-apps
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: apps/overlays/gke-prod
|
||||||
|
|||||||
@@ -2,16 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
- vaultwarden
|
|
||||||
|
|
||||||
# No patches needed — base already has "upc-dev" paths
|
# No patches needed — base already has "upc-dev" paths
|
||||||
# upc-dev is the default/base cluster
|
# upc-dev is the default/base cluster
|
||||||
|
|
||||||
patches:
|
|
||||||
- target:
|
|
||||||
kind: Application
|
|
||||||
name: databunker
|
|
||||||
patch: |
|
|
||||||
- op: add
|
|
||||||
path: /spec/sources/0/helm/valueFiles/-
|
|
||||||
value: $values/infra/values/upc-dev/databunker-values.yaml
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- vaultwarden.yaml
|
|
||||||
- vaultwarden-db-secret-sealed.yaml
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: prod-db-creds
|
|
||||||
namespace: vaultwarden
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
SMTP_PASSWORD: AgARC3vcVD2SC8GUry5SYylyiS39eKQUFAjqT4dpXQsoJX7QSLfd7Ta68BURg8Q5e2zWdzIl+nrUyBy/4TMXeHjSUhcfsH0RY2logMuTn96kV/V7YKm1Zw394hrJ3uroB7iFkf/TwiXuwFS1QvppxlpXNWVClHs+r0aW3vD2s7ViFxFqcPYGfNKlGvW2aLU6XER/TUXCffoSmHgl0wut5UaZEo+321AAaqcmk90Te/Pv4oU0SfFGn/+14zDR3VT4s6u8rgYQcSB23p2f3X3+8tCLgSLclyzSXAVfclMBYCuCtOzFjgXOQLoYfW3WW48KqsFKsoZsI/dop8L/y2P78xGJ5gYNiVcH6vEMfOr6wOTISyXqQIi3a/KZcNSY4ZZ7kH13aqru3Fpb4XAGjcmEEfWfOQ9IcPBj6Yh9pNOhxlQHPqXR9zrwx//iXdH2bsbEJ2vNHQhU9uc4t3dO1VnLO/icvMr3CFEuaB4mFDThVrPGOEi5s1YKPTHb1j8B92WSy6aNmNro0977cbbJs/linNox3rNa20kzQPfU2pdlC31vIcpMCM7vtUnx16QHyjUNe/whFqIbSG3mE19jbjIvGo0d7jhBWZYQin+m1MRv/Tv8VjzYe6FciIFX33pNTWkwkvFq+s8eQcyruWCe5hLlF361FklqXcSh1tMyqcfOScNRPxUPlWumkGPDmonULJPkmAs7eJmxKlvinrAPs8eiP7c/1SPW6FdMmxT7sq/27TII
|
|
||||||
SMTP_USERNAME: AgC1Zsv5l5Wbrq7VZC2U55+0/LQvZEbsmlxq2O5Z+Xp/admdqptEBGlLKEdIn7CmyBzvmrmWasmN4NJPJHoeLWn7SgsoULTu1UQ3W9kgcrXUJ52dwOrYLMJUxJuh+OD9HEJejfOMksc2rSM69I4NUc+NXaDSZOo+gzldWzBN7nCa778NcnMgJxVcT4gqjTIRB9EOrCo4f3ldFJzVJW7qNnxurN0UZQ51y+nj+4z2R+LvfOJ1BT5YQC+nmx80HVBMdQWK5WO4QdxCtenXfiFDNcGK3MK/Exd+kubOWse85CMt2dR0GWuIfIOp+t4XQXfb1pxhTibh/fGae9dD0RpSX1c8hobkpXaDJIYeb7ZQF5J6Zf68fgCn0YircY1hB4yF7uX5CQL1yv76M4tM9yuOn5FTJaIG6byWn/RsHZ7KPIUSd1mOce9ZqfTkKzvC/wfX45UMhPEsdXF9o67mAtOpdmBGrmeDD+7GwPwKXz3JgDovlGtzvLvMZ27+x1dpC8LrcAjcKXXGKczbs3L2Pc+tymd9dis36RvlFLEgQG32ffQu5vQXqGcoSEnlZ0l39qoU9EItkA5kp0isGiJI46hJtAdTTNr0roymvrfDyLXpAvXTQYaVMC7/8KVb2r3kIPKtnsDuU2A57ceiqtdWQgUarPn4F0O3SaCnprmTm2thgCgQOkW7BGlN3CCsVboZUIOlFr7CwTswB9ZI6tzOj2WsUOhriTfIuXv3kyrFCspo
|
|
||||||
pgpassword: AgB7F1Nvm2sjBOneDFux2mc/qni32jaq+KccTWkS7UZWWgA37owrE/XvDSOXZ0ZkrpBfhvCnsrh7/mbVnZYNWCd/GgxI2txnkp9MxW5JLpJiaZZmzznI229BgG9I08vg6ciuUS+bvRw9XJFD7SAmgeA3NaDKAHRNIhu3CFEKQJANity+pKHY1zK6gX6ubmllFtjEJg2pijM3EeSNuXdAFXZlsYIJMqFzlvQrb4MV7qeqsvW2qMeJBElMnas60l3JgeUYtsIwh6720m6FFKGXYQLm4cKbByC0M1C0/Nfwnd9j+xgIgyXharQFmgyp1qQBM+MAHxnHoHCE3V9cJqy1nCy33M16YYsZGOuAkHB9ks9I7NxGAKKjAIm5DccW7zbYINzTQKAUYIF/VhVosHv0thAHjfuH7fGzSmo9BHrLTQE3tO5RF40X2GgKFxP/R5lA+dCtR2QBNot0DaL2TEJoPc0czSYPY5y92FDOQ1j9jvcet18tkJN+bzCKwiG+BxtD0eH+tv1EAZTwvyl43xlU3E3RwWgSmOWcusMrn92fhsHwNFs9mMeeM8qeAVq4xUkatbKoijHm6q03tMgp2T6iT3EoVNLzWz+754mLQxt6serkBS8U7Mkxwpfitf64ANLaQyMF8t9Rao0c8Q/ZkIl9TEczbCPX3DvlnsoSPKDMWGB9gTzKbvvH0+Gcxxs+LZFigE7SQ20kYMlQpD8uo15ufWpMSGmFJxvto55fYgA0+wJmqe18ERy1QjxCqQYG7A==
|
|
||||||
pgusername: AgAvYmIjfz5UbstZli9gpc77rc+oAft7NYIHFrSClyV0Ugt6UU+icMMlLbU92roy7J9XUHuWoXoK5vh0y/XeF95ce1VJC0/zvMK2OXmpfERbyNvyCpwzCFtzYJ4LO7yOi8PAPstzuziqnvLt+GLCwk1enU+IWHI7G2A/qIeWEww5+Y5a4WevVrchp0Wh87PdJ88IT5EiF7qBT2ipbcSoB+Gon962nbw8+pnFedmRcUQcdOf0tQBBZOl5TUVJ6mn4WIY8u6/yOwACMlUXQ553rxXYwGKyTRjI0KbTWwpgeCJiqokyrw/RcShD6qJvZGePdq6rNmmkELOHCPo9z/WvXQIDHbuPldvcglyHuN2w4tsBcGukbmjitwS6wxYD0vp3er3FI9+0tRnD9zlkLiUpcaLi9Rrm7NPS/JP1dbGcHz7fJNXgbMZRGRx3DjV73Qnz6YHvOHT4g6BI2+9JytriRKSOJk/FlDCINgrO+6zMrbxKzBTW3+FK1cc41sJ9zClbV603wsMgtkmB1sZL4xcLmq5wOuk19uO9TsK0Xnf+ajuFUkQm42DVxtTZ9HObLnP8eygn1WiMDv3ks6W7HIpJTpc2YJVU/Pg/kTeQgBKS0JRTkzpJFPHV2UrkLTr0U6ToPYOb2SWBnPI+Lp3cTOeUsbKOylBzx4uUJGoZUL5pAorjd5tDHJhMyMm589m5J3mGMXuhXO1cWg80
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: prod-db-creds
|
|
||||||
namespace: vaultwarden
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: vaultwarden
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: vaultwarden
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: vaultwarden
|
|
||||||
app.kubernetes.io/part-of: security
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
|
|
||||||
sources:
|
|
||||||
- repoURL: https://guerzon.github.io/vaultwarden
|
|
||||||
chart: vaultwarden
|
|
||||||
targetRevision: "0.36.4"
|
|
||||||
helm:
|
|
||||||
releaseName: vaultwarden
|
|
||||||
valueFiles:
|
|
||||||
- $values/infra/values/base/vaultwarden-values.yaml
|
|
||||||
- $values/infra/values/upc-dev/vaultwarden-values.yaml
|
|
||||||
|
|
||||||
- repoURL: ssh://git@git.forteapps.net:2222/Forte/launchpad.git
|
|
||||||
targetRevision: HEAD
|
|
||||||
ref: values
|
|
||||||
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: vaultwarden
|
|
||||||
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
allowEmpty: false
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- Validate=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
@@ -1,21 +1,10 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base/cert-manager-application
|
- ../../base
|
||||||
- ../../base/cluster-resources-application
|
|
||||||
- ../../base/grafana
|
|
||||||
- ../../base/grafana-dashboards
|
|
||||||
- ../../base/kyverno
|
|
||||||
- ../../base/kyverno-policies
|
|
||||||
- ../../base/loki
|
|
||||||
- ../../base/opencost
|
|
||||||
- ../../base/prometheus
|
|
||||||
- ../../base/sealedsecrets
|
|
||||||
- ../../base/tempo
|
|
||||||
- ../../base/traefik-application
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
# Traefik: swap upc-dev → upc-prod
|
# Traefik: swap upc-dev → upc-prod in valueFiles
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
name: traefik
|
name: traefik
|
||||||
@@ -24,6 +13,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/upc-prod/traefik-values.yaml
|
value: $values/infra/values/upc-prod/traefik-values.yaml
|
||||||
|
|
||||||
|
# Keycloak: swap upc-dev → upc-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: keycloak
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
|
value: $values/infra/values/upc-prod/keycloak-values.yaml
|
||||||
|
|
||||||
# Grafana: swap upc-dev → upc-prod
|
# Grafana: swap upc-dev → upc-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -33,6 +31,15 @@ patches:
|
|||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/upc-prod/grafana-values.yaml
|
value: $values/infra/values/upc-prod/grafana-values.yaml
|
||||||
|
|
||||||
|
# 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
|
# OpenCost: swap upc-dev → upc-prod
|
||||||
- target:
|
- target:
|
||||||
kind: Application
|
kind: Application
|
||||||
@@ -41,3 +48,21 @@ patches:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/sources/0/helm/valueFiles/1
|
path: /spec/sources/0/helm/valueFiles/1
|
||||||
value: $values/infra/values/upc-prod/opencost-values.yaml
|
value: $values/infra/values/upc-prod/opencost-values.yaml
|
||||||
|
|
||||||
|
# Secrets: change path to upc-prod
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: secrets
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: secrets/overlays/upc-prod
|
||||||
|
|
||||||
|
# Enterprise-apps: point to upc-prod overlay
|
||||||
|
- target:
|
||||||
|
kind: Application
|
||||||
|
name: enterprise-apps
|
||||||
|
patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/source/path
|
||||||
|
value: apps/overlays/upc-prod
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
global:
|
|
||||||
domain: argocd.127.0.0.1.nip.io
|
|
||||||
notifications:
|
|
||||||
context:
|
|
||||||
clusterName: "aks-dev-launchpad"
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
ingress:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: traefik
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
hosts:
|
|
||||||
- host: start.forteapps.net
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
tls:
|
|
||||||
- secretName: homepage-tls
|
|
||||||
hosts:
|
|
||||||
- start.forteapps.net
|
|
||||||
@@ -35,12 +35,6 @@ server:
|
|||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "ArgoCD"
|
|
||||||
gethomepage.dev/description: "GitOps continuous delivery"
|
|
||||||
gethomepage.dev/group: "DevOps"
|
|
||||||
gethomepage.dev/icon: "argo-cd"
|
|
||||||
gethomepage.dev/href: "https://argocd.forteapps.net"
|
|
||||||
tls: true
|
tls: true
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- --insecure
|
- --insecure
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
# Default values for databunkerpro
|
|
||||||
image:
|
|
||||||
tag: 0.14.15
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
enabled: false # Set to true to enable ingress
|
|
||||||
className: traefik
|
|
||||||
# Set host to enable ingress
|
|
||||||
host: databunker.example.com
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: traefik
|
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-prod" # or your cluster issuer
|
|
||||||
traefik.ingress.kubernetes.io/ssl-redirect: "true"
|
|
||||||
traefik.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
||||||
traefik.ingress.kubernetes.io/ssl-passthrough: "false"
|
|
||||||
# Security headers
|
|
||||||
traefik.ingress.kubernetes.io/configuration-snippet: |
|
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
||||||
add_header X-Frame-Options DENY always;
|
|
||||||
add_header X-Content-Type-Options nosniff always;
|
|
||||||
add_header X-XSS-Protection "1; mode=block" always;
|
|
||||||
# TLS configuration
|
|
||||||
tls:
|
|
||||||
enabled: true # Set to true to enable TLS
|
|
||||||
secretName: "databunker-tls" # Name of the secret containing TLS certificate
|
|
||||||
|
|
||||||
# Pin PostgreSQL password — chart uses randAlphaNum without lookup,
|
|
||||||
# so each ArgoCD sync would regenerate the password while PVC keeps the old one.
|
|
||||||
# Same issue as Backstage PostgreSQL (see MEMORY.md).
|
|
||||||
internal:
|
|
||||||
postgresql:
|
|
||||||
auth:
|
|
||||||
password: "databunker-pg-pass-2026"
|
|
||||||
|
|
||||||
resources:
|
|
||||||
# Uncomment and adjust these values based on your requirements
|
|
||||||
# requests:
|
|
||||||
# memory: "512Mi"
|
|
||||||
# cpu: "250m"
|
|
||||||
# limits:
|
|
||||||
# memory: "1Gi"
|
|
||||||
# cpu: "500m"
|
|
||||||
@@ -41,7 +41,6 @@ gitea:
|
|||||||
oauth2:
|
oauth2:
|
||||||
ENABLED: true
|
ENABLED: true
|
||||||
ENABLE_AUTO_REGISTRATION: true
|
ENABLE_AUTO_REGISTRATION: true
|
||||||
ACCOUNT_LINKING: auto
|
|
||||||
USERNAME: email
|
USERNAME: email
|
||||||
|
|
||||||
session:
|
session:
|
||||||
@@ -115,15 +114,6 @@ ingress:
|
|||||||
className: traefik
|
className: traefik
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "Gitea"
|
|
||||||
gethomepage.dev/description: "Git hosting & CI/CD"
|
|
||||||
gethomepage.dev/group: "DevOps"
|
|
||||||
gethomepage.dev/icon: "gitea"
|
|
||||||
gethomepage.dev/href: "https://git.forteapps.net"
|
|
||||||
gethomepage.dev/widget.type: "gitea"
|
|
||||||
gethomepage.dev/widget.url: "https://git.forteapps.net"
|
|
||||||
gethomepage.dev/widget.key: "{{HOMEPAGE_VAR_GITEA_TOKEN}}"
|
|
||||||
hosts:
|
hosts:
|
||||||
- host: git.forteapps.net
|
- host: git.forteapps.net
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -3,21 +3,11 @@ ingress:
|
|||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "Grafana"
|
|
||||||
gethomepage.dev/description: "Metrics & observability dashboards"
|
|
||||||
gethomepage.dev/group: "Monitoring"
|
|
||||||
gethomepage.dev/icon: "grafana"
|
|
||||||
gethomepage.dev/href: "https://grafana.forteapps.net"
|
|
||||||
tls:
|
tls:
|
||||||
- secretName: grafana-tls
|
- secretName: grafana-tls
|
||||||
hosts:
|
hosts:
|
||||||
- grafana.forteapps.net
|
- grafana.forteapps.net
|
||||||
|
|
||||||
persistence:
|
|
||||||
enabled: true
|
|
||||||
size: 1Gi
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
|
|||||||
@@ -1,72 +0,0 @@
|
|||||||
# Homepage Helm Values
|
|
||||||
# Chart: jameswynn/homepage — https://gethomepage.dev
|
|
||||||
# Discovery: K8s service annotations (gethomepage.dev/*)
|
|
||||||
# Each deployed app annotates its own Service — apps not deployed = not visible.
|
|
||||||
|
|
||||||
# RBAC ClusterRole — required for cluster-wide service annotation scanning
|
|
||||||
enableRbac: true
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
create: true
|
|
||||||
name: homepage
|
|
||||||
|
|
||||||
config:
|
|
||||||
# Scan all namespaces for services with gethomepage.dev/enabled: "true"
|
|
||||||
kubernetes:
|
|
||||||
mode: cluster
|
|
||||||
traefik: true
|
|
||||||
|
|
||||||
settings:
|
|
||||||
title: "Platform"
|
|
||||||
headerStyle: clean
|
|
||||||
layout:
|
|
||||||
Apps:
|
|
||||||
style: row
|
|
||||||
columns: 3
|
|
||||||
Security:
|
|
||||||
style: row
|
|
||||||
columns: 3
|
|
||||||
Tools:
|
|
||||||
style: row
|
|
||||||
header: false
|
|
||||||
columns: 2
|
|
||||||
DevOps:
|
|
||||||
style: column
|
|
||||||
rows: 2
|
|
||||||
Monitoring:
|
|
||||||
style: column
|
|
||||||
rows: 1
|
|
||||||
|
|
||||||
# Top-of-page cluster overview widget
|
|
||||||
widgets:
|
|
||||||
- kubernetes:
|
|
||||||
cluster:
|
|
||||||
show: true
|
|
||||||
cpu: true
|
|
||||||
memory: true
|
|
||||||
showLabel: true
|
|
||||||
label: "Cluster"
|
|
||||||
nodes:
|
|
||||||
show: true
|
|
||||||
cpu: true
|
|
||||||
memory: true
|
|
||||||
showLabel: true
|
|
||||||
# In-cluster entries come from K8s service annotations.
|
|
||||||
# External (out-of-cluster) services are listed here statically.
|
|
||||||
bookmarks: []
|
|
||||||
services: []
|
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 128Mi
|
|
||||||
limits:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 256Mi
|
|
||||||
|
|
||||||
env:
|
|
||||||
- name: HOMEPAGE_ALLOWED_HOSTS
|
|
||||||
value: start.forteapps.net
|
|
||||||
envFrom:
|
|
||||||
- secretRef:
|
|
||||||
name: homepage-widget-credentials
|
|
||||||
@@ -18,12 +18,6 @@ ingress:
|
|||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "Keycloak"
|
|
||||||
gethomepage.dev/description: "Identity & access management"
|
|
||||||
gethomepage.dev/group: "Security"
|
|
||||||
gethomepage.dev/icon: "keycloak"
|
|
||||||
gethomepage.dev/href: "https://id.forteapps.net/admin/forte-test/console/"
|
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -58,9 +52,6 @@ keycloakConfigCli:
|
|||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
repository: bitnamilegacy/keycloak-config-cli
|
repository: bitnamilegacy/keycloak-config-cli
|
||||||
extraEnvVars:
|
|
||||||
- name: IMPORT_MANAGED_PROTOCOL_MAPPER
|
|
||||||
value: "no-delete"
|
|
||||||
configuration:
|
configuration:
|
||||||
forte-realm.json: |
|
forte-realm.json: |
|
||||||
{
|
{
|
||||||
@@ -104,18 +95,6 @@ keycloakConfigCli:
|
|||||||
"access.token.claim": "true",
|
"access.token.claim": "true",
|
||||||
"userinfo.token.claim": "true"
|
"userinfo.token.claim": "true"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -188,54 +167,7 @@ keycloakConfigCli:
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"browserFlow": "browser-auto-idp",
|
|
||||||
"authenticationFlows": [
|
|
||||||
{
|
|
||||||
"alias": "browser-auto-idp",
|
|
||||||
"description": "Browser flow with auto-redirect to Forte Entra IdP",
|
|
||||||
"providerId": "basic-flow",
|
|
||||||
"topLevel": true,
|
|
||||||
"builtIn": false,
|
|
||||||
"authenticationExecutions": [
|
|
||||||
{
|
|
||||||
"authenticator": "auth-cookie",
|
|
||||||
"authenticatorFlow": false,
|
|
||||||
"requirement": "ALTERNATIVE",
|
|
||||||
"priority": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"authenticator": "identity-provider-redirector",
|
|
||||||
"authenticatorFlow": false,
|
|
||||||
"requirement": "ALTERNATIVE",
|
|
||||||
"priority": 20,
|
|
||||||
"authenticatorConfig": "forte-entra-redirector"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"authenticatorConfig": [
|
|
||||||
{
|
|
||||||
"alias": "forte-entra-redirector",
|
|
||||||
"config": {
|
|
||||||
"defaultProvider": "forte-entra"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"groups": [
|
"groups": [
|
||||||
{
|
|
||||||
"name": "k8s",
|
|
||||||
"path": "/k8s",
|
|
||||||
"clientRoles": {
|
|
||||||
"grafana": ["Editor"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "dev",
|
|
||||||
"path": "/dev",
|
|
||||||
"clientRoles": {
|
|
||||||
"grafana": ["Viewer"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "ArgoCD Admins",
|
"name": "ArgoCD Admins",
|
||||||
"path": "/ArgoCD Admins"
|
"path": "/ArgoCD Admins"
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
# HashiCorp Vault Helm Chart Values
|
|
||||||
# Chart: hashicorp/vault v0.32.0
|
|
||||||
|
|
||||||
server:
|
|
||||||
standalone:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
dataStorage:
|
|
||||||
enabled: true
|
|
||||||
size: 5Gi
|
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 128Mi
|
|
||||||
limits:
|
|
||||||
cpu: 250m
|
|
||||||
memory: 256Mi
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: traefik
|
|
||||||
pathType: Prefix
|
|
||||||
activeService: true
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "Vault"
|
|
||||||
gethomepage.dev/description: "Secrets management"
|
|
||||||
gethomepage.dev/group: "Security"
|
|
||||||
gethomepage.dev/icon: "vault"
|
|
||||||
gethomepage.dev/href: "https://vault.forteapps.net"
|
|
||||||
|
|
||||||
ui:
|
|
||||||
enabled: true
|
|
||||||
serviceType: ClusterIP
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
image:
|
|
||||||
tag: "1.36.0-alpine"
|
|
||||||
domain: "https://vaultwarden.forteapps.net"
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
host: databunker.forteapps.net
|
|
||||||
annotations:
|
|
||||||
gethomepage.dev/enabled: "true"
|
|
||||||
gethomepage.dev/name: "Databunker"
|
|
||||||
gethomepage.dev/description: "Secure Database for PII and PCI Records"
|
|
||||||
gethomepage.dev/group: "Security"
|
|
||||||
gethomepage.dev/icon: "double-take"
|
|
||||||
gethomepage.dev/href: "https://databunker.forteapps.net"
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
ingress:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: traefik
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
hosts:
|
|
||||||
- host: start.forteapps.net
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
tls:
|
|
||||||
- secretName: homepage-tls
|
|
||||||
hosts:
|
|
||||||
- start.forteapps.net
|
|
||||||
|
|
||||||
config:
|
|
||||||
settings:
|
|
||||||
title: "Forte Platform"
|
|
||||||
headerStyle: clean
|
|
||||||
layout:
|
|
||||||
Apps:
|
|
||||||
style: row
|
|
||||||
columns: 2
|
|
||||||
Security:
|
|
||||||
style: row
|
|
||||||
columns: 3
|
|
||||||
Tools:
|
|
||||||
style: row
|
|
||||||
header: false
|
|
||||||
columns: 2
|
|
||||||
DevOps:
|
|
||||||
style: column
|
|
||||||
rows: 2
|
|
||||||
Monitoring:
|
|
||||||
style: column
|
|
||||||
rows: 1
|
|
||||||
|
|
||||||
# Top-of-page cluster overview widget
|
|
||||||
widgets:
|
|
||||||
- kubernetes:
|
|
||||||
cluster:
|
|
||||||
show: true
|
|
||||||
cpu: true
|
|
||||||
memory: true
|
|
||||||
showLabel: true
|
|
||||||
label: "Cluster"
|
|
||||||
nodes:
|
|
||||||
show: true
|
|
||||||
cpu: true
|
|
||||||
memory: true
|
|
||||||
showLabel: true
|
|
||||||
# In-cluster entries come from K8s service annotations.
|
|
||||||
# External (out-of-cluster) services are listed here statically.
|
|
||||||
bookmarks: []
|
|
||||||
services:
|
|
||||||
- Apps:
|
|
||||||
- Forte Benken:
|
|
||||||
href: https://benken.hackathon.forteapps.net
|
|
||||||
description: Teknisk kompetanse fra offentlige anbud
|
|
||||||
icon: forte
|
|
||||||
- Forte Feedback:
|
|
||||||
href: https://feedback.forteapps.net
|
|
||||||
description: Fortes internal feedback app
|
|
||||||
icon: forte
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
server:
|
|
||||||
ingress:
|
|
||||||
hosts:
|
|
||||||
- host: vault.forteapps.net
|
|
||||||
paths: []
|
|
||||||
tls:
|
|
||||||
- secretName: vault-tls
|
|
||||||
hosts:
|
|
||||||
- vault.forteapps.net
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
database:
|
|
||||||
type: postgresql
|
|
||||||
existingSecret: prod-db-creds
|
|
||||||
existingSecretUserKey: pgusername
|
|
||||||
existingSecretPasswordKey: pgpassword
|
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
class: "traefik"
|
|
||||||
tlsSecret: vw-forteapps-net-crt
|
|
||||||
hostname: bitwarden.forteapps.net
|
|
||||||
|
|
||||||
replicas: 1
|
|
||||||
|
|
||||||
service:
|
|
||||||
sessionAffinity: ClientIP
|
|
||||||
sessionAffinityConfig:
|
|
||||||
clientIP:
|
|
||||||
timeoutSeconds: 10800
|
|
||||||
|
|
||||||
smtp:
|
|
||||||
host: smtp.office365.com
|
|
||||||
from: no-reply@forteapps.net
|
|
||||||
fromName: "Forte Bitwarden Administrator"
|
|
||||||
existingSecret: prod-db-creds
|
|
||||||
username:
|
|
||||||
existingSecretKey: SMTP_USERNAME
|
|
||||||
password:
|
|
||||||
existingSecretKey: SMTP_PASSWORD
|
|
||||||
|
|
||||||
storage:
|
|
||||||
data:
|
|
||||||
name: "vaultwarden-data"
|
|
||||||
size: "5Gi"
|
|
||||||
class: ""
|
|
||||||
path: "/data"
|
|
||||||
keepPvc: true
|
|
||||||
accessMode: "ReadWriteOnce"
|
|
||||||
|
|
||||||
attachments:
|
|
||||||
name: "vaultwarden-files"
|
|
||||||
size: "5Gi"
|
|
||||||
class: ""
|
|
||||||
path: /files
|
|
||||||
keepPvc: true
|
|
||||||
accessMode: "ReadWriteOnce"
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user