Merge pull request #4184 from chrislovecnm/rbac-default

Switching the default for kops to create a cluster with RBAC enabled.
This commit is contained in:
k8s-ci-robot 2018-01-26 10:52:33 -08:00 committed by GitHub
commit b02a73fa2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 23 additions and 23 deletions

View File

@ -156,7 +156,7 @@ func (o *CreateClusterOptions) InitDefaults() {
// Default to open API & SSH access
o.AdminAccess = []string{"0.0.0.0/0"}
o.Authorization = AuthorizationFlagAlwaysAllow
o.Authorization = AuthorizationFlagRBAC
}
var (

View File

@ -68,7 +68,7 @@ kops create cluster
--admin-access stringSlice Restrict API access to this CIDR. If not set, access will not be restricted by IP. (default [0.0.0.0/0])
--api-loadbalancer-type string Sets the API loadbalancer type to either 'public' or 'internal'
--associate-public-ip Specify --associate-public-ip=[true|false] to enable/disable association of public IP for master ASG and nodes. Default is 'true'.
--authorization string Authorization mode to use: AlwaysAllow or RBAC (default "AlwaysAllow")
--authorization string Authorization mode to use: AlwaysAllow or RBAC (default "RBAC")
--bastion Pass the --bastion flag to enable a bastion instance group. Only applies to private topology.
--channel string Channel for default versions and configuration to use (default "stable")
--cloud string Cloud provider to use - gce, aws, vsphere

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/complex.example.com

View File

@ -9,7 +9,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/ha.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/ha.example.com

View File

@ -9,7 +9,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/ha.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/ha.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: gce
configBase: memfs://tests/ha-gce.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/ha.example.com

View File

@ -9,7 +9,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/minimal.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/minimal.example.com

View File

@ -10,7 +10,7 @@ spec:
loadBalancer:
type: Public
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/private.example.com

View File

@ -8,7 +8,7 @@ spec:
loadBalancer:
type: Public
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/private.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/overrides.example.com

View File

@ -10,7 +10,7 @@ spec:
loadBalancer:
type: Public
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudLabels:
Owner: John Doe

View File

@ -8,7 +8,7 @@ spec:
loadBalancer:
type: Public
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudLabels:
Owner: John Doe

View File

@ -8,7 +8,7 @@ spec:
loadBalancer:
type: Public
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/private-subnets.example.com

View File

@ -9,7 +9,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/subnet.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/subnet.example.com

View File

@ -9,7 +9,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/subnet.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/subnet.example.com

View File

@ -9,7 +9,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/vpc.example.com

View File

@ -7,7 +7,7 @@ spec:
api:
dns: {}
authorization:
alwaysAllow: {}
rbac: {}
channel: stable
cloudProvider: aws
configBase: memfs://tests/vpc.example.com