Class: Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig

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

Overview

PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivilegedAdmissionConfig

Returns a new instance of PrivilegedAdmissionConfig.



7907
7908
7909
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7907

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

Instance Attribute Details

#allowlist_pathsArray<String>

The customer allowlist Cloud Storage paths for the cluster. These paths are used with the --autopilot-privileged-admission flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format gke:/// /, or customer-owned, in the format gs:///. Wildcards (*) are supported to authorize all allowlists under specific paths or directories. Example: gs:/ /my-bucket/* will authorize all allowlists under the my-bucket bucket. Corresponds to the JSON property allowlistPaths

Returns:

  • (Array<String>)


7905
7906
7907
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7905

def allowlist_paths
  @allowlist_paths
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7912
7913
7914
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7912

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