enable nameSuffix field of kustomization.yaml

This commit is contained in:
zoncoen
2018-11-15 19:04:11 +09:00
parent a094be45d9
commit 04a030bcf0
4 changed files with 24 additions and 11 deletions

View File

@@ -42,6 +42,10 @@ type Kustomization struct {
// file including generated configmaps and secrets.
NamePrefix string `json:"namePrefix,omitempty" yaml:"namePrefix,omitempty"`
// NameSuffix will suffix the names of all resources mentioned in the kustomization
// file including generated configmaps and secrets.
NameSuffix string `json:"nameSuffix,omitempty" yaml:"nameSuffix,omitempty"`
// Namespace to add to all objects.
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`