Skip to content

Commit

Permalink
[ACM-10803] Updated MCE annotations naming convention (#676)
Browse files Browse the repository at this point in the history
* updated annotations naming convention

Signed-off-by: Disaiah Bennett <[email protected]>

* updated annotations.go

Signed-off-by: Disaiah Bennett <[email protected]>

---------

Signed-off-by: Disaiah Bennett <[email protected]>
  • Loading branch information
dislbenn authored Apr 24, 2024
1 parent 456507b commit 15d21f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/utils/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,34 @@ var (
AnnotationIgnoreOCPVersion is an annotation used to indicate the operator should not check the OpenShift
Container Platform (OCP) version before proceeding when set.
*/
AnnotationIgnoreOCPVersion = "multicluster.openshift.io/ignore-ocp-version"
AnnotationIgnoreOCPVersion = "installer.multicluster.openshift.io/ignore-ocp-version"
DeprecatedAnnotationIgnoreOCPVersion = "ignoreOCPVersion"

/*
AnnotationImageOverridesCM is an annotation used in multiclusterengine to specify a custom ConfigMap containing
image overrides.
*/
AnnotationImageOverridesCM = "multicluster.openshift.io/image-overrides-configmap"
AnnotationImageOverridesCM = "installer.multicluster.openshift.io/image-overrides-configmap"
DeprecatedAnnotationImageOverridesCM = "imageOverridesCM"

/*
AnnotationImageRepo is an annotation used in multiclusterengine to specify a custom image repository to use.
*/
AnnotationImageRepo = "multicluster.openshift.io/image-repository"
AnnotationImageRepo = "installer.multicluster.openshift.io/image-repository"
DeprecatedAnnotationImageRepo = "imageRepository"

/*
AnnotationKubeconfig is an annotation used to specify the secret name residing in target containing the
kubeconfig to access the remote cluster.
*/
AnnotationKubeconfig = "multicluster.openshift.io/kubeconfig"
AnnotationKubeconfig = "installer.multicluster.openshift.io/kubeconfig"
DeprecatedAnnotationKubeconfig = "mce-kubeconfig"

/*
AnnotationMCEPause is an annotation used in multiclusterengine to identify if the multiclusterengine is
paused or not.
*/
AnnotationMCEPause = "multicluster.openshift.io/pause"
AnnotationMCEPause = "installer.multicluster.openshift.io/pause"
DeprecatedAnnotationMCEPause = "pause"

/*
Expand All @@ -62,7 +62,7 @@ var (
AnnotationTemplateOverridesCM is an annotation used in multiclusterengine to specify a custom ConfigMap
containing resource template overrides.
*/
AnnotationTemplateOverridesCM = "operator.multicluster.openshift.io/template-override-cm"
AnnotationTemplateOverridesCM = "installer.multicluster.openshift.io/template-override-configmap"
)

/*
Expand Down

0 comments on commit 15d21f8

Please sign in to comment.