Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

checkpoint: only watch pods in kube-system #774

Merged
merged 1 commit into from
Nov 17, 2017
Merged

checkpoint: only watch pods in kube-system #774

merged 1 commit into from
Nov 17, 2017

Conversation

ericchiang
Copy link
Contributor

@ericchiang ericchiang commented Nov 15, 2017

This is so we can drop the checkpoint's ClusterRole to a Role. See discussion #767 (review)

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 15, 2017
Copy link
Contributor

@diegs diegs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably doesn't really need to be a flag, but LGTM

@diegs
Copy link
Contributor

diegs commented Nov 15, 2017

coreosbot run e2e checkpointer

@ericchiang
Copy link
Contributor Author

Will remove the flag after the CI run. Wanted to keep the dream of the checkpointer being usable by other components.

@ericchiang ericchiang changed the title checkpoint: only watch pods in kube-system by default checkpoint: only watch pods in kube-system Nov 15, 2017
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 15, 2017
@ericchiang
Copy link
Contributor Author

coreosbot run e2e checkpointer

Copy link
Contributor

@diegs diegs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I like that it only looks at its own namespace.

@ericchiang
Copy link
Contributor Author

coreosbot run e2e

@dghubble dghubble self-requested a review November 17, 2017 18:09
@dghubble dghubble merged commit bb4cd3a into kubernetes-retired:master Nov 17, 2017
@ericchiang ericchiang deleted the checkpoint-kube-system branch November 17, 2017 18:15
diegs pushed a commit to diegs/bootkube that referenced this pull request Dec 5, 2017
The checkpointer now only watches pods in kube-system (kubernetes-retired#774), so it
doesn't need cluster wide permissions.
diegs pushed a commit to diegs/bootkube that referenced this pull request Dec 7, 2017
The checkpointer now only watches pods in kube-system (kubernetes-retired#774), so it
doesn't need cluster wide permissions.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants