Skip to content

Commit dfc9b83

Browse files
authored
Fix wrapper-server binary path for non-root container migration (kptdev#478)
Signed-off-by: aravind.est <aravindhan.a@est.tech>
1 parent 6ee4d22 commit dfc9b83

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

deployments/function-pods/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 The kpt and Nephio Authors
1+
# Copyright 2025-2026 The kpt and Nephio Authors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ data:
3030
command:
3131
- cp
3232
- -a
33-
- /wrapper-server/.
33+
- /home/nonroot/wrapper-server/.
3434
- /wrapper-server-tools
3535
volumeMounts:
3636
- name: wrapper-server-tools

docs/content/en/docs/6_configuration_and_deployments/configurations/opentelemetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ data:
318318
command:
319319
- cp
320320
- -a
321-
- /wrapper-server/.
321+
- /home/nonroot/wrapper-server/.
322322
- /wrapper-server-tools
323323
volumeMounts:
324324
- name: wrapper-server-tools

func/internal/podevaluator_podmanager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func TestPodManager(t *testing.T) {
263263
Command: []string{
264264
"cp",
265265
"-a",
266-
"/wrapper-server/.",
266+
"/home/nonroot/wrapper-server/.",
267267
volumeMountPath,
268268
},
269269
VolumeMounts: []corev1.VolumeMount{

0 commit comments

Comments
 (0)