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 committed Mar 13, 2018
1 parent 087d766 commit a42347b
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 @@ -4857,7 +4857,6 @@ items:
- apiGroups:
- apps
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -4873,6 +4872,14 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
resources:
Expand Down Expand Up @@ -4903,7 +4910,6 @@ items:
- apiGroups:
- extensions
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -4920,6 +4926,14 @@ items:
- patch
- update
- watch
- apiGroups:
- extensions
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- policy
resources:
Expand Down Expand Up @@ -5036,7 +5050,6 @@ items:
- apiGroups:
- apps
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5052,6 +5065,14 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
resources:
Expand Down Expand Up @@ -5082,7 +5103,6 @@ items:
- apiGroups:
- extensions
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5099,6 +5119,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 @@ -5319,7 +5319,6 @@ items:
- apps
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5335,6 +5334,15 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
attributeRestrictions: null
Expand Down Expand Up @@ -5368,7 +5376,6 @@ items:
- extensions
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5385,6 +5392,15 @@ items:
- patch
- update
- watch
- apiGroups:
- extensions
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- policy
attributeRestrictions: null
Expand Down Expand Up @@ -5510,7 +5526,6 @@ items:
- apps
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5526,6 +5541,15 @@ items:
- patch
- update
- watch
- apiGroups:
- apps
attributeRestrictions: null
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
attributeRestrictions: null
Expand Down Expand Up @@ -5559,7 +5583,6 @@ items:
- extensions
attributeRestrictions: null
resources:
- daemonsets
- deployments
- deployments/rollback
- deployments/scale
Expand All @@ -5576,6 +5599,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 a42347b

Please sign in to comment.