Documentation
¶
Index ¶
- func NewElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest() datasource.DataSource
- type ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest
- func (r *ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type ElasticsearchK8SElasticCoElasticsearchV1Beta1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest ¶
func NewElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest() datasource.DataSource
Types ¶
type ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest ¶
type ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest struct{}
func (*ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Metadata ¶
func (r *ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Read ¶
func (r *ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Schema ¶
func (r *ElasticsearchK8SElasticCoElasticsearchV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type ElasticsearchK8SElasticCoElasticsearchV1Beta1ManifestData ¶
type ElasticsearchK8SElasticCoElasticsearchV1Beta1ManifestData struct {
YAML types.String `tfsdk:"yaml" json:"-"`
ApiVersion *string `tfsdk:"-" json:"apiVersion"`
Kind *string `tfsdk:"-" json:"kind"`
Metadata struct {
Name string `tfsdk:"name" json:"name"`
Namespace string `tfsdk:"namespace" json:"namespace"`
Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
} `tfsdk:"metadata" json:"metadata"`
Spec *struct {
Http *struct {
Service *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Finalizers *[]string `tfsdk:"finalizers" json:"finalizers,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
Spec *struct {
AllocateLoadBalancerNodePorts *bool `tfsdk:"allocate_load_balancer_node_ports" json:"allocateLoadBalancerNodePorts,omitempty"`
ClusterIP *string `tfsdk:"cluster_ip" json:"clusterIP,omitempty"`
ClusterIPs *[]string `tfsdk:"cluster_i_ps" json:"clusterIPs,omitempty"`
ExternalIPs *[]string `tfsdk:"external_i_ps" json:"externalIPs,omitempty"`
ExternalName *string `tfsdk:"external_name" json:"externalName,omitempty"`
ExternalTrafficPolicy *string `tfsdk:"external_traffic_policy" json:"externalTrafficPolicy,omitempty"`
HealthCheckNodePort *int64 `tfsdk:"health_check_node_port" json:"healthCheckNodePort,omitempty"`
InternalTrafficPolicy *string `tfsdk:"internal_traffic_policy" json:"internalTrafficPolicy,omitempty"`
IpFamilies *[]string `tfsdk:"ip_families" json:"ipFamilies,omitempty"`
IpFamilyPolicy *string `tfsdk:"ip_family_policy" json:"ipFamilyPolicy,omitempty"`
LoadBalancerClass *string `tfsdk:"load_balancer_class" json:"loadBalancerClass,omitempty"`
LoadBalancerIP *string `tfsdk:"load_balancer_ip" json:"loadBalancerIP,omitempty"`
LoadBalancerSourceRanges *[]string `tfsdk:"load_balancer_source_ranges" json:"loadBalancerSourceRanges,omitempty"`
Ports *[]struct {
AppProtocol *string `tfsdk:"app_protocol" json:"appProtocol,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
NodePort *int64 `tfsdk:"node_port" json:"nodePort,omitempty"`
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"`
TargetPort *string `tfsdk:"target_port" json:"targetPort,omitempty"`
} `tfsdk:"ports" json:"ports,omitempty"`
PublishNotReadyAddresses *bool `tfsdk:"publish_not_ready_addresses" json:"publishNotReadyAddresses,omitempty"`
Selector *map[string]string `tfsdk:"selector" json:"selector,omitempty"`
SessionAffinity *string `tfsdk:"session_affinity" json:"sessionAffinity,omitempty"`
SessionAffinityConfig *struct {
ClientIP *struct {
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"client_ip" json:"clientIP,omitempty"`
} `tfsdk:"session_affinity_config" json:"sessionAffinityConfig,omitempty"`
TrafficDistribution *string `tfsdk:"traffic_distribution" json:"trafficDistribution,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
} `tfsdk:"service" json:"service,omitempty"`
Tls *struct {
Certificate *struct {
SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"`
} `tfsdk:"certificate" json:"certificate,omitempty"`
SelfSignedCertificate *struct {
Disabled *bool `tfsdk:"disabled" json:"disabled,omitempty"`
SubjectAltNames *[]struct {
Dns *string `tfsdk:"dns" json:"dns,omitempty"`
Ip *string `tfsdk:"ip" json:"ip,omitempty"`
} `tfsdk:"subject_alt_names" json:"subjectAltNames,omitempty"`
} `tfsdk:"self_signed_certificate" json:"selfSignedCertificate,omitempty"`
} `tfsdk:"tls" json:"tls,omitempty"`
} `tfsdk:"http" json:"http,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
NodeSets *[]struct {
Config *map[string]string `tfsdk:"config" json:"config,omitempty"`
Count *int64 `tfsdk:"count" json:"count,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
PodTemplate *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Finalizers *[]string `tfsdk:"finalizers" json:"finalizers,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
Spec *struct {
ActiveDeadlineSeconds *int64 `tfsdk:"active_deadline_seconds" json:"activeDeadlineSeconds,omitempty"`
Affinity *struct {
NodeAffinity *struct {
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
Preference *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchFields *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_fields" json:"matchFields,omitempty"`
} `tfsdk:"preference" json:"preference,omitempty"`
Weight *int64 `tfsdk:"weight" json:"weight,omitempty"`
} `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
RequiredDuringSchedulingIgnoredDuringExecution *struct {
NodeSelectorTerms *[]struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchFields *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_fields" json:"matchFields,omitempty"`
} `tfsdk:"node_selector_terms" json:"nodeSelectorTerms,omitempty"`
} `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `tfsdk:"node_affinity" json:"nodeAffinity,omitempty"`
PodAffinity *struct {
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
PodAffinityTerm *struct {
LabelSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
NamespaceSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"`
} `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"`
Weight *int64 `tfsdk:"weight" json:"weight,omitempty"`
} `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
LabelSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
NamespaceSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"`
} `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `tfsdk:"pod_affinity" json:"podAffinity,omitempty"`
PodAntiAffinity *struct {
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
PodAffinityTerm *struct {
LabelSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
NamespaceSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"`
} `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"`
Weight *int64 `tfsdk:"weight" json:"weight,omitempty"`
} `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
LabelSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,omitempty"`
NamespaceSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"`
Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"`
TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"`
} `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"`
} `tfsdk:"affinity" json:"affinity,omitempty"`
AutomountServiceAccountToken *bool `tfsdk:"automount_service_account_token" json:"automountServiceAccountToken,omitempty"`
Containers *[]struct {
Args *[]string `tfsdk:"args" json:"args,omitempty"`
Command *[]string `tfsdk:"command" json:"command,omitempty"`
Env *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
ValueFrom *struct {
ConfigMapKeyRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"`
FieldRef *struct {
ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
ResourceFieldRef *struct {
ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"`
Resource *string `tfsdk:"resource" json:"resource,omitempty"`
} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
SecretKeyRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"`
} `tfsdk:"value_from" json:"valueFrom,omitempty"`
} `tfsdk:"env" json:"env,omitempty"`
EnvFrom *[]struct {
ConfigMapRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map_ref" json:"configMapRef,omitempty"`
Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
} `tfsdk:"env_from" json:"envFrom,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"`
Lifecycle *struct {
PostStart *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
Sleep *struct {
Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"`
} `tfsdk:"sleep" json:"sleep,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
} `tfsdk:"post_start" json:"postStart,omitempty"`
PreStop *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
Sleep *struct {
Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"`
} `tfsdk:"sleep" json:"sleep,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
} `tfsdk:"pre_stop" json:"preStop,omitempty"`
} `tfsdk:"lifecycle" json:"lifecycle,omitempty"`
LivenessProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"liveness_probe" json:"livenessProbe,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Ports *[]struct {
ContainerPort *int64 `tfsdk:"container_port" json:"containerPort,omitempty"`
HostIP *string `tfsdk:"host_ip" json:"hostIP,omitempty"`
HostPort *int64 `tfsdk:"host_port" json:"hostPort,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"`
} `tfsdk:"ports" json:"ports,omitempty"`
ReadinessProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"readiness_probe" json:"readinessProbe,omitempty"`
ResizePolicy *[]struct {
ResourceName *string `tfsdk:"resource_name" json:"resourceName,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
} `tfsdk:"resize_policy" json:"resizePolicy,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Request *string `tfsdk:"request" json:"request,omitempty"`
} `tfsdk:"claims" json:"claims,omitempty"`
Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
} `tfsdk:"resources" json:"resources,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
SecurityContext *struct {
AllowPrivilegeEscalation *bool `tfsdk:"allow_privilege_escalation" json:"allowPrivilegeEscalation,omitempty"`
AppArmorProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"app_armor_profile" json:"appArmorProfile,omitempty"`
Capabilities *struct {
Add *[]string `tfsdk:"add" json:"add,omitempty"`
Drop *[]string `tfsdk:"drop" json:"drop,omitempty"`
} `tfsdk:"capabilities" json:"capabilities,omitempty"`
Privileged *bool `tfsdk:"privileged" json:"privileged,omitempty"`
ProcMount *string `tfsdk:"proc_mount" json:"procMount,omitempty"`
ReadOnlyRootFilesystem *bool `tfsdk:"read_only_root_filesystem" json:"readOnlyRootFilesystem,omitempty"`
RunAsGroup *int64 `tfsdk:"run_as_group" json:"runAsGroup,omitempty"`
RunAsNonRoot *bool `tfsdk:"run_as_non_root" json:"runAsNonRoot,omitempty"`
RunAsUser *int64 `tfsdk:"run_as_user" json:"runAsUser,omitempty"`
SeLinuxOptions *struct {
Level *string `tfsdk:"level" json:"level,omitempty"`
Role *string `tfsdk:"role" json:"role,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
} `tfsdk:"se_linux_options" json:"seLinuxOptions,omitempty"`
SeccompProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"seccomp_profile" json:"seccompProfile,omitempty"`
WindowsOptions *struct {
GmsaCredentialSpec *string `tfsdk:"gmsa_credential_spec" json:"gmsaCredentialSpec,omitempty"`
GmsaCredentialSpecName *string `tfsdk:"gmsa_credential_spec_name" json:"gmsaCredentialSpecName,omitempty"`
HostProcess *bool `tfsdk:"host_process" json:"hostProcess,omitempty"`
RunAsUserName *string `tfsdk:"run_as_user_name" json:"runAsUserName,omitempty"`
} `tfsdk:"windows_options" json:"windowsOptions,omitempty"`
} `tfsdk:"security_context" json:"securityContext,omitempty"`
StartupProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"startup_probe" json:"startupProbe,omitempty"`
Stdin *bool `tfsdk:"stdin" json:"stdin,omitempty"`
StdinOnce *bool `tfsdk:"stdin_once" json:"stdinOnce,omitempty"`
TerminationMessagePath *string `tfsdk:"termination_message_path" json:"terminationMessagePath,omitempty"`
TerminationMessagePolicy *string `tfsdk:"termination_message_policy" json:"terminationMessagePolicy,omitempty"`
Tty *bool `tfsdk:"tty" json:"tty,omitempty"`
VolumeDevices *[]struct {
DevicePath *string `tfsdk:"device_path" json:"devicePath,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"volume_devices" json:"volumeDevices,omitempty"`
VolumeMounts *[]struct {
MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
MountPropagation *string `tfsdk:"mount_propagation" json:"mountPropagation,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
RecursiveReadOnly *string `tfsdk:"recursive_read_only" json:"recursiveReadOnly,omitempty"`
SubPath *string `tfsdk:"sub_path" json:"subPath,omitempty"`
SubPathExpr *string `tfsdk:"sub_path_expr" json:"subPathExpr,omitempty"`
} `tfsdk:"volume_mounts" json:"volumeMounts,omitempty"`
WorkingDir *string `tfsdk:"working_dir" json:"workingDir,omitempty"`
} `tfsdk:"containers" json:"containers,omitempty"`
DnsConfig *struct {
Nameservers *[]string `tfsdk:"nameservers" json:"nameservers,omitempty"`
Options *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"options" json:"options,omitempty"`
Searches *[]string `tfsdk:"searches" json:"searches,omitempty"`
} `tfsdk:"dns_config" json:"dnsConfig,omitempty"`
DnsPolicy *string `tfsdk:"dns_policy" json:"dnsPolicy,omitempty"`
EnableServiceLinks *bool `tfsdk:"enable_service_links" json:"enableServiceLinks,omitempty"`
EphemeralContainers *[]struct {
Args *[]string `tfsdk:"args" json:"args,omitempty"`
Command *[]string `tfsdk:"command" json:"command,omitempty"`
Env *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
ValueFrom *struct {
ConfigMapKeyRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"`
FieldRef *struct {
ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
ResourceFieldRef *struct {
ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"`
Resource *string `tfsdk:"resource" json:"resource,omitempty"`
} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
SecretKeyRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"`
} `tfsdk:"value_from" json:"valueFrom,omitempty"`
} `tfsdk:"env" json:"env,omitempty"`
EnvFrom *[]struct {
ConfigMapRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map_ref" json:"configMapRef,omitempty"`
Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
} `tfsdk:"env_from" json:"envFrom,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"`
Lifecycle *struct {
PostStart *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
Sleep *struct {
Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"`
} `tfsdk:"sleep" json:"sleep,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
} `tfsdk:"post_start" json:"postStart,omitempty"`
PreStop *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
Sleep *struct {
Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"`
} `tfsdk:"sleep" json:"sleep,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
} `tfsdk:"pre_stop" json:"preStop,omitempty"`
} `tfsdk:"lifecycle" json:"lifecycle,omitempty"`
LivenessProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"liveness_probe" json:"livenessProbe,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Ports *[]struct {
ContainerPort *int64 `tfsdk:"container_port" json:"containerPort,omitempty"`
HostIP *string `tfsdk:"host_ip" json:"hostIP,omitempty"`
HostPort *int64 `tfsdk:"host_port" json:"hostPort,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"`
} `tfsdk:"ports" json:"ports,omitempty"`
ReadinessProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"readiness_probe" json:"readinessProbe,omitempty"`
ResizePolicy *[]struct {
ResourceName *string `tfsdk:"resource_name" json:"resourceName,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
} `tfsdk:"resize_policy" json:"resizePolicy,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Request *string `tfsdk:"request" json:"request,omitempty"`
} `tfsdk:"claims" json:"claims,omitempty"`
Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
} `tfsdk:"resources" json:"resources,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
SecurityContext *struct {
AllowPrivilegeEscalation *bool `tfsdk:"allow_privilege_escalation" json:"allowPrivilegeEscalation,omitempty"`
AppArmorProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"app_armor_profile" json:"appArmorProfile,omitempty"`
Capabilities *struct {
Add *[]string `tfsdk:"add" json:"add,omitempty"`
Drop *[]string `tfsdk:"drop" json:"drop,omitempty"`
} `tfsdk:"capabilities" json:"capabilities,omitempty"`
Privileged *bool `tfsdk:"privileged" json:"privileged,omitempty"`
ProcMount *string `tfsdk:"proc_mount" json:"procMount,omitempty"`
ReadOnlyRootFilesystem *bool `tfsdk:"read_only_root_filesystem" json:"readOnlyRootFilesystem,omitempty"`
RunAsGroup *int64 `tfsdk:"run_as_group" json:"runAsGroup,omitempty"`
RunAsNonRoot *bool `tfsdk:"run_as_non_root" json:"runAsNonRoot,omitempty"`
RunAsUser *int64 `tfsdk:"run_as_user" json:"runAsUser,omitempty"`
SeLinuxOptions *struct {
Level *string `tfsdk:"level" json:"level,omitempty"`
Role *string `tfsdk:"role" json:"role,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
} `tfsdk:"se_linux_options" json:"seLinuxOptions,omitempty"`
SeccompProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"seccomp_profile" json:"seccompProfile,omitempty"`
WindowsOptions *struct {
GmsaCredentialSpec *string `tfsdk:"gmsa_credential_spec" json:"gmsaCredentialSpec,omitempty"`
GmsaCredentialSpecName *string `tfsdk:"gmsa_credential_spec_name" json:"gmsaCredentialSpecName,omitempty"`
HostProcess *bool `tfsdk:"host_process" json:"hostProcess,omitempty"`
RunAsUserName *string `tfsdk:"run_as_user_name" json:"runAsUserName,omitempty"`
} `tfsdk:"windows_options" json:"windowsOptions,omitempty"`
} `tfsdk:"security_context" json:"securityContext,omitempty"`
StartupProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"startup_probe" json:"startupProbe,omitempty"`
Stdin *bool `tfsdk:"stdin" json:"stdin,omitempty"`
StdinOnce *bool `tfsdk:"stdin_once" json:"stdinOnce,omitempty"`
TargetContainerName *string `tfsdk:"target_container_name" json:"targetContainerName,omitempty"`
TerminationMessagePath *string `tfsdk:"termination_message_path" json:"terminationMessagePath,omitempty"`
TerminationMessagePolicy *string `tfsdk:"termination_message_policy" json:"terminationMessagePolicy,omitempty"`
Tty *bool `tfsdk:"tty" json:"tty,omitempty"`
VolumeDevices *[]struct {
DevicePath *string `tfsdk:"device_path" json:"devicePath,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"volume_devices" json:"volumeDevices,omitempty"`
VolumeMounts *[]struct {
MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
MountPropagation *string `tfsdk:"mount_propagation" json:"mountPropagation,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
RecursiveReadOnly *string `tfsdk:"recursive_read_only" json:"recursiveReadOnly,omitempty"`
SubPath *string `tfsdk:"sub_path" json:"subPath,omitempty"`
SubPathExpr *string `tfsdk:"sub_path_expr" json:"subPathExpr,omitempty"`
} `tfsdk:"volume_mounts" json:"volumeMounts,omitempty"`
WorkingDir *string `tfsdk:"working_dir" json:"workingDir,omitempty"`
} `tfsdk:"ephemeral_containers" json:"ephemeralContainers,omitempty"`
HostAliases *[]struct {
Hostnames *[]string `tfsdk:"hostnames" json:"hostnames,omitempty"`
Ip *string `tfsdk:"ip" json:"ip,omitempty"`
} `tfsdk:"host_aliases" json:"hostAliases,omitempty"`
HostIPC *bool `tfsdk:"host_ipc" json:"hostIPC,omitempty"`
HostNetwork *bool `tfsdk:"host_network" json:"hostNetwork,omitempty"`
HostPID *bool `tfsdk:"host_pid" json:"hostPID,omitempty"`
HostUsers *bool `tfsdk:"host_users" json:"hostUsers,omitempty"`
Hostname *string `tfsdk:"hostname" json:"hostname,omitempty"`
ImagePullSecrets *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"image_pull_secrets" json:"imagePullSecrets,omitempty"`
InitContainers *[]struct {
Args *[]string `tfsdk:"args" json:"args,omitempty"`
Command *[]string `tfsdk:"command" json:"command,omitempty"`
Env *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
ValueFrom *struct {
ConfigMapKeyRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"`
FieldRef *struct {
ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
ResourceFieldRef *struct {
ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"`
Resource *string `tfsdk:"resource" json:"resource,omitempty"`
} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
SecretKeyRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"`
} `tfsdk:"value_from" json:"valueFrom,omitempty"`
} `tfsdk:"env" json:"env,omitempty"`
EnvFrom *[]struct {
ConfigMapRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map_ref" json:"configMapRef,omitempty"`
Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
} `tfsdk:"env_from" json:"envFrom,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"`
Lifecycle *struct {
PostStart *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
Sleep *struct {
Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"`
} `tfsdk:"sleep" json:"sleep,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
} `tfsdk:"post_start" json:"postStart,omitempty"`
PreStop *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
Sleep *struct {
Seconds *int64 `tfsdk:"seconds" json:"seconds,omitempty"`
} `tfsdk:"sleep" json:"sleep,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
} `tfsdk:"pre_stop" json:"preStop,omitempty"`
} `tfsdk:"lifecycle" json:"lifecycle,omitempty"`
LivenessProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"liveness_probe" json:"livenessProbe,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Ports *[]struct {
ContainerPort *int64 `tfsdk:"container_port" json:"containerPort,omitempty"`
HostIP *string `tfsdk:"host_ip" json:"hostIP,omitempty"`
HostPort *int64 `tfsdk:"host_port" json:"hostPort,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"`
} `tfsdk:"ports" json:"ports,omitempty"`
ReadinessProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"readiness_probe" json:"readinessProbe,omitempty"`
ResizePolicy *[]struct {
ResourceName *string `tfsdk:"resource_name" json:"resourceName,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
} `tfsdk:"resize_policy" json:"resizePolicy,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Request *string `tfsdk:"request" json:"request,omitempty"`
} `tfsdk:"claims" json:"claims,omitempty"`
Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
} `tfsdk:"resources" json:"resources,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
SecurityContext *struct {
AllowPrivilegeEscalation *bool `tfsdk:"allow_privilege_escalation" json:"allowPrivilegeEscalation,omitempty"`
AppArmorProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"app_armor_profile" json:"appArmorProfile,omitempty"`
Capabilities *struct {
Add *[]string `tfsdk:"add" json:"add,omitempty"`
Drop *[]string `tfsdk:"drop" json:"drop,omitempty"`
} `tfsdk:"capabilities" json:"capabilities,omitempty"`
Privileged *bool `tfsdk:"privileged" json:"privileged,omitempty"`
ProcMount *string `tfsdk:"proc_mount" json:"procMount,omitempty"`
ReadOnlyRootFilesystem *bool `tfsdk:"read_only_root_filesystem" json:"readOnlyRootFilesystem,omitempty"`
RunAsGroup *int64 `tfsdk:"run_as_group" json:"runAsGroup,omitempty"`
RunAsNonRoot *bool `tfsdk:"run_as_non_root" json:"runAsNonRoot,omitempty"`
RunAsUser *int64 `tfsdk:"run_as_user" json:"runAsUser,omitempty"`
SeLinuxOptions *struct {
Level *string `tfsdk:"level" json:"level,omitempty"`
Role *string `tfsdk:"role" json:"role,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
} `tfsdk:"se_linux_options" json:"seLinuxOptions,omitempty"`
SeccompProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"seccomp_profile" json:"seccompProfile,omitempty"`
WindowsOptions *struct {
GmsaCredentialSpec *string `tfsdk:"gmsa_credential_spec" json:"gmsaCredentialSpec,omitempty"`
GmsaCredentialSpecName *string `tfsdk:"gmsa_credential_spec_name" json:"gmsaCredentialSpecName,omitempty"`
HostProcess *bool `tfsdk:"host_process" json:"hostProcess,omitempty"`
RunAsUserName *string `tfsdk:"run_as_user_name" json:"runAsUserName,omitempty"`
} `tfsdk:"windows_options" json:"windowsOptions,omitempty"`
} `tfsdk:"security_context" json:"securityContext,omitempty"`
StartupProbe *struct {
Exec *struct {
Command *[]string `tfsdk:"command" json:"command,omitempty"`
} `tfsdk:"exec" json:"exec,omitempty"`
FailureThreshold *int64 `tfsdk:"failure_threshold" json:"failureThreshold,omitempty"`
Grpc *struct {
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Service *string `tfsdk:"service" json:"service,omitempty"`
} `tfsdk:"grpc" json:"grpc,omitempty"`
HttpGet *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
HttpHeaders *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"http_headers" json:"httpHeaders,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
} `tfsdk:"http_get" json:"httpGet,omitempty"`
InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"`
PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"`
SuccessThreshold *int64 `tfsdk:"success_threshold" json:"successThreshold,omitempty"`
TcpSocket *struct {
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *string `tfsdk:"port" json:"port,omitempty"`
} `tfsdk:"tcp_socket" json:"tcpSocket,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
} `tfsdk:"startup_probe" json:"startupProbe,omitempty"`
Stdin *bool `tfsdk:"stdin" json:"stdin,omitempty"`
StdinOnce *bool `tfsdk:"stdin_once" json:"stdinOnce,omitempty"`
TerminationMessagePath *string `tfsdk:"termination_message_path" json:"terminationMessagePath,omitempty"`
TerminationMessagePolicy *string `tfsdk:"termination_message_policy" json:"terminationMessagePolicy,omitempty"`
Tty *bool `tfsdk:"tty" json:"tty,omitempty"`
VolumeDevices *[]struct {
DevicePath *string `tfsdk:"device_path" json:"devicePath,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"volume_devices" json:"volumeDevices,omitempty"`
VolumeMounts *[]struct {
MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"`
MountPropagation *string `tfsdk:"mount_propagation" json:"mountPropagation,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
RecursiveReadOnly *string `tfsdk:"recursive_read_only" json:"recursiveReadOnly,omitempty"`
SubPath *string `tfsdk:"sub_path" json:"subPath,omitempty"`
SubPathExpr *string `tfsdk:"sub_path_expr" json:"subPathExpr,omitempty"`
} `tfsdk:"volume_mounts" json:"volumeMounts,omitempty"`
WorkingDir *string `tfsdk:"working_dir" json:"workingDir,omitempty"`
} `tfsdk:"init_containers" json:"initContainers,omitempty"`
NodeName *string `tfsdk:"node_name" json:"nodeName,omitempty"`
NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"`
Os *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"os" json:"os,omitempty"`
Overhead *map[string]string `tfsdk:"overhead" json:"overhead,omitempty"`
PreemptionPolicy *string `tfsdk:"preemption_policy" json:"preemptionPolicy,omitempty"`
Priority *int64 `tfsdk:"priority" json:"priority,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
ReadinessGates *[]struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
SchedulerName *string `tfsdk:"scheduler_name" json:"schedulerName,omitempty"`
SchedulingGates *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"scheduling_gates" json:"schedulingGates,omitempty"`
SecurityContext *struct {
AppArmorProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"app_armor_profile" json:"appArmorProfile,omitempty"`
FsGroup *int64 `tfsdk:"fs_group" json:"fsGroup,omitempty"`
FsGroupChangePolicy *string `tfsdk:"fs_group_change_policy" json:"fsGroupChangePolicy,omitempty"`
RunAsGroup *int64 `tfsdk:"run_as_group" json:"runAsGroup,omitempty"`
RunAsNonRoot *bool `tfsdk:"run_as_non_root" json:"runAsNonRoot,omitempty"`
RunAsUser *int64 `tfsdk:"run_as_user" json:"runAsUser,omitempty"`
SeLinuxOptions *struct {
Level *string `tfsdk:"level" json:"level,omitempty"`
Role *string `tfsdk:"role" json:"role,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
} `tfsdk:"se_linux_options" json:"seLinuxOptions,omitempty"`
SeccompProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"seccomp_profile" json:"seccompProfile,omitempty"`
SupplementalGroups *[]string `tfsdk:"supplemental_groups" json:"supplementalGroups,omitempty"`
SupplementalGroupsPolicy *string `tfsdk:"supplemental_groups_policy" json:"supplementalGroupsPolicy,omitempty"`
Sysctls *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"sysctls" json:"sysctls,omitempty"`
WindowsOptions *struct {
GmsaCredentialSpec *string `tfsdk:"gmsa_credential_spec" json:"gmsaCredentialSpec,omitempty"`
GmsaCredentialSpecName *string `tfsdk:"gmsa_credential_spec_name" json:"gmsaCredentialSpecName,omitempty"`
HostProcess *bool `tfsdk:"host_process" json:"hostProcess,omitempty"`
RunAsUserName *string `tfsdk:"run_as_user_name" json:"runAsUserName,omitempty"`
} `tfsdk:"windows_options" json:"windowsOptions,omitempty"`
} `tfsdk:"security_context" json:"securityContext,omitempty"`
ServiceAccount *string `tfsdk:"service_account" json:"serviceAccount,omitempty"`
ServiceAccountName *string `tfsdk:"service_account_name" json:"serviceAccountName,omitempty"`
SetHostnameAsFQDN *bool `tfsdk:"set_hostname_as_fqdn" json:"setHostnameAsFQDN,omitempty"`
ShareProcessNamespace *bool `tfsdk:"share_process_namespace" json:"shareProcessNamespace,omitempty"`
Subdomain *string `tfsdk:"subdomain" json:"subdomain,omitempty"`
TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"`
Tolerations *[]struct {
Effect *string `tfsdk:"effect" json:"effect,omitempty"`
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"`
Value *string `tfsdk:"value" json:"value,omitempty"`
} `tfsdk:"tolerations" json:"tolerations,omitempty"`
TopologySpreadConstraints *[]struct {
LabelSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"`
MaxSkew *int64 `tfsdk:"max_skew" json:"maxSkew,omitempty"`
MinDomains *int64 `tfsdk:"min_domains" json:"minDomains,omitempty"`
NodeAffinityPolicy *string `tfsdk:"node_affinity_policy" json:"nodeAffinityPolicy,omitempty"`
NodeTaintsPolicy *string `tfsdk:"node_taints_policy" json:"nodeTaintsPolicy,omitempty"`
TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"`
WhenUnsatisfiable *string `tfsdk:"when_unsatisfiable" json:"whenUnsatisfiable,omitempty"`
} `tfsdk:"topology_spread_constraints" json:"topologySpreadConstraints,omitempty"`
Volumes *[]struct {
AwsElasticBlockStore *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Partition *int64 `tfsdk:"partition" json:"partition,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
VolumeID *string `tfsdk:"volume_id" json:"volumeID,omitempty"`
} `tfsdk:"aws_elastic_block_store" json:"awsElasticBlockStore,omitempty"`
AzureDisk *struct {
CachingMode *string `tfsdk:"caching_mode" json:"cachingMode,omitempty"`
DiskName *string `tfsdk:"disk_name" json:"diskName,omitempty"`
DiskURI *string `tfsdk:"disk_uri" json:"diskURI,omitempty"`
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
} `tfsdk:"azure_disk" json:"azureDisk,omitempty"`
AzureFile *struct {
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"`
ShareName *string `tfsdk:"share_name" json:"shareName,omitempty"`
} `tfsdk:"azure_file" json:"azureFile,omitempty"`
Cephfs *struct {
Monitors *[]string `tfsdk:"monitors" json:"monitors,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretFile *string `tfsdk:"secret_file" json:"secretFile,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
} `tfsdk:"cephfs" json:"cephfs,omitempty"`
Cinder *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
VolumeID *string `tfsdk:"volume_id" json:"volumeID,omitempty"`
} `tfsdk:"cinder" json:"cinder,omitempty"`
ConfigMap *struct {
DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"`
Items *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Mode *int64 `tfsdk:"mode" json:"mode,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
} `tfsdk:"items" json:"items,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map" json:"configMap,omitempty"`
Csi *struct {
Driver *string `tfsdk:"driver" json:"driver,omitempty"`
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
NodePublishSecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"node_publish_secret_ref" json:"nodePublishSecretRef,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
VolumeAttributes *map[string]string `tfsdk:"volume_attributes" json:"volumeAttributes,omitempty"`
} `tfsdk:"csi" json:"csi,omitempty"`
DownwardAPI *struct {
DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"`
Items *[]struct {
FieldRef *struct {
ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
Mode *int64 `tfsdk:"mode" json:"mode,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
ResourceFieldRef *struct {
ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"`
Resource *string `tfsdk:"resource" json:"resource,omitempty"`
} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
} `tfsdk:"items" json:"items,omitempty"`
} `tfsdk:"downward_api" json:"downwardAPI,omitempty"`
EmptyDir *struct {
Medium *string `tfsdk:"medium" json:"medium,omitempty"`
SizeLimit *string `tfsdk:"size_limit" json:"sizeLimit,omitempty"`
} `tfsdk:"empty_dir" json:"emptyDir,omitempty"`
Ephemeral *struct {
VolumeClaimTemplate *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Finalizers *[]string `tfsdk:"finalizers" json:"finalizers,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
Spec *struct {
AccessModes *[]string `tfsdk:"access_modes" json:"accessModes,omitempty"`
DataSource *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"data_source" json:"dataSource,omitempty"`
DataSourceRef *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"data_source_ref" json:"dataSourceRef,omitempty"`
Resources *struct {
Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
} `tfsdk:"resources" json:"resources,omitempty"`
Selector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"selector" json:"selector,omitempty"`
StorageClassName *string `tfsdk:"storage_class_name" json:"storageClassName,omitempty"`
VolumeAttributesClassName *string `tfsdk:"volume_attributes_class_name" json:"volumeAttributesClassName,omitempty"`
VolumeMode *string `tfsdk:"volume_mode" json:"volumeMode,omitempty"`
VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
} `tfsdk:"volume_claim_template" json:"volumeClaimTemplate,omitempty"`
} `tfsdk:"ephemeral" json:"ephemeral,omitempty"`
Fc *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Lun *int64 `tfsdk:"lun" json:"lun,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
TargetWWNs *[]string `tfsdk:"target_ww_ns" json:"targetWWNs,omitempty"`
Wwids *[]string `tfsdk:"wwids" json:"wwids,omitempty"`
} `tfsdk:"fc" json:"fc,omitempty"`
FlexVolume *struct {
Driver *string `tfsdk:"driver" json:"driver,omitempty"`
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Options *map[string]string `tfsdk:"options" json:"options,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
} `tfsdk:"flex_volume" json:"flexVolume,omitempty"`
Flocker *struct {
DatasetName *string `tfsdk:"dataset_name" json:"datasetName,omitempty"`
DatasetUUID *string `tfsdk:"dataset_uuid" json:"datasetUUID,omitempty"`
} `tfsdk:"flocker" json:"flocker,omitempty"`
GcePersistentDisk *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Partition *int64 `tfsdk:"partition" json:"partition,omitempty"`
PdName *string `tfsdk:"pd_name" json:"pdName,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
} `tfsdk:"gce_persistent_disk" json:"gcePersistentDisk,omitempty"`
GitRepo *struct {
Directory *string `tfsdk:"directory" json:"directory,omitempty"`
Repository *string `tfsdk:"repository" json:"repository,omitempty"`
Revision *string `tfsdk:"revision" json:"revision,omitempty"`
} `tfsdk:"git_repo" json:"gitRepo,omitempty"`
Glusterfs *struct {
Endpoints *string `tfsdk:"endpoints" json:"endpoints,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
} `tfsdk:"glusterfs" json:"glusterfs,omitempty"`
HostPath *struct {
Path *string `tfsdk:"path" json:"path,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"host_path" json:"hostPath,omitempty"`
Image *struct {
PullPolicy *string `tfsdk:"pull_policy" json:"pullPolicy,omitempty"`
Reference *string `tfsdk:"reference" json:"reference,omitempty"`
} `tfsdk:"image" json:"image,omitempty"`
Iscsi *struct {
ChapAuthDiscovery *bool `tfsdk:"chap_auth_discovery" json:"chapAuthDiscovery,omitempty"`
ChapAuthSession *bool `tfsdk:"chap_auth_session" json:"chapAuthSession,omitempty"`
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
InitiatorName *string `tfsdk:"initiator_name" json:"initiatorName,omitempty"`
Iqn *string `tfsdk:"iqn" json:"iqn,omitempty"`
IscsiInterface *string `tfsdk:"iscsi_interface" json:"iscsiInterface,omitempty"`
Lun *int64 `tfsdk:"lun" json:"lun,omitempty"`
Portals *[]string `tfsdk:"portals" json:"portals,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
TargetPortal *string `tfsdk:"target_portal" json:"targetPortal,omitempty"`
} `tfsdk:"iscsi" json:"iscsi,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Nfs *struct {
Path *string `tfsdk:"path" json:"path,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
Server *string `tfsdk:"server" json:"server,omitempty"`
} `tfsdk:"nfs" json:"nfs,omitempty"`
PersistentVolumeClaim *struct {
ClaimName *string `tfsdk:"claim_name" json:"claimName,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
} `tfsdk:"persistent_volume_claim" json:"persistentVolumeClaim,omitempty"`
PhotonPersistentDisk *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
PdID *string `tfsdk:"pd_id" json:"pdID,omitempty"`
} `tfsdk:"photon_persistent_disk" json:"photonPersistentDisk,omitempty"`
PortworxVolume *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
VolumeID *string `tfsdk:"volume_id" json:"volumeID,omitempty"`
} `tfsdk:"portworx_volume" json:"portworxVolume,omitempty"`
Projected *struct {
DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"`
Sources *[]struct {
ClusterTrustBundle *struct {
LabelSelector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"label_selector" json:"labelSelector,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
SignerName *string `tfsdk:"signer_name" json:"signerName,omitempty"`
} `tfsdk:"cluster_trust_bundle" json:"clusterTrustBundle,omitempty"`
ConfigMap *struct {
Items *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Mode *int64 `tfsdk:"mode" json:"mode,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
} `tfsdk:"items" json:"items,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_map" json:"configMap,omitempty"`
DownwardAPI *struct {
Items *[]struct {
FieldRef *struct {
ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
Mode *int64 `tfsdk:"mode" json:"mode,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
ResourceFieldRef *struct {
ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"`
Resource *string `tfsdk:"resource" json:"resource,omitempty"`
} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
} `tfsdk:"items" json:"items,omitempty"`
} `tfsdk:"downward_api" json:"downwardAPI,omitempty"`
Secret *struct {
Items *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Mode *int64 `tfsdk:"mode" json:"mode,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
} `tfsdk:"items" json:"items,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"secret" json:"secret,omitempty"`
ServiceAccountToken *struct {
Audience *string `tfsdk:"audience" json:"audience,omitempty"`
ExpirationSeconds *int64 `tfsdk:"expiration_seconds" json:"expirationSeconds,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
} `tfsdk:"service_account_token" json:"serviceAccountToken,omitempty"`
} `tfsdk:"sources" json:"sources,omitempty"`
} `tfsdk:"projected" json:"projected,omitempty"`
Quobyte *struct {
Group *string `tfsdk:"group" json:"group,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
Registry *string `tfsdk:"registry" json:"registry,omitempty"`
Tenant *string `tfsdk:"tenant" json:"tenant,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
Volume *string `tfsdk:"volume" json:"volume,omitempty"`
} `tfsdk:"quobyte" json:"quobyte,omitempty"`
Rbd *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
Keyring *string `tfsdk:"keyring" json:"keyring,omitempty"`
Monitors *[]string `tfsdk:"monitors" json:"monitors,omitempty"`
Pool *string `tfsdk:"pool" json:"pool,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
User *string `tfsdk:"user" json:"user,omitempty"`
} `tfsdk:"rbd" json:"rbd,omitempty"`
ScaleIO *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
Gateway *string `tfsdk:"gateway" json:"gateway,omitempty"`
ProtectionDomain *string `tfsdk:"protection_domain" json:"protectionDomain,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
SslEnabled *bool `tfsdk:"ssl_enabled" json:"sslEnabled,omitempty"`
StorageMode *string `tfsdk:"storage_mode" json:"storageMode,omitempty"`
StoragePool *string `tfsdk:"storage_pool" json:"storagePool,omitempty"`
System *string `tfsdk:"system" json:"system,omitempty"`
VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"`
} `tfsdk:"scale_io" json:"scaleIO,omitempty"`
Secret *struct {
DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"`
Items *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Mode *int64 `tfsdk:"mode" json:"mode,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
} `tfsdk:"items" json:"items,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"`
} `tfsdk:"secret" json:"secret,omitempty"`
Storageos *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"`
SecretRef *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_ref" json:"secretRef,omitempty"`
VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"`
VolumeNamespace *string `tfsdk:"volume_namespace" json:"volumeNamespace,omitempty"`
} `tfsdk:"storageos" json:"storageos,omitempty"`
VsphereVolume *struct {
FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"`
StoragePolicyID *string `tfsdk:"storage_policy_id" json:"storagePolicyID,omitempty"`
StoragePolicyName *string `tfsdk:"storage_policy_name" json:"storagePolicyName,omitempty"`
VolumePath *string `tfsdk:"volume_path" json:"volumePath,omitempty"`
} `tfsdk:"vsphere_volume" json:"vsphereVolume,omitempty"`
} `tfsdk:"volumes" json:"volumes,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
} `tfsdk:"pod_template" json:"podTemplate,omitempty"`
VolumeClaimTemplates *[]struct {
ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Finalizers *[]string `tfsdk:"finalizers" json:"finalizers,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
Spec *struct {
AccessModes *[]string `tfsdk:"access_modes" json:"accessModes,omitempty"`
DataSource *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"data_source" json:"dataSource,omitempty"`
DataSourceRef *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"data_source_ref" json:"dataSourceRef,omitempty"`
Resources *struct {
Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
} `tfsdk:"resources" json:"resources,omitempty"`
Selector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"selector" json:"selector,omitempty"`
StorageClassName *string `tfsdk:"storage_class_name" json:"storageClassName,omitempty"`
VolumeAttributesClassName *string `tfsdk:"volume_attributes_class_name" json:"volumeAttributesClassName,omitempty"`
VolumeMode *string `tfsdk:"volume_mode" json:"volumeMode,omitempty"`
VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
Status *struct {
AccessModes *[]string `tfsdk:"access_modes" json:"accessModes,omitempty"`
AllocatedResourceStatuses *map[string]string `tfsdk:"allocated_resource_statuses" json:"allocatedResourceStatuses,omitempty"`
AllocatedResources *map[string]string `tfsdk:"allocated_resources" json:"allocatedResources,omitempty"`
Capacity *map[string]string `tfsdk:"capacity" json:"capacity,omitempty"`
Conditions *[]struct {
LastProbeTime *string `tfsdk:"last_probe_time" json:"lastProbeTime,omitempty"`
LastTransitionTime *string `tfsdk:"last_transition_time" json:"lastTransitionTime,omitempty"`
Message *string `tfsdk:"message" json:"message,omitempty"`
Reason *string `tfsdk:"reason" json:"reason,omitempty"`
Status *string `tfsdk:"status" json:"status,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"conditions" json:"conditions,omitempty"`
CurrentVolumeAttributesClassName *string `tfsdk:"current_volume_attributes_class_name" json:"currentVolumeAttributesClassName,omitempty"`
ModifyVolumeStatus *struct {
Status *string `tfsdk:"status" json:"status,omitempty"`
TargetVolumeAttributesClassName *string `tfsdk:"target_volume_attributes_class_name" json:"targetVolumeAttributesClassName,omitempty"`
} `tfsdk:"modify_volume_status" json:"modifyVolumeStatus,omitempty"`
Phase *string `tfsdk:"phase" json:"phase,omitempty"`
} `tfsdk:"status" json:"status,omitempty"`
} `tfsdk:"volume_claim_templates" json:"volumeClaimTemplates,omitempty"`
} `tfsdk:"node_sets" json:"nodeSets,omitempty"`
PodDisruptionBudget *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Finalizers *[]string `tfsdk:"finalizers" json:"finalizers,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
Spec *struct {
MaxUnavailable *string `tfsdk:"max_unavailable" json:"maxUnavailable,omitempty"`
MinAvailable *string `tfsdk:"min_available" json:"minAvailable,omitempty"`
Selector *struct {
MatchExpressions *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Operator *string `tfsdk:"operator" json:"operator,omitempty"`
Values *[]string `tfsdk:"values" json:"values,omitempty"`
} `tfsdk:"match_expressions" json:"matchExpressions,omitempty"`
MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"`
} `tfsdk:"selector" json:"selector,omitempty"`
UnhealthyPodEvictionPolicy *string `tfsdk:"unhealthy_pod_eviction_policy" json:"unhealthyPodEvictionPolicy,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
} `tfsdk:"pod_disruption_budget" json:"podDisruptionBudget,omitempty"`
SecureSettings *[]struct {
Entries *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Path *string `tfsdk:"path" json:"path,omitempty"`
} `tfsdk:"entries" json:"entries,omitempty"`
SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"`
} `tfsdk:"secure_settings" json:"secureSettings,omitempty"`
UpdateStrategy *struct {
ChangeBudget *struct {
MaxSurge *int64 `tfsdk:"max_surge" json:"maxSurge,omitempty"`
MaxUnavailable *int64 `tfsdk:"max_unavailable" json:"maxUnavailable,omitempty"`
} `tfsdk:"change_budget" json:"changeBudget,omitempty"`
} `tfsdk:"update_strategy" json:"updateStrategy,omitempty"`
Version *string `tfsdk:"version" json:"version,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.