Enforce relocatabile kustomizations.

This commit is contained in:
jregan
2018-11-22 09:04:57 -08:00
parent 0042c4be54
commit 4f9d00c021
8 changed files with 41 additions and 36 deletions

View File

@@ -26,7 +26,10 @@ import (
"sigs.k8s.io/kustomize/pkg/ifc"
)
const enforceRelocatable = false
// TODO: 2018/Nov/20 remove this before next release.
// Leave only the true path. Retaining only for
// quick revert.
const enforceRelocatable = true
// fileLoader loads files, returning an array of bytes.
// It also enforces two kustomization requirements: