Skip to content

Commit 9625bf4

Browse files
committed
pkg/resource: invoke update-ca-trust extract with --output
using this might help keep write permissions on /etc/pki/ca-trust/extracted/pem/directory-hash.
1 parent b745da0 commit 9625bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/resource/podtemplatespec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ func makePodTemplateSpec(coreClient coreset.CoreV1Interface, proxyLister configl
486486
Command: []string{
487487
"/bin/sh",
488488
"-c",
489-
"mkdir -p /etc/pki/ca-trust/extracted/edk2 /etc/pki/ca-trust/extracted/java /etc/pki/ca-trust/extracted/openssl /etc/pki/ca-trust/extracted/pem && update-ca-trust extract && exec /usr/bin/dockerregistry",
489+
"mkdir -p /etc/pki/ca-trust/extracted/edk2 /etc/pki/ca-trust/extracted/java /etc/pki/ca-trust/extracted/openssl /etc/pki/ca-trust/extracted/pem && update-ca-trust extract --output /etc/pki/ca-trust/extracted/ && exec /usr/bin/dockerregistry",
490490
},
491491
Ports: []corev1.ContainerPort{
492492
{

0 commit comments

Comments
 (0)