Commit Graph

87 Commits

Author SHA1 Message Date
684bf03e3e REFACTOR(authelia): remove pgweb basic auth
- use Authelia SSO
2026-01-05 00:39:12 +09:00
804207b02b FEAT(authelia): add authelia sso
- to minio console and pgweb
- minio: Add Authelia middleware to console ingress (API excluded for S3
  access)
- pgweb: Add Authelia middleware to ingress
2026-01-05 00:39:12 +09:00
4c8b55cc9e CHORE(authelia): disable velero-ui Basic Auth
- use Authelia SSO only
2026-01-05 00:39:12 +09:00
d60617f00c REFACTOR(minio): move minio disk from worker-1
- to master
- Change minio-pv-worker1-data2 to minio-pv-mayne-vcn-data2
- Master now has 2 disks, worker-1 has 1 disk
- Better distribution: master(2), worker-1(1), worker-2(1)
2026-01-05 00:39:12 +09:00
9eabc6ac17 REFACTOR(postgresql): migrate pg-dev storage
- from Longhorn to...
2026-01-05 00:39:12 +09:00
f34b2e4c3c REFACTOR(longhorn): remove Longhorn node manifests
- Use kubectl patch instead
- Node manifests conflict with Longhorn's auto-management
2026-01-05 00:39:12 +09:00
43648eb772 REFACTOR(longhorn): swap longhorn storage
- from master to worker-1
- mayne-vcn: disable scheduling, request eviction
- mayne-worker-1: enable scheduling
- Moves replicas from master to worker nodes
2026-01-05 00:39:12 +09:00
7fd4b377c1 FEAT(repo): add systemManagedComponentsNodeSele...
- instance-manager and engine-image now also respect longhorn:enabled
  label
- Completes worker-1 exclusion from all Longhorn components
2026-01-05 00:39:12 +09:00
be796fff12 CHORE(longhorn): exclude worker-1
- from Longhorn DaemonSets
- Add nodeSelector longhorn=enabled to longhornManager and
  longhornDriver
- Only mayne-vcn and mayne-worker-2 have this label
- Saves ~400Mi memory on worker-1
2026-01-05 00:39:12 +09:00
bc3b9cb628 FEAT(vault): integrate Vault secrets
- Add ExternalSecret configuration
- Enable Vault integration for secrets
2026-01-05 00:39:12 +09:00
196c941db9 REVERT(storage): revert storageClass to local-path
- Will patch existing PVs manually
- Revert storage configuration
2026-01-05 00:39:12 +09:00
2b315deac5 FEAT(cnpg): add local-path-retain StorageClass
- for CNPG data protection
2026-01-05 00:39:12 +09:00
781977b659 FEAT(longhorn): add serversideapply
- to longhorn to prevent crd patch ...
- Fixes resourceVersion mismatch during 3-way merge patch
- Prevents ServiceAccount recreation caused by sync retries
2026-01-05 00:39:12 +09:00
be82f0d39d FEAT(repo): add ignoreDiff for ServiceAccount
- to prevent sync ...
- Ignore resourceVersion, uid, and secrets for longhorn-service-account
- Prevents ArgoCD from recreating ServiceAccount during selfHeal
- Fixes instance-manager token mount failures on master node
2026-01-05 00:39:12 +09:00
5c0e67713c FIX(longhorn): longhorn node scheduling
- enable master and worker-2
- Add allowScheduling: true to mayne-vcn (master)
- Add allowScheduling: true to mayne-worker-2
- Add allowScheduling: false to mayne-worker-1 (excluded)
- Fixes degraded volumes with only 1 replica
2026-01-05 00:39:12 +09:00
5461c606b4 FEAT(longhorn): add toleration to Longhorn
- Add tolerations for node scheduling
- Enable Longhorn on all nodes
2026-01-05 00:39:12 +09:00
a8e2034766 PERF(postgresql): reduce PostgreSQL CPU request from 150m to 30m
- Reduce based on actual usage
- Optimize resource allocation
2026-01-05 00:39:12 +09:00
2a864417a5 FEAT(longhorn): add master node tolerations
- to Longhorn components
2026-01-05 00:39:12 +09:00
e0143b153f FEAT(postgresql): add master node toleration
- to PostgreSQL
- Allows postgresql pods to run on master with NoExecute taint
- Required because PV is on master node
2026-01-05 00:39:12 +09:00
8698780758 FEAT(minio): add master node toleration to MinIO
- minio-0 disk is on master node, requires toleration for NoExecute
  taint
- Allows minio-0 to schedule on master with taint
2026-01-05 00:39:12 +09:00
e1d4b1f717 FIX(postgresql): use primary.persistence
- for pg-dev storage
2026-01-05 00:39:12 +09:00
f038c62b2f PERF(postgresql): reduce pg-dev storage
- from 10Gi to 1Gi with...
2026-01-05 00:39:12 +09:00
00f8b62dd9 REFACTOR(authelia): remove kanidm
- and restore authelia
- Delete kanidm folder
- Remove oauth2-proxy from velero
- Restore velero ingress to use authelia middleware
- Update kustomization.yaml to use authelia instead of kanidm
2026-01-05 00:39:12 +09:00
8545e1984b FEAT(velero): add oauth2-proxy
- for velero with Kanidm OIDC
- Replace authelia middleware with oauth2-proxy
- Configure OIDC authentication via Kanidm
- Update ingress to route through oauth2-proxy
2026-01-05 00:39:12 +09:00
efa56d156e FEAT(authelia): add authelia sso to velero ingress 2026-01-05 00:39:12 +09:00
09e841d025 FEAT(authelia): add authelia
- to manually created databases list
2026-01-05 00:39:12 +09:00
962767dfb2 REFACTOR(authentik): remove authentik
- migrating to kanidm
2026-01-05 00:39:12 +09:00
a466073a6f REFACTOR(velero): remove velero weekly backup
- schedule (manual daily ...
2026-01-05 00:39:12 +09:00
bc3445e170 REFACTOR(cnpg): remove managed databases section
- (not supported by CN...
- CNPG operator version doesn't support spec.managed.databases
- authentik database created manually via psql
2026-01-05 00:39:12 +09:00
72f1ae1e11 FEAT(postgresql): add authentik database
- to main pg cluster
- Add managed database 'authentik' owned by 'app' user
- Consolidate from separate authentik-postgres CNPG cluster
2026-01-05 00:39:12 +09:00
a978a4a10e FEAT(authentik): add authentik sso
- with traefik forwardauth
- Add Authentik helm chart and ArgoCD application
- Configure Traefik ForwardAuth middleware for SSO
- Add External Secrets for Vault integration
- Apply SSO middleware to Velero UI as test
2026-01-05 00:39:12 +09:00
acbd999abe REFACTOR(longhorn): remove default-disk
- from Longhorn nodes - use onl...
2026-01-05 00:39:12 +09:00
30ce6f96d5 FEAT(prometheus): enable longhorn servicemonitor
- for prometheus
2026-01-05 00:39:12 +09:00
4a4dbb7937 REFACTOR(argocd): remove serversideapply
- from argocd applications
- Fixes OutOfSync issues caused by operator-added default values
- ServerSideApply causes stricter field management that conflicts with
  CRD defaults
2026-01-05 00:39:12 +09:00
57524aaa93 REFACTOR(traefik): switch ingress to Traefik
- Update ingressClassName from haproxy to traefik
- Remove nginx annotations from minio ingress
2026-01-05 00:39:12 +09:00
e47760e680 REFACTOR(traefik): switch from HAProxy
- to Traefik ingress controller
- Update all ingress files to use ingressClassName: traefik
- Update cert-manager ClusterIssuer to use traefik class
- Remove haproxy.org annotations from ingress files
- Update vault helm-values to use traefik
2026-01-05 00:39:12 +09:00
a41dce6acb FIX(minio): fix MinIO ingress service names
- Correct service name references
- Fix ingress routing
2026-01-05 00:39:12 +09:00
c537136c1d CHORE(pgweb): use ClusterSecretStore instead of namespace Secret
- Change to ClusterSecretStore
- Simplify secret management
2026-01-05 00:39:12 +09:00
588861a53b REFACTOR(vault): remove Vault database and user
- Vault uses file storage instead
- Remove database dependencies
2026-01-05 00:39:12 +09:00
ab80e14e0a CHORE(external-secrets): update ESO API version from v1beta1 to v1
- Update ExternalSecret API version
- Migrate to stable API
2026-01-05 00:39:12 +09:00
eee7b68c6b REFACTOR(postgresql): rename pg-cnpg.yaml to pg.yaml
- Standardize file naming
- Simplify configuration
2026-01-05 00:39:12 +09:00
75a165b474 REFACTOR(postgresql): rename pg-cnpg namespace and folder
- Rename to postgresql
- Standardize naming convention
2026-01-05 00:39:12 +09:00
a586febc4c REFACTOR(gitea): migrate repoURL from Gitea to GitHub
- Update repository URL to GitHub
- Change source control provider
2026-01-05 00:39:12 +09:00
0f9f427e44 FEAT(minio): add minio storageclass
- and persistentvolumes for local d...
2026-01-05 00:39:12 +09:00
8ac235fb17 CHORE(cnpg): update CNPG chart version to 0.27.0
- Upgrade CloudNativePG chart
- Apply dependency updates
2026-01-05 00:39:12 +09:00
edb90dcb25 REFACTOR(longhorn): change Longhorn namespace
- Change from longhorn-system to longhorn
- Standardize namespace naming
2026-01-05 00:39:12 +09:00
9abcdfa98d REFACTOR(goldilocks): use managedNamespaceMetadata for namespace labels
- Remove namespace.yaml files
- Add managedNamespaceMetadata with Goldilocks label
- Set CreateNamespace=true in syncOptions
- Update kustomization.yaml to remove namespace.yaml references
2026-01-05 00:39:12 +09:00
66890d8f66 FEAT(velero): add kustomize source
- to velero for ingress deployment
2026-01-04 23:47:13 +09:00
fc8ddebf6e REFACTOR(longhorn): migrate longhorn
- from worker-1 to master
- Enable scheduling on mayne-vcn (master)
- Disable scheduling and request eviction on mayne-worker-1
- Longhorn will use only master and worker-2
2026-01-04 23:47:13 +09:00
6bc8359180 CHORE(repo): disable scheduling and request eviction on mayne-vcn
- Disable scheduling on master node
- Request eviction of existing workloads
2026-01-04 23:47:13 +09:00