this works!

This commit is contained in:
2018-09-30 12:33:31 -04:00
parent dabc12954d
commit 41629394b7
2 changed files with 16 additions and 35 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class Operator:
self.ensure_registry()
# Fetch all the buildpacks.
self.spawn_fetch_buildpacks()
# self.spawn_fetch_buildpacks()
@property
def installed_buildpacks(self):
+15 -34
View File
@@ -1,43 +1,24 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: bruce-operator
rules:
- apiGroups:
- extensions
resources:
- thirdpartyresources
verbs:
- get
- list
- watch
- create
- delete
- update
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
- persistientvolumeclaims
verbs:
- get
- list
- watch
- create
- delete
- apiGroups:
- bruce.kennethreitz.org
resources:
- "*"
verbs:
- "*"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: bruce-operator
namespace: bruce
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: bruce-operator
labels:
k8s-app: bruce-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: bruce-operator
namespace: bruce
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata: