Fix: Inject homelab-ca cert into ArgoCD repo-server

- Mount homelab-ca-secret for TLS verification
- Allows repo-server to reach forgejo.riotpiao.homelab.com
- Fixes x509 certificate verification error
This commit is contained in:
Story Crater Bot
2026-08-18 15:08:01 -07:00
parent bb1239ab0d
commit 07b785e5fc
+15
View File
@@ -44,6 +44,21 @@ resource "helm_release" "argocd" {
enabled = true enabled = true
minReplicas = 2 minReplicas = 2
} }
volumes = [
{
name = "homelab-ca"
secret = {
secretName = "homelab-ca-secret"
}
}
]
volumeMounts = [
{
name = "homelab-ca"
mountPath = "/etc/ssl/certs/homelab-ca.crt"
subPath = "tls.crt"
}
]
} }
controller = { controller = {
replicas = 2 replicas = 2