Class MasterAuthorizedNetworksConfig (2.21.0)

MasterAuthorizedNetworksConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
enabled bool
Whether or not master authorized networks is enabled.
cidr_blocks MutableSequence[google.cloud.container_v1beta1.types.MasterAuthorizedNetworksConfig.CidrBlock]
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
gcp_public_cidrs_access_enabled bool
Whether master is accessbile via Google Compute Engine Public IP addresses. This field is a member of oneof_ _gcp_public_cidrs_access_enabled.

Classes

CidrBlock

CidrBlock(mapping=None, *, ignore_unknown_fields=False, **kwargs)

CidrBlock contains an optional name and one CIDR block.