File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,5 +9,6 @@ metadata:
99 namespace : open-cluster-management
1010 annotations :
1111 installer.open-cluster-management.io/mce-subscription-spec : ' {"source": "{{ default "redhat-operators" .Values.acm.mce_operator.source }}" {{- $channel }} }'
12+ patterns.gitops.validatedpatterns.io/managed : true
1213spec :
1314{{ .Values.acm.mch_spec | toYaml | indent 2 }}
Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ tests:
4040 path : metadata.annotations["installer.open-cluster-management.io/mce-subscription-spec"]
4141 value : ' {"source": "foo-source","channel": "foo-channel" }'
4242
43+ - it : Should have the managed annotation
44+ asserts :
45+ - equal :
46+ path : metadata.annotations["patterns.gitops.validatedpatterns.io/managed"]
47+ value : true
48+
4349 - it : Should have empty spec by default
4450 asserts :
4551 - equal :
You can’t perform that action at this time.
0 commit comments