diff --git a/garden-service/src/plugins/kubernetes/kubernetes-module/config.ts b/garden-service/src/plugins/kubernetes/kubernetes-module/config.ts index 10c271b105..ed79f9ed55 100644 --- a/garden-service/src/plugins/kubernetes/kubernetes-module/config.ts +++ b/garden-service/src/plugins/kubernetes/kubernetes-module/config.ts @@ -79,5 +79,10 @@ export async function configureKubernetesModule({ }, ] + // Unless include is explicitly specified, we should just have it equal the `files` field + if (!moduleConfig.include) { + moduleConfig.include = moduleConfig.spec.files + } + return { moduleConfig } }