Skip to content

Commit 244c3ec

Browse files
authored
fix(envbuilder): add /product_uuid and /product_name to IgnorePaths by default (#274)
Signed-off-by: Cian Johnston <[email protected]>
1 parent 309464b commit 244c3ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

envbuilder.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ func Run(ctx context.Context, options Options) error {
8989
// Once the legacy environment variables are phased out, this can be
9090
// reinstated to the previous default values.
9191
if len(options.IgnorePaths) == 0 {
92-
options.IgnorePaths = []string{"/var/run"}
92+
options.IgnorePaths = []string{
93+
"/var/run",
94+
// KinD adds these paths to pods, so ignore them by default.
95+
"/product_uuid", "/product_name",
96+
}
9397
}
9498
if options.InitScript == "" {
9599
options.InitScript = "sleep infinity"

0 commit comments

Comments
 (0)