Skip to content

Commit 362f82a

Browse files
authored
Preserve file ownership and permissions in Docker when copying a file (#906)
1 parent 1b0fb17 commit 362f82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/refresh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ kubectl -n=default create configmap 'cluster-config' \
3333
--from-file='cluster.yaml'=tmp_cluster_config.yaml \
3434
-o yaml --dry-run | kubectl apply -f - >/dev/null
3535

36-
cp tmp_cluster_config.yaml $cached_cluster_config_file
36+
cat tmp_cluster_config.yaml > $cached_cluster_config_file

0 commit comments

Comments
 (0)