Class: Google::Apis::ContainerV1::PrivilegedAdmissionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::PrivilegedAdmissionConfig
- 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
-
#allowlist_paths ⇒ Array<String>
The customer allowlist Cloud Storage paths for the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivilegedAdmissionConfig
constructor
A new instance of PrivilegedAdmissionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_paths ⇒ Array<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
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 |