From 4bc48d4c33ad08d4cf923a92d9adb21366878e8a Mon Sep 17 00:00:00 2001 From: Abhinav Dahiya Date: Wed, 26 Sep 2018 09:56:52 -0700 Subject: [PATCH] fixes CVO dependency on openshift-apiserver --- ...cluster-version-operator_00_namespace.yaml | 1 + ...uster-version-operator_03_deployment.yaml} | 0 ...00_00_cluster-version-operator_03_scc.yaml | 30 ------------------- 3 files changed, 1 insertion(+), 30 deletions(-) rename install/{0000_00_cluster-version-operator_04_deployment.yaml => 0000_00_cluster-version-operator_03_deployment.yaml} (100%) delete mode 100644 install/0000_00_cluster-version-operator_03_scc.yaml diff --git a/install/0000_00_cluster-version-operator_00_namespace.yaml b/install/0000_00_cluster-version-operator_00_namespace.yaml index 060d621e8d..b2bc35743b 100644 --- a/install/0000_00_cluster-version-operator_00_namespace.yaml +++ b/install/0000_00_cluster-version-operator_00_namespace.yaml @@ -4,3 +4,4 @@ metadata: name: openshift-cluster-version labels: name: openshift-cluster-version + openshift.io/run-level: "1" diff --git a/install/0000_00_cluster-version-operator_04_deployment.yaml b/install/0000_00_cluster-version-operator_03_deployment.yaml similarity index 100% rename from install/0000_00_cluster-version-operator_04_deployment.yaml rename to install/0000_00_cluster-version-operator_03_deployment.yaml diff --git a/install/0000_00_cluster-version-operator_03_scc.yaml b/install/0000_00_cluster-version-operator_03_scc.yaml deleted file mode 100644 index 289b45399a..0000000000 --- a/install/0000_00_cluster-version-operator_03_scc.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: security.openshift.io/v1 -kind: SecurityContextConstraints -metadata: - annotations: - kubernetes.io/description: "privileged-cluster-version-operator for running cluster version operator." - name: privileged-cluster-version-operator -allowHostDirVolumePlugin: true -allowHostIPC: true -allowHostNetwork: true -allowHostPID: true -allowHostPorts: true -allowPrivilegedContainer: true -allowedCapabilities: -- "*" -fsGroup: - type: RunAsAny -groups: -- system:serviceaccounts:openshift-cluster-version -readOnlyRootFilesystem: false -runAsUser: - type: RunAsAny -seLinuxContext: - type: RunAsAny -seccompProfiles: -- "*" -supplementalGroups: - type: RunAsAny -users: [] -volumes: -- "*" \ No newline at end of file