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:
@@ -44,6 +44,21 @@ resource "helm_release" "argocd" {
|
||||
enabled = true
|
||||
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 = {
|
||||
replicas = 2
|
||||
|
||||
Reference in New Issue
Block a user