Fix service name resolution for OpenBao (release name collision)
When the ArgoCD release name is 'openbao' (same as the subchart name), Helm's fullname helper collapses '<release>-<chart>' to just the release name instead of appending '-openbao'. Our ClusterSecretStore and bootstrap Job hardcoded the '<release>-openbao' form, which pointed at a non-existent Service and made the ClusterSecretStore fail with 'unable to create client' / DNS lookup errors. Add a helper that replicates the subchart's fullname logic. Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -8,7 +8,7 @@ metadata:
|
||||
spec:
|
||||
provider:
|
||||
vault:
|
||||
server: "http://{{ .Release.Name }}-openbao.{{ .Release.Namespace }}.svc:8200"
|
||||
server: "http://{{ include "openbao-gitops.openbaoFullname" . }}.{{ .Release.Namespace }}.svc:8200"
|
||||
path: {{ .Values.eso.kvMountPath }}
|
||||
version: v2
|
||||
auth:
|
||||
|
||||
Reference in New Issue
Block a user