Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions internal/k8sutil/k8sutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ func GetUpdateCaCertInitContainerCommand() []string {
"/bin/sh",
"-c",
"echo 'Copying CA certs from Config Map'; " +
"ls -l /custom; " +
"cp /custom/*.crt /usr/local/share/ca-certificates/; " +
"for f in /custom/*.pem; do cp \"$f\" \"/usr/local/share/ca-certificates/$(basename \"${f%.pem}\")-pem.crt\"; done;" +
"ls -l /usr/local/share/ca-certificates/;" +
"echo 'Updating CA certs'; " +
"update-ca-certificates; " +
"echo 'CA certs updated'; " +
Expand Down
Loading