Skip to content

Commit

Permalink
Merge pull request #741 from abhinavdahiya/remove_all_approve
Browse files Browse the repository at this point in the history
operator: remove the cluster role binding that auto approves all node client CSRs
  • Loading branch information
openshift-merge-robot committed May 16, 2019
2 parents 99d419d + 30231ff commit fcf5aa0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 57 deletions.
17 changes: 0 additions & 17 deletions manifests/machineconfigserver/csr-approver-role-binding.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions pkg/operator/assets/bindata.go

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

3 changes: 0 additions & 3 deletions pkg/operator/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ func RenderBootstrap(
}, {
data: filesData[pullSecretFile],
filename: "bootstrap/manifests/machineconfigcontroller-pull-secret",
}, {
name: "manifests/machineconfigserver/csr-approver-role-binding.yaml",
filename: "manifests/csr-approver-role-binding.yaml",
}, {
name: "manifests/machineconfigserver/csr-bootstrap-role-binding.yaml",
filename: "manifests/csr-bootstrap-role-binding.yaml",
Expand Down
1 change: 0 additions & 1 deletion pkg/operator/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ func (optr *Operator) syncMachineConfigServer(config renderConfig) error {

crbs := []string{
"manifests/machineconfigserver/clusterrolebinding.yaml",
"manifests/machineconfigserver/csr-approver-role-binding.yaml",
"manifests/machineconfigserver/csr-bootstrap-role-binding.yaml",
"manifests/machineconfigserver/csr-renewal-role-binding.yaml",
}
Expand Down

0 comments on commit fcf5aa0

Please sign in to comment.