Skip to content

Commit baf7d55

Browse files
authored
updated annotations naming convention (stolostron#1468)
Signed-off-by: Disaiah Bennett <dbennett@redhat.com>
1 parent 119fb2d commit baf7d55

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkg/utils/annotations.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,33 @@ var (
2222
AnnotationIgnoreOCPVersion is an annotation used to indicate the operator should not check the OpenShift
2323
Container Platform (OCP) version before proceeding when set.
2424
*/
25-
AnnotationIgnoreOCPVersion = "operator.open-cluster-management.io/ignore-ocp-version"
25+
AnnotationIgnoreOCPVersion = "installer.open-cluster-management.io/ignore-ocp-version"
2626
DeprecatedAnnotationIgnoreOCPVersion = "ignoreOCPVersion"
2727

2828
/*
2929
AnnotationImageOverridesCM is an annotation used in multiclusterhub to specify a custom ConfigMap containing
3030
image overrides.
3131
*/
32-
AnnotationImageOverridesCM = "operator.open-cluster-management.io/image-overrides-configmap"
32+
AnnotationImageOverridesCM = "installer.open-cluster-management.io/image-overrides-configmap"
3333
DeprecatedAnnotationImageOverridesCM = "mch-imageOverridesCM"
3434

3535
/*
3636
AnnotationImageRepo is an annotation used in multiclusterhub to specify a custom image repository to use.
3737
*/
38-
AnnotationImageRepo = "operator.open-cluster-management.io/image-repository"
38+
AnnotationImageRepo = "installer.open-cluster-management.io/image-repository"
3939
DeprecatedAnnotationImageRepo = "mch-imageRepository"
4040

4141
/*
4242
AnnotationKubeconfig is an annotation used to specify the secret name residing in target containing the
4343
kubeconfig to access the remote cluster.
4444
*/
45-
AnnotationKubeconfig = "operator.open-cluster-management.io/kubeconfig"
45+
AnnotationKubeconfig = "installer.open-cluster-management.io/kubeconfig"
4646
DeprecatedAnnotationKubeconfig = "mch-kubeconfig"
4747

4848
/*
4949
AnnotationMCHPause is an annotation used in multiclusterhub to identify if the multiclusterhub is paused or not.
5050
*/
51-
AnnotationMCHPause = "operator.open-cluster-management.io/pause"
51+
AnnotationMCHPause = "installer.open-cluster-management.io/pause"
5252
DeprecatedAnnotationMCHPause = "mch-pause"
5353

5454
/*
@@ -72,7 +72,7 @@ var (
7272
AnnotationTemplateOverridesCM is an annotation used in multiclusterhub to specify a custom ConfigMap
7373
containing resource template overrides.
7474
*/
75-
AnnotationTemplateOverridesCM = "operator.multicluster.openshift.io/template-override-cm"
75+
AnnotationTemplateOverridesCM = "installer.open-cluster-management.io/template-override-configmap"
7676
)
7777

7878
/*

0 commit comments

Comments
 (0)