Fix: karmada-metrics-adapter use the correct certificate when deployed via karmadactl

Signed-off-by: Khalil Santana <khalil@ksantana.net>
This commit is contained in:
Khalil Santana 2024-11-16 20:30:37 -03:00
parent c7bc870898
commit a259d51cfa
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ spec:
- --authentication-kubeconfig=/etc/kubeconfig - --authentication-kubeconfig=/etc/kubeconfig
- --authorization-kubeconfig=/etc/kubeconfig - --authorization-kubeconfig=/etc/kubeconfig
- --client-ca-file=/etc/karmada/pki/ca.crt - --client-ca-file=/etc/karmada/pki/ca.crt
- --tls-cert-file=/etc/karmada/pki/karmada.crt
- --tls-private-key-file=/etc/karmada/pki/karmada.key
- --audit-log-path=- - --audit-log-path=-
- --audit-log-maxage=0 - --audit-log-maxage=0
- --audit-log-maxbackup=0 - --audit-log-maxbackup=0