Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaroyamanaka committed Jul 5, 2023
1 parent 695b941 commit ed4d755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/resource/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ func mergeStringMapsWithBuildAnnotations(maps ...map[string]string) map[string]s
result := mergeStringMaps(maps...)
for i := range BuildAnnotations {
if len(maps) > 0 {
// not delete BuildAnnotationsGenAddHashSuffix to work with kustomize.config.k8s.io/needs-hash annotation in generator options
if BuildAnnotations[i] == utils.BuildAnnotationsGenAddHashSuffix {
continue
}
Expand Down

0 comments on commit ed4d755

Please sign in to comment.