-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
option for origin data as annotation
- Loading branch information
1 parent
5477850
commit 3350c72
Showing
11 changed files
with
615 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package utils | ||
|
||
import "sigs.k8s.io/kustomize/api/konfig" | ||
|
||
const ( | ||
BuildAnnotationPreviousKinds = konfig.ConfigAnnoDomain + "/previousKinds" | ||
BuildAnnotationPreviousNames = konfig.ConfigAnnoDomain + "/previousNames" | ||
BuildAnnotationPrefixes = konfig.ConfigAnnoDomain + "/prefixes" | ||
BuildAnnotationSuffixes = konfig.ConfigAnnoDomain + "/suffixes" | ||
BuildAnnotationPreviousNamespaces = konfig.ConfigAnnoDomain + "/previousNamespaces" | ||
BuildAnnotationsRefBy = konfig.ConfigAnnoDomain + "/refBy" | ||
BuildAnnotationsGenBehavior = konfig.ConfigAnnoDomain + "/generatorBehavior" | ||
BuildAnnotationsGenAddHashSuffix = konfig.ConfigAnnoDomain + "/needsHashSuffix" | ||
|
||
// the following are only for patches, to specify whether they can change names | ||
// and kinds of their targets | ||
BuildAnnotationAllowNameChange = konfig.ConfigAnnoDomain + "/allowNameChange" | ||
BuildAnnotationAllowKindChange = konfig.ConfigAnnoDomain + "/allowKindChange" | ||
|
||
OriginAnnotation = "config.kubernetes.io/origin" | ||
|
||
Enabled = "enabled" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.