Class: Google::Apis::ContainerV1::RbacBindingConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RbacBindingConfig

Returns a new instance of RbacBindingConfig.



5844
5845
5846
# File 'lib/google/apis/container_v1/classes.rb', line 5844

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_insecure_binding_system_authenticatedBoolean Also known as: enable_insecure_binding_system_authenticated?

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. Corresponds to the JSON property enableInsecureBindingSystemAuthenticated

Returns:

  • (Boolean)


5834
5835
5836
# File 'lib/google/apis/container_v1/classes.rb', line 5834

def enable_insecure_binding_system_authenticated
  @enable_insecure_binding_system_authenticated
end

#enable_insecure_binding_system_unauthenticatedBoolean Also known as: enable_insecure_binding_system_unauthenticated?

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated. Corresponds to the JSON property enableInsecureBindingSystemUnauthenticated

Returns:

  • (Boolean)


5841
5842
5843
# File 'lib/google/apis/container_v1/classes.rb', line 5841

def enable_insecure_binding_system_unauthenticated
  @enable_insecure_binding_system_unauthenticated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5849
5850
5851
5852
# File 'lib/google/apis/container_v1/classes.rb', line 5849

def update!(**args)
  @enable_insecure_binding_system_authenticated = args[:enable_insecure_binding_system_authenticated] if args.key?(:enable_insecure_binding_system_authenticated)
  @enable_insecure_binding_system_unauthenticated = args[:enable_insecure_binding_system_unauthenticated] if args.key?(:enable_insecure_binding_system_unauthenticated)
end