feat: add OSINT Dashboard Kubernetes infrastructure
- Helm chart scaffold (Chart.yaml, values.yaml, _helpers.tpl) - Namespace + RBAC manifests - PostgreSQL (CNPG, 3 replicas, PostGIS + TimescaleDB) - NATS JetStream (3 replicas, persistent, custom subjects) - Redis Sentinel (1 primary + 2 replicas, HA) - MinIO distributed (4 replicas, bucket init job) - Gateway API HTTPRoute + cert-manager TLS certificates - Monitoring stack (Prometheus, Grafana, Alertmanager, exporters) - NetworkPolicies (default deny + per-component policies) - GitHub Actions CI/CD pipeline (lint, template, security scan) - Flux CD staging overlay
This commit is contained in:
parent
a06a105f31
commit
5e477492e6
31 changed files with 2818 additions and 0 deletions
53
apps/staging/osint-dashboard/kustomization.yaml
Normal file
53
apps/staging/osint-dashboard/kustomization.yaml
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
# Reference the Helm chart base
|
||||
helmCharts:
|
||||
- name: osint-dashboard
|
||||
repository:
|
||||
name: osint-dashboard-local
|
||||
type: oci
|
||||
url: oci://gcr.io/devops-lab-cluster/charts
|
||||
version: "0.1.0"
|
||||
releaseName: osint-dashboard
|
||||
namespace: customer1
|
||||
includeCRDs: true
|
||||
|
||||
# Or use plain Kustomize overlay on the base templates
|
||||
resources:
|
||||
- ../../base/osint-dashboard/templates/namespace.yaml
|
||||
|
||||
# Namespace override
|
||||
namespace: customer1
|
||||
|
||||
# Common labels
|
||||
commonLabels:
|
||||
app.kubernetes.io/managed-by: flux
|
||||
app.kubernetes.io/part-of: osint-dashboard
|
||||
|
||||
# Patches for staging environment
|
||||
patches:
|
||||
# Override replica counts for staging
|
||||
- patch: |-
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: postgresql
|
||||
spec:
|
||||
replicas: 2
|
||||
target:
|
||||
kind: StatefulSet
|
||||
name: postgresql.*
|
||||
|
||||
# Reduce storage for staging
|
||||
- patch: |-
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: data
|
||||
spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
target:
|
||||
kind: PersistentVolumeClaim
|
||||
Loading…
Reference in a new issue