Skip to content

Commit

Permalink
Update policy tests to reflect removal of write access on daemonsets
Browse files Browse the repository at this point in the history
Bug 1536304
Bug 1501514

Signed-off-by: Monis Khan <[email protected]>
  • Loading branch information
enj authored and openshift-cherrypick-robot committed Mar 14, 2018
1 parent 8e09b1b commit 8e32f77
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 8 deletions.
36 changes: 32 additions & 4 deletions test/testdata/bootstrappolicy/bootstrap_cluster_roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4818,7 +4818,6 @@ items:
- apiGroups:
- apps
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -4834,6 +4833,14 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
resources:
Expand Down Expand Up @@ -4864,7 +4871,6 @@ items:
- apiGroups:
- extensions
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -4881,6 +4887,14 @@ items:
- patch
- update
- watch
- apiGroups:
- extensions
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- policy
resources:
Expand Down Expand Up @@ -4997,7 +5011,6 @@ items:
- apiGroups:
- apps
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5013,6 +5026,14 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
resources:
Expand Down Expand Up @@ -5043,7 +5064,6 @@ items:
- apiGroups:
- extensions
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5060,6 +5080,14 @@ items:
- patch
- update
- watch
- apiGroups:
- extensions
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- policy
resources:
Expand Down
40 changes: 36 additions & 4 deletions test/testdata/bootstrappolicy/bootstrap_policy_file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5276,7 +5276,6 @@ items:
- apps
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5292,6 +5291,15 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
attributeRestrictions: null
Expand Down Expand Up @@ -5325,7 +5333,6 @@ items:
- extensions
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5342,6 +5349,15 @@ items:
- patch
- update
- watch
- apiGroups:
- extensions
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- policy
attributeRestrictions: null
Expand Down Expand Up @@ -5467,7 +5483,6 @@ items:
- apps
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5483,6 +5498,15 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
attributeRestrictions: null
Expand Down Expand Up @@ -5516,7 +5540,6 @@ items:
- extensions
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5533,6 +5556,15 @@ items:
- patch
- update
- watch
- apiGroups:
- extensions
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- policy
attributeRestrictions: null
Expand Down

0 comments on commit 8e32f77

Please sign in to comment.