Class: Google::Apis::ContainerV1::PrivilegedAdmissionConfig

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

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.



6843
6844
6845
# File 'lib/google/apis/container_v1/classes.rb', line 6843

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>)


6841
6842
6843
# File 'lib/google/apis/container_v1/classes.rb', line 6841

def allowlist_paths
  @allowlist_paths
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6848
6849
6850
# File 'lib/google/apis/container_v1/classes.rb', line 6848

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