Skip to content

Commit

Permalink
update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed Jun 14, 2017
1 parent ef3c64e commit 336c159
Show file tree
Hide file tree
Showing 2 changed files with 253 additions and 68 deletions.
56 changes: 56 additions & 0 deletions test/testdata/bootstrappolicy/bootstrap_cluster_role_bindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,62 @@ items:
namespace: openshift-infra
userNames:
- system:serviceaccount:openshift-infra:image-import-controller
- apiVersion: v1
groupNames: null
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
name: system:openshift:controller:sdn-controller
roleRef:
name: system:openshift:controller:sdn-controller
subjects:
- kind: ServiceAccount
name: sdn-controller
namespace: openshift-infra
userNames:
- system:serviceaccount:openshift-infra:sdn-controller
- apiVersion: v1
groupNames: null
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
name: system:openshift:controller:resource-quota-controller
roleRef:
name: system:openshift:controller:resource-quota-controller
subjects:
- kind: ServiceAccount
name: resource-quota-controller
namespace: openshift-infra
userNames:
- system:serviceaccount:openshift-infra:resource-quota-controller
- apiVersion: v1
groupNames: null
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
name: system:openshift:controller:cluster-quota-reconciliation-controller
roleRef:
name: system:openshift:controller:cluster-quota-reconciliation-controller
subjects:
- kind: ServiceAccount
name: cluster-quota-reconciliation-controller
namespace: openshift-infra
userNames:
- system:serviceaccount:openshift-infra:cluster-quota-reconciliation-controller
- apiVersion: v1
groupNames: null
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
name: system:openshift:controller:unidling-controller
roleRef:
name: system:openshift:controller:unidling-controller
subjects:
- kind: ServiceAccount
name: unidling-controller
namespace: openshift-infra
userNames:
- system:serviceaccount:openshift-infra:unidling-controller
- apiVersion: v1
groupNames:
- system:masters
Expand Down
265 changes: 197 additions & 68 deletions test/testdata/bootstrappolicy/bootstrap_cluster_roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3378,74 +3378,6 @@ items:
- services
verbs:
- list
- apiVersion: v1
kind: ClusterRole
metadata:
annotations:
authorization.openshift.io/system-only: "true"
creationTimestamp: null
name: system:unidling-controller
rules:
- apiGroups:
- ""
- extensions
attributeRestrictions: null
resources:
- replicationcontrollers/scale
verbs:
- get
- update
- apiGroups:
- extensions
attributeRestrictions: null
resources:
- deployments/scale
- replicasets/scale
verbs:
- get
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- deploymentconfigs/scale
verbs:
- get
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- list
- watch
- apiGroups:
- ""
attributeRestrictions: null
resources:
- endpoints
verbs:
- get
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- replicationcontrollers
verbs:
- get
- patch
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- deploymentconfigs
verbs:
- get
- patch
- update
- apiVersion: v1
kind: ClusterRole
metadata:
Expand Down Expand Up @@ -4072,6 +4004,203 @@ items:
- create
- patch
- update
- apiVersion: v1
kind: ClusterRole
metadata:
annotations:
authorization.openshift.io/system-only: "true"
creationTimestamp: null
name: system:openshift:controller:sdn-controller
rules:
- apiGroups:
- ""
- network.openshift.io
attributeRestrictions: null
resources:
- clusterNetworks
verbs:
- create
- get
- update
- apiGroups:
- ""
- network.openshift.io
attributeRestrictions: null
resources:
- egressNetworkPolicies
verbs:
- get
- list
- apiGroups:
- ""
- network.openshift.io
attributeRestrictions: null
resources:
- hostSubnets
verbs:
- create
- delete
- get
- list
- apiGroups:
- ""
- network.openshift.io
attributeRestrictions: null
resources:
- netNamespaces
verbs:
- create
- delete
- get
- list
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- pods
verbs:
- get
- list
- apiGroups:
- ""
attributeRestrictions: null
resources:
- services
verbs:
- list
- apiGroups:
- ""
attributeRestrictions: null
resources:
- namespaces
verbs:
- list
- apiGroups:
- ""
attributeRestrictions: null
resources:
- nodes
verbs:
- get
- apiGroups:
- ""
attributeRestrictions: null
resources:
- nodes/status
verbs:
- update
- apiGroups:
- extensions
attributeRestrictions: null
resources:
- networkPolicies
verbs:
- list
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- create
- patch
- update
- apiVersion: v1
kind: ClusterRole
metadata:
annotations:
authorization.openshift.io/system-only: "true"
creationTimestamp: null
name: system:openshift:controller:resource-quota-controller
rules:
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- create
- patch
- update
- apiVersion: v1
kind: ClusterRole
metadata:
annotations:
authorization.openshift.io/system-only: "true"
creationTimestamp: null
name: system:openshift:controller:cluster-quota-reconciliation-controller
rules:
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- create
- patch
- update
- apiVersion: v1
kind: ClusterRole
metadata:
annotations:
authorization.openshift.io/system-only: "true"
creationTimestamp: null
name: system:openshift:controller:unidling-controller
rules:
- apiGroups:
- ""
attributeRestrictions: null
resources:
- endpoints
- replicationcontrollers/scale
verbs:
- get
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- replicationcontrollers
verbs:
- get
- patch
- update
- apiGroups:
- apps
- extensions
attributeRestrictions: null
resources:
- deployments/scale
- replicasets/scale
verbs:
- get
- update
- apiGroups:
- ""
- apps.openshift.io
attributeRestrictions: null
resources:
- deploymentconfigs/scale
verbs:
- get
- update
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- list
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- create
- patch
- update
- apiVersion: v1
kind: ClusterRole
metadata:
Expand Down

0 comments on commit 336c159

Please sign in to comment.