Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cidr_blocks
def cidr_blocks() -> ::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>
Returns
- (::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>) — cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
#cidr_blocks=
def cidr_blocks=(value) -> ::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>
Parameter
- value (::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>) — cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
Returns
- (::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>) — cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — Whether or not master authorized networks is enabled.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether or not master authorized networks is enabled.
Returns
- (::Boolean) — Whether or not master authorized networks is enabled.