Skip to content

Commit 751c6d0

Browse files
Merge pull request #269 from csrwng/hosted_exclusions
Add annotations to manifests to exclude in hosted deployment
2 parents ac394f1 + b332fc3 commit 751c6d0

4 files changed

+10
-0
lines changed

install/0000_00_cluster-version-operator_03_deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ kind: Deployment
33
metadata:
44
name: cluster-version-operator
55
namespace: openshift-cluster-version
6+
annotations:
7+
exclude.release.openshift.io/internal-openshift-hosted: "true"
68
spec:
79
selector:
810
matchLabels:

install/0000_90_cluster-version-operator_01_prometheusrolebinding.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ kind: RoleBinding
33
metadata:
44
name: prometheus-k8s
55
namespace: openshift-cluster-version
6+
annotations:
7+
exclude.release.openshift.io/internal-openshift-hosted: "true"
68
roleRef:
79
apiGroup: rbac.authorization.k8s.io
810
kind: Role

install/0000_90_cluster-version-operator_02_servicemonitor.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ metadata:
55
k8s-app: cluster-version-operator
66
name: cluster-version-operator
77
namespace: openshift-cluster-version
8+
annotations:
9+
exclude.release.openshift.io/internal-openshift-hosted: "true"
810
spec:
911
endpoints:
1012
- interval: 30s
@@ -24,6 +26,8 @@ metadata:
2426
k8s-app: cluster-version-operator
2527
name: cluster-version-operator
2628
namespace: openshift-cluster-version
29+
annotations:
30+
exclude.release.openshift.io/internal-openshift-hosted: "true"
2731
spec:
2832
groups:
2933
- name: cluster-version

install/0001_00_cluster-version-operator_03_service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ metadata:
55
namespace: openshift-cluster-version
66
labels:
77
k8s-app: cluster-version-operator
8+
annotations:
9+
exclude.release.openshift.io/internal-openshift-hosted: "true"
810
spec:
911
type: ClusterIP
1012
selector:

0 commit comments

Comments
 (0)