WIP: Trying to implement diff
This commit is contained in:
@ -128,11 +128,10 @@ func Generate(path string, gh githelper.Githelper) error {
|
||||
Name: "helm-root",
|
||||
Namespace: "flux-system",
|
||||
},
|
||||
Resources: kustomize.Files,
|
||||
Resources: append(kustomize.Files, kustomize.ConfigMaps...),
|
||||
GeneratorOptions: &kustomize_types.GeneratorOptions{
|
||||
DisableNameSuffixHash: true,
|
||||
},
|
||||
ConfigMapGenerator: kustomize.CmGeneratorFromFiles(),
|
||||
}
|
||||
|
||||
if len(kustomize.Secrets) > 0 {
|
||||
@ -172,7 +171,7 @@ func Generate(path string, gh githelper.Githelper) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
if err := gh.AddAllAndCommit(path, "Update the root kustomization"); err != nil {
|
||||
if _, err := gh.AddAllAndCommit(path, "Update the root kustomization"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user