forked from flexkube/libflexkube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e/local-testing: prepare for enabling etcd RBAC
This commit adds new etcd client certificates to be generated in testing environments, as with etcd RBAC enabled, each certificate's CN will represent a separate user. The intention is to have following users: - root - fully-privileged user for administrative actions - kube-apiserver - user dedicated for kube-apiserver, also fully privileged for the time being because of etcd-io/etcd#8458. - prometheus - user for Prometheus to scrape etcd metrics For local-testing, we also add rendering of few scripts, which can be used for testing with etcdctl and to manually enable RBAC on etcd cluster. Signed-off-by: Mateusz Gozdek <[email protected]>
- Loading branch information
Showing
2 changed files
with
84 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters