Skip to content

Commit

Permalink
improvement(k8s): auto-set include field on kubernetes module type
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Dec 10, 2019
1 parent 7cef10e commit 03033ba
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}

0 comments on commit 03033ba

Please sign in to comment.