Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::PodSecurityPolicyConfig (v0.27.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::PodSecurityPolicyConfig.

Configuration for the PodSecurityPolicy feature.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
Returns
  • (::Boolean) — Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.