From de6bd88f974872015bbd0008ce0af2b53897cb36 Mon Sep 17 00:00:00 2001 From: Charles Moulliard Date: Thu, 23 Jan 2020 18:25:43 +0100 Subject: [PATCH] Chore: Delete non needed and used yaml resources --- deploy/namespace-init.yaml | 4 --- deploy/oab-install.yaml | 45 --------------------------------- deploy/rbac.yaml | 51 -------------------------------------- deploy/role.yaml | 1 - 4 files changed, 101 deletions(-) delete mode 100644 deploy/namespace-init.yaml delete mode 100644 deploy/oab-install.yaml delete mode 100644 deploy/rbac.yaml delete mode 120000 deploy/role.yaml diff --git a/deploy/namespace-init.yaml b/deploy/namespace-init.yaml deleted file mode 100644 index 3660c82a4..000000000 --- a/deploy/namespace-init.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: component-unit-test diff --git a/deploy/oab-install.yaml b/deploy/oab-install.yaml deleted file mode 100644 index 60c67b479..000000000 --- a/deploy/oab-install.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: automation-broker-apb - ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: automation-broker-apb - namespace: automation-broker-apb - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: automation-broker-apb -roleRef: - name: cluster-admin - kind: ClusterRole - apiGroup: rbac.authorization.k8s.io -subjects: - - kind: ServiceAccount - name: automation-broker-apb - namespace: automation-broker-apb - ---- -apiVersion: v1 -kind: Pod -metadata: - name: automation-broker-apb - namespace: automation-broker-apb -spec: - serviceAccount: automation-broker-apb - containers: - - name: apb - image: docker.io/automationbroker/automation-broker-apb:latest - args: - - "provision" - - "-e create_broker_namespace=true" - - "-e broker_auto_escalate=true" - - "-e wait_for_broker=true" - imagePullPolicy: IfNotPresent - restartPolicy: Never \ No newline at end of file diff --git a/deploy/rbac.yaml b/deploy/rbac.yaml deleted file mode 100644 index 6369b7ab2..000000000 --- a/deploy/rbac.yaml +++ /dev/null @@ -1,51 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: halkyon-operator -rules: -- apiGroups: - - halkyon.io - resources: - - "*" - verbs: - - "*" -- apiGroups: - - "" - resources: - - pods - - services - - endpoints - - persistentvolumeclaims - - events - - configmaps - - secrets - verbs: - - "*" -- apiGroups: - - apps - resources: - - deployments - - daemonsets - - replicasets - - statefulsets - verbs: - - "*" -- apiGroups: - - rbac.authorization.k8s.io - resources: - - roles - - rolebindings - verbs: - - "*" ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 -metadata: - name: halkyon-operator -subjects: -- kind: ServiceAccount - name: halkyon-operator -roleRef: - kind: Role - name: halkyon-operator - apiGroup: rbac.authorization.k8s.io diff --git a/deploy/role.yaml b/deploy/role.yaml deleted file mode 120000 index 9d2b0640a..000000000 --- a/deploy/role.yaml +++ /dev/null @@ -1 +0,0 @@ -rbac.yaml \ No newline at end of file