Class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig

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

Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityConfig

Returns a new instance of WorkloadIdentityConfig.



8606
8607
8608
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8606

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

Instance Attribute Details

#identity_namespaceString

IAM Identity Namespace to attach all Kubernetes Service Accounts to. Corresponds to the JSON property identityNamespace

Returns:

  • (String)


8594
8595
8596
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8594

def identity_namespace
  @identity_namespace
end

#identity_providerString

identity provider is the third party identity provider. Corresponds to the JSON property identityProvider

Returns:

  • (String)


8599
8600
8601
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8599

def identity_provider
  @identity_provider
end

#workload_poolString

The workload pool to attach all Kubernetes service accounts to. Corresponds to the JSON property workloadPool

Returns:

  • (String)


8604
8605
8606
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8604

def workload_pool
  @workload_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8611
8612
8613
8614
8615
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8611

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