From ef3e499e4491570bac4832b50963a0e7fe7b85c7 Mon Sep 17 00:00:00 2001 From: Cesar Wong Date: Tue, 12 Nov 2019 17:18:20 +0100 Subject: [PATCH] Add manifest annotations for hosted deployment exclusions --- install/0000_80_machine-config-operator_04_deployment.yaml | 2 ++ .../0000_80_machine-config-operator_06_clusteroperator.yaml | 4 +++- ...machine-config-operator_07_etcdquorumguard_deployment.yaml | 2 ++ ...000_80_machine-config-operator_08_etcdquorumguard_pdb.yaml | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/install/0000_80_machine-config-operator_04_deployment.yaml b/install/0000_80_machine-config-operator_04_deployment.yaml index 8d982b9884..06fec43e40 100644 --- a/install/0000_80_machine-config-operator_04_deployment.yaml +++ b/install/0000_80_machine-config-operator_04_deployment.yaml @@ -5,6 +5,8 @@ metadata: namespace: openshift-machine-config-operator labels: k8s-app: machine-config-operator + annotations: + exclude.release.openshift.io/internal-openshift-hosted: "true" spec: replicas: 1 selector: diff --git a/install/0000_80_machine-config-operator_06_clusteroperator.yaml b/install/0000_80_machine-config-operator_06_clusteroperator.yaml index 93a0031def..0ca35193f3 100644 --- a/install/0000_80_machine-config-operator_06_clusteroperator.yaml +++ b/install/0000_80_machine-config-operator_06_clusteroperator.yaml @@ -2,8 +2,10 @@ apiVersion: config.openshift.io/v1 kind: ClusterOperator metadata: name: machine-config + annotations: + exclude.release.openshift.io/internal-openshift-hosted: "true" spec: {} status: versions: - name: operator - version: "0.0.1-snapshot" \ No newline at end of file + version: "0.0.1-snapshot" diff --git a/install/0000_80_machine-config-operator_07_etcdquorumguard_deployment.yaml b/install/0000_80_machine-config-operator_07_etcdquorumguard_deployment.yaml index 30ca7b7af8..081219a048 100644 --- a/install/0000_80_machine-config-operator_07_etcdquorumguard_deployment.yaml +++ b/install/0000_80_machine-config-operator_07_etcdquorumguard_deployment.yaml @@ -3,6 +3,8 @@ kind: Deployment metadata: name: etcd-quorum-guard namespace: openshift-machine-config-operator + annotations: + exclude.release.openshift.io/internal-openshift-hosted: "true" spec: replicas: 3 selector: diff --git a/install/0000_80_machine-config-operator_08_etcdquorumguard_pdb.yaml b/install/0000_80_machine-config-operator_08_etcdquorumguard_pdb.yaml index 010841ec32..90731c339b 100644 --- a/install/0000_80_machine-config-operator_08_etcdquorumguard_pdb.yaml +++ b/install/0000_80_machine-config-operator_08_etcdquorumguard_pdb.yaml @@ -3,6 +3,8 @@ kind: PodDisruptionBudget metadata: namespace: openshift-machine-config-operator name: etcd-quorum-guard + annotations: + exclude.release.openshift.io/internal-openshift-hosted: "true" spec: maxUnavailable: 1 selector: