Skip to content

Commit

Permalink
Merge pull request #269 from csrwng/hosted_exclusions
Browse files Browse the repository at this point in the history
Add annotations to manifests to exclude in hosted deployment
  • Loading branch information
openshift-merge-robot committed Nov 14, 2019
2 parents ac394f1 + b332fc3 commit 751c6d0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install/0000_00_cluster-version-operator_03_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Deployment
metadata:
name: cluster-version-operator
namespace: openshift-cluster-version
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: RoleBinding
metadata:
name: prometheus-k8s
namespace: openshift-cluster-version
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
k8s-app: cluster-version-operator
name: cluster-version-operator
namespace: openshift-cluster-version
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
endpoints:
- interval: 30s
Expand All @@ -24,6 +26,8 @@ metadata:
k8s-app: cluster-version-operator
name: cluster-version-operator
namespace: openshift-cluster-version
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
groups:
- name: cluster-version
Expand Down
2 changes: 2 additions & 0 deletions install/0001_00_cluster-version-operator_03_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
namespace: openshift-cluster-version
labels:
k8s-app: cluster-version-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
type: ClusterIP
selector:
Expand Down

0 comments on commit 751c6d0

Please sign in to comment.