Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: <carry>: Remove write permissions on daemonsets from Kubernetes bootstrap policy #18971

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.