Documentation
¶
Index ¶
- func NewPostgresqlCnpgIoBackupV1Manifest() datasource.DataSource
- func NewPostgresqlCnpgIoClusterV1Manifest() datasource.DataSource
- func NewPostgresqlCnpgIoPoolerV1Manifest() datasource.DataSource
- func NewPostgresqlCnpgIoScheduledBackupV1Manifest() datasource.DataSource
- type PostgresqlCnpgIoBackupV1Manifest
- func (r *PostgresqlCnpgIoBackupV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresqlCnpgIoBackupV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresqlCnpgIoBackupV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresqlCnpgIoBackupV1ManifestData
- type PostgresqlCnpgIoClusterV1Manifest
- func (r *PostgresqlCnpgIoClusterV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresqlCnpgIoClusterV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresqlCnpgIoClusterV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresqlCnpgIoClusterV1ManifestData
- type PostgresqlCnpgIoPoolerV1Manifest
- func (r *PostgresqlCnpgIoPoolerV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresqlCnpgIoPoolerV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresqlCnpgIoPoolerV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresqlCnpgIoPoolerV1ManifestData
- type PostgresqlCnpgIoScheduledBackupV1Manifest
- func (r *PostgresqlCnpgIoScheduledBackupV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresqlCnpgIoScheduledBackupV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresqlCnpgIoScheduledBackupV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresqlCnpgIoScheduledBackupV1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresqlCnpgIoBackupV1Manifest ¶
func NewPostgresqlCnpgIoBackupV1Manifest() datasource.DataSource
func NewPostgresqlCnpgIoClusterV1Manifest ¶
func NewPostgresqlCnpgIoClusterV1Manifest() datasource.DataSource
func NewPostgresqlCnpgIoPoolerV1Manifest ¶
func NewPostgresqlCnpgIoPoolerV1Manifest() datasource.DataSource
func NewPostgresqlCnpgIoScheduledBackupV1Manifest ¶
func NewPostgresqlCnpgIoScheduledBackupV1Manifest() datasource.DataSource
Types ¶
type PostgresqlCnpgIoBackupV1Manifest ¶
type PostgresqlCnpgIoBackupV1Manifest struct{}
func (*PostgresqlCnpgIoBackupV1Manifest) Metadata ¶
func (r *PostgresqlCnpgIoBackupV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresqlCnpgIoBackupV1Manifest) Read ¶
func (r *PostgresqlCnpgIoBackupV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresqlCnpgIoBackupV1Manifest) Schema ¶
func (r *PostgresqlCnpgIoBackupV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresqlCnpgIoBackupV1ManifestData ¶
type PostgresqlCnpgIoBackupV1ManifestData 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 {
Cluster *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"cluster" json:"cluster,omitempty"`
Method *string `tfsdk:"method" json:"method,omitempty"`
Online *bool `tfsdk:"online" json:"online,omitempty"`
OnlineConfiguration *struct {
ImmediateCheckpoint *bool `tfsdk:"immediate_checkpoint" json:"immediateCheckpoint,omitempty"`
WaitForArchive *bool `tfsdk:"wait_for_archive" json:"waitForArchive,omitempty"`
} `tfsdk:"online_configuration" json:"onlineConfiguration,omitempty"`
PluginConfiguration *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Parameters *map[string]string `tfsdk:"parameters" json:"parameters,omitempty"`
} `tfsdk:"plugin_configuration" json:"pluginConfiguration,omitempty"`
Target *string `tfsdk:"target" json:"target,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
type PostgresqlCnpgIoClusterV1Manifest ¶
type PostgresqlCnpgIoClusterV1Manifest struct{}
func (*PostgresqlCnpgIoClusterV1Manifest) Metadata ¶
func (r *PostgresqlCnpgIoClusterV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresqlCnpgIoClusterV1Manifest) Read ¶
func (r *PostgresqlCnpgIoClusterV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresqlCnpgIoClusterV1Manifest) Schema ¶
func (r *PostgresqlCnpgIoClusterV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresqlCnpgIoClusterV1ManifestData ¶
type PostgresqlCnpgIoClusterV1ManifestData 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 {
Affinity *struct {
AdditionalPodAffinity *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:"additional_pod_affinity" json:"additionalPodAffinity,omitempty"`
AdditionalPodAntiAffinity *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:"additional_pod_anti_affinity" json:"additionalPodAntiAffinity,omitempty"`
EnablePodAntiAffinity *bool `tfsdk:"enable_pod_anti_affinity" json:"enablePodAntiAffinity,omitempty"`
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"`
NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"`
PodAntiAffinityType *string `tfsdk:"pod_anti_affinity_type" json:"podAntiAffinityType,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"`
TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"`
} `tfsdk:"affinity" json:"affinity,omitempty"`
Backup *struct {
BarmanObjectStore *struct {
AzureCredentials *struct {
ConnectionString *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"connection_string" json:"connectionString,omitempty"`
InheritFromAzureAD *bool `tfsdk:"inherit_from_azure_ad" json:"inheritFromAzureAD,omitempty"`
StorageAccount *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage_account" json:"storageAccount,omitempty"`
StorageKey *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage_key" json:"storageKey,omitempty"`
StorageSasToken *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage_sas_token" json:"storageSasToken,omitempty"`
} `tfsdk:"azure_credentials" json:"azureCredentials,omitempty"`
Data *struct {
AdditionalCommandArgs *[]string `tfsdk:"additional_command_args" json:"additionalCommandArgs,omitempty"`
Compression *string `tfsdk:"compression" json:"compression,omitempty"`
Encryption *string `tfsdk:"encryption" json:"encryption,omitempty"`
ImmediateCheckpoint *bool `tfsdk:"immediate_checkpoint" json:"immediateCheckpoint,omitempty"`
Jobs *int64 `tfsdk:"jobs" json:"jobs,omitempty"`
} `tfsdk:"data" json:"data,omitempty"`
DestinationPath *string `tfsdk:"destination_path" json:"destinationPath,omitempty"`
EndpointCA *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"endpoint_ca" json:"endpointCA,omitempty"`
EndpointURL *string `tfsdk:"endpoint_url" json:"endpointURL,omitempty"`
GoogleCredentials *struct {
ApplicationCredentials *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"application_credentials" json:"applicationCredentials,omitempty"`
GkeEnvironment *bool `tfsdk:"gke_environment" json:"gkeEnvironment,omitempty"`
} `tfsdk:"google_credentials" json:"googleCredentials,omitempty"`
HistoryTags *map[string]string `tfsdk:"history_tags" json:"historyTags,omitempty"`
S3Credentials *struct {
AccessKeyId *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"access_key_id" json:"accessKeyId,omitempty"`
InheritFromIAMRole *bool `tfsdk:"inherit_from_iam_role" json:"inheritFromIAMRole,omitempty"`
Region *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"region" json:"region,omitempty"`
SecretAccessKey *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_access_key" json:"secretAccessKey,omitempty"`
SessionToken *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"session_token" json:"sessionToken,omitempty"`
} `tfsdk:"s3_credentials" json:"s3Credentials,omitempty"`
ServerName *string `tfsdk:"server_name" json:"serverName,omitempty"`
Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"`
Wal *struct {
ArchiveAdditionalCommandArgs *[]string `tfsdk:"archive_additional_command_args" json:"archiveAdditionalCommandArgs,omitempty"`
Compression *string `tfsdk:"compression" json:"compression,omitempty"`
Encryption *string `tfsdk:"encryption" json:"encryption,omitempty"`
MaxParallel *int64 `tfsdk:"max_parallel" json:"maxParallel,omitempty"`
RestoreAdditionalCommandArgs *[]string `tfsdk:"restore_additional_command_args" json:"restoreAdditionalCommandArgs,omitempty"`
} `tfsdk:"wal" json:"wal,omitempty"`
} `tfsdk:"barman_object_store" json:"barmanObjectStore,omitempty"`
RetentionPolicy *string `tfsdk:"retention_policy" json:"retentionPolicy,omitempty"`
Target *string `tfsdk:"target" json:"target,omitempty"`
VolumeSnapshot *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
ClassName *string `tfsdk:"class_name" json:"className,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Online *bool `tfsdk:"online" json:"online,omitempty"`
OnlineConfiguration *struct {
ImmediateCheckpoint *bool `tfsdk:"immediate_checkpoint" json:"immediateCheckpoint,omitempty"`
WaitForArchive *bool `tfsdk:"wait_for_archive" json:"waitForArchive,omitempty"`
} `tfsdk:"online_configuration" json:"onlineConfiguration,omitempty"`
SnapshotOwnerReference *string `tfsdk:"snapshot_owner_reference" json:"snapshotOwnerReference,omitempty"`
TablespaceClassName *map[string]string `tfsdk:"tablespace_class_name" json:"tablespaceClassName,omitempty"`
WalClassName *string `tfsdk:"wal_class_name" json:"walClassName,omitempty"`
} `tfsdk:"volume_snapshot" json:"volumeSnapshot,omitempty"`
} `tfsdk:"backup" json:"backup,omitempty"`
Bootstrap *struct {
Initdb *struct {
DataChecksums *bool `tfsdk:"data_checksums" json:"dataChecksums,omitempty"`
Database *string `tfsdk:"database" json:"database,omitempty"`
Encoding *string `tfsdk:"encoding" json:"encoding,omitempty"`
Import *struct {
Databases *[]string `tfsdk:"databases" json:"databases,omitempty"`
PostImportApplicationSQL *[]string `tfsdk:"post_import_application_sql" json:"postImportApplicationSQL,omitempty"`
Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
SchemaOnly *bool `tfsdk:"schema_only" json:"schemaOnly,omitempty"`
Source *struct {
ExternalCluster *string `tfsdk:"external_cluster" json:"externalCluster,omitempty"`
} `tfsdk:"source" json:"source,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"import" json:"import,omitempty"`
LocaleCType *string `tfsdk:"locale_c_type" json:"localeCType,omitempty"`
LocaleCollate *string `tfsdk:"locale_collate" json:"localeCollate,omitempty"`
Options *[]string `tfsdk:"options" json:"options,omitempty"`
Owner *string `tfsdk:"owner" json:"owner,omitempty"`
PostInitApplicationSQL *[]string `tfsdk:"post_init_application_sql" json:"postInitApplicationSQL,omitempty"`
PostInitApplicationSQLRefs *struct {
ConfigMapRefs *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"config_map_refs" json:"configMapRefs,omitempty"`
SecretRefs *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_refs" json:"secretRefs,omitempty"`
} `tfsdk:"post_init_application_sql_refs" json:"postInitApplicationSQLRefs,omitempty"`
PostInitSQL *[]string `tfsdk:"post_init_sql" json:"postInitSQL,omitempty"`
PostInitSQLRefs *struct {
ConfigMapRefs *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"config_map_refs" json:"configMapRefs,omitempty"`
SecretRefs *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_refs" json:"secretRefs,omitempty"`
} `tfsdk:"post_init_sql_refs" json:"postInitSQLRefs,omitempty"`
PostInitTemplateSQL *[]string `tfsdk:"post_init_template_sql" json:"postInitTemplateSQL,omitempty"`
PostInitTemplateSQLRefs *struct {
ConfigMapRefs *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"config_map_refs" json:"configMapRefs,omitempty"`
SecretRefs *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_refs" json:"secretRefs,omitempty"`
} `tfsdk:"post_init_template_sql_refs" json:"postInitTemplateSQLRefs,omitempty"`
Secret *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret" json:"secret,omitempty"`
WalSegmentSize *int64 `tfsdk:"wal_segment_size" json:"walSegmentSize,omitempty"`
} `tfsdk:"initdb" json:"initdb,omitempty"`
Pg_basebackup *struct {
Database *string `tfsdk:"database" json:"database,omitempty"`
Owner *string `tfsdk:"owner" json:"owner,omitempty"`
Secret *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret" json:"secret,omitempty"`
Source *string `tfsdk:"source" json:"source,omitempty"`
} `tfsdk:"pg_basebackup" json:"pg_basebackup,omitempty"`
Recovery *struct {
Backup *struct {
EndpointCA *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"endpoint_ca" json:"endpointCA,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"backup" json:"backup,omitempty"`
Database *string `tfsdk:"database" json:"database,omitempty"`
Owner *string `tfsdk:"owner" json:"owner,omitempty"`
RecoveryTarget *struct {
BackupID *string `tfsdk:"backup_id" json:"backupID,omitempty"`
Exclusive *bool `tfsdk:"exclusive" json:"exclusive,omitempty"`
TargetImmediate *bool `tfsdk:"target_immediate" json:"targetImmediate,omitempty"`
TargetLSN *string `tfsdk:"target_lsn" json:"targetLSN,omitempty"`
TargetName *string `tfsdk:"target_name" json:"targetName,omitempty"`
TargetTLI *string `tfsdk:"target_tli" json:"targetTLI,omitempty"`
TargetTime *string `tfsdk:"target_time" json:"targetTime,omitempty"`
TargetXID *string `tfsdk:"target_xid" json:"targetXID,omitempty"`
} `tfsdk:"recovery_target" json:"recoveryTarget,omitempty"`
Secret *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret" json:"secret,omitempty"`
Source *string `tfsdk:"source" json:"source,omitempty"`
VolumeSnapshots *struct {
Storage *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage" json:"storage,omitempty"`
TablespaceStorage *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"tablespace_storage" json:"tablespaceStorage,omitempty"`
WalStorage *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"wal_storage" json:"walStorage,omitempty"`
} `tfsdk:"volume_snapshots" json:"volumeSnapshots,omitempty"`
} `tfsdk:"recovery" json:"recovery,omitempty"`
} `tfsdk:"bootstrap" json:"bootstrap,omitempty"`
Certificates *struct {
ClientCASecret *string `tfsdk:"client_ca_secret" json:"clientCASecret,omitempty"`
ReplicationTLSSecret *string `tfsdk:"replication_tls_secret" json:"replicationTLSSecret,omitempty"`
ServerAltDNSNames *[]string `tfsdk:"server_alt_dns_names" json:"serverAltDNSNames,omitempty"`
ServerCASecret *string `tfsdk:"server_ca_secret" json:"serverCASecret,omitempty"`
ServerTLSSecret *string `tfsdk:"server_tls_secret" json:"serverTLSSecret,omitempty"`
} `tfsdk:"certificates" json:"certificates,omitempty"`
Description *string `tfsdk:"description" json:"description,omitempty"`
EnablePDB *bool `tfsdk:"enable_pdb" json:"enablePDB,omitempty"`
EnableSuperuserAccess *bool `tfsdk:"enable_superuser_access" json:"enableSuperuserAccess,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"`
EphemeralVolumeSource *struct {
VolumeClaimTemplate *struct {
Metadata *map[string]string `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_volume_source" json:"ephemeralVolumeSource,omitempty"`
EphemeralVolumesSizeLimit *struct {
Shm *string `tfsdk:"shm" json:"shm,omitempty"`
TemporaryData *string `tfsdk:"temporary_data" json:"temporaryData,omitempty"`
} `tfsdk:"ephemeral_volumes_size_limit" json:"ephemeralVolumesSizeLimit,omitempty"`
ExternalClusters *[]struct {
BarmanObjectStore *struct {
AzureCredentials *struct {
ConnectionString *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"connection_string" json:"connectionString,omitempty"`
InheritFromAzureAD *bool `tfsdk:"inherit_from_azure_ad" json:"inheritFromAzureAD,omitempty"`
StorageAccount *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage_account" json:"storageAccount,omitempty"`
StorageKey *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage_key" json:"storageKey,omitempty"`
StorageSasToken *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"storage_sas_token" json:"storageSasToken,omitempty"`
} `tfsdk:"azure_credentials" json:"azureCredentials,omitempty"`
Data *struct {
AdditionalCommandArgs *[]string `tfsdk:"additional_command_args" json:"additionalCommandArgs,omitempty"`
Compression *string `tfsdk:"compression" json:"compression,omitempty"`
Encryption *string `tfsdk:"encryption" json:"encryption,omitempty"`
ImmediateCheckpoint *bool `tfsdk:"immediate_checkpoint" json:"immediateCheckpoint,omitempty"`
Jobs *int64 `tfsdk:"jobs" json:"jobs,omitempty"`
} `tfsdk:"data" json:"data,omitempty"`
DestinationPath *string `tfsdk:"destination_path" json:"destinationPath,omitempty"`
EndpointCA *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"endpoint_ca" json:"endpointCA,omitempty"`
EndpointURL *string `tfsdk:"endpoint_url" json:"endpointURL,omitempty"`
GoogleCredentials *struct {
ApplicationCredentials *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"application_credentials" json:"applicationCredentials,omitempty"`
GkeEnvironment *bool `tfsdk:"gke_environment" json:"gkeEnvironment,omitempty"`
} `tfsdk:"google_credentials" json:"googleCredentials,omitempty"`
HistoryTags *map[string]string `tfsdk:"history_tags" json:"historyTags,omitempty"`
S3Credentials *struct {
AccessKeyId *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"access_key_id" json:"accessKeyId,omitempty"`
InheritFromIAMRole *bool `tfsdk:"inherit_from_iam_role" json:"inheritFromIAMRole,omitempty"`
Region *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"region" json:"region,omitempty"`
SecretAccessKey *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"secret_access_key" json:"secretAccessKey,omitempty"`
SessionToken *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"session_token" json:"sessionToken,omitempty"`
} `tfsdk:"s3_credentials" json:"s3Credentials,omitempty"`
ServerName *string `tfsdk:"server_name" json:"serverName,omitempty"`
Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"`
Wal *struct {
ArchiveAdditionalCommandArgs *[]string `tfsdk:"archive_additional_command_args" json:"archiveAdditionalCommandArgs,omitempty"`
Compression *string `tfsdk:"compression" json:"compression,omitempty"`
Encryption *string `tfsdk:"encryption" json:"encryption,omitempty"`
MaxParallel *int64 `tfsdk:"max_parallel" json:"maxParallel,omitempty"`
RestoreAdditionalCommandArgs *[]string `tfsdk:"restore_additional_command_args" json:"restoreAdditionalCommandArgs,omitempty"`
} `tfsdk:"wal" json:"wal,omitempty"`
} `tfsdk:"barman_object_store" json:"barmanObjectStore,omitempty"`
ConnectionParameters *map[string]string `tfsdk:"connection_parameters" json:"connectionParameters,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Password *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"password" json:"password,omitempty"`
SslCert *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"ssl_cert" json:"sslCert,omitempty"`
SslKey *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"ssl_key" json:"sslKey,omitempty"`
SslRootCert *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"ssl_root_cert" json:"sslRootCert,omitempty"`
} `tfsdk:"external_clusters" json:"externalClusters,omitempty"`
FailoverDelay *int64 `tfsdk:"failover_delay" json:"failoverDelay,omitempty"`
ImageCatalogRef *struct {
ApiGroup *string `tfsdk:"api_group" json:"apiGroup,omitempty"`
Kind *string `tfsdk:"kind" json:"kind,omitempty"`
Major *int64 `tfsdk:"major" json:"major,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"image_catalog_ref" json:"imageCatalogRef,omitempty"`
ImageName *string `tfsdk:"image_name" json:"imageName,omitempty"`
ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"`
ImagePullSecrets *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"image_pull_secrets" json:"imagePullSecrets,omitempty"`
InheritedMetadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"inherited_metadata" json:"inheritedMetadata,omitempty"`
Instances *int64 `tfsdk:"instances" json:"instances,omitempty"`
LivenessProbeTimeout *int64 `tfsdk:"liveness_probe_timeout" json:"livenessProbeTimeout,omitempty"`
LogLevel *string `tfsdk:"log_level" json:"logLevel,omitempty"`
Managed *struct {
Roles *[]struct {
Bypassrls *bool `tfsdk:"bypassrls" json:"bypassrls,omitempty"`
Comment *string `tfsdk:"comment" json:"comment,omitempty"`
ConnectionLimit *int64 `tfsdk:"connection_limit" json:"connectionLimit,omitempty"`
Createdb *bool `tfsdk:"createdb" json:"createdb,omitempty"`
Createrole *bool `tfsdk:"createrole" json:"createrole,omitempty"`
DisablePassword *bool `tfsdk:"disable_password" json:"disablePassword,omitempty"`
Ensure *string `tfsdk:"ensure" json:"ensure,omitempty"`
InRoles *[]string `tfsdk:"in_roles" json:"inRoles,omitempty"`
Inherit *bool `tfsdk:"inherit" json:"inherit,omitempty"`
Login *bool `tfsdk:"login" json:"login,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
PasswordSecret *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"password_secret" json:"passwordSecret,omitempty"`
Replication *bool `tfsdk:"replication" json:"replication,omitempty"`
Superuser *bool `tfsdk:"superuser" json:"superuser,omitempty"`
ValidUntil *string `tfsdk:"valid_until" json:"validUntil,omitempty"`
} `tfsdk:"roles" json:"roles,omitempty"`
Services *struct {
Additional *[]struct {
SelectorType *string `tfsdk:"selector_type" json:"selectorType,omitempty"`
ServiceTemplate *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,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_template" json:"serviceTemplate,omitempty"`
UpdateStrategy *string `tfsdk:"update_strategy" json:"updateStrategy,omitempty"`
} `tfsdk:"additional" json:"additional,omitempty"`
DisabledDefaultServices *[]string `tfsdk:"disabled_default_services" json:"disabledDefaultServices,omitempty"`
} `tfsdk:"services" json:"services,omitempty"`
} `tfsdk:"managed" json:"managed,omitempty"`
MaxSyncReplicas *int64 `tfsdk:"max_sync_replicas" json:"maxSyncReplicas,omitempty"`
MinSyncReplicas *int64 `tfsdk:"min_sync_replicas" json:"minSyncReplicas,omitempty"`
Monitoring *struct {
CustomQueriesConfigMap *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"custom_queries_config_map" json:"customQueriesConfigMap,omitempty"`
CustomQueriesSecret *[]struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"custom_queries_secret" json:"customQueriesSecret,omitempty"`
DisableDefaultQueries *bool `tfsdk:"disable_default_queries" json:"disableDefaultQueries,omitempty"`
EnablePodMonitor *bool `tfsdk:"enable_pod_monitor" json:"enablePodMonitor,omitempty"`
PodMonitorMetricRelabelings *[]struct {
Action *string `tfsdk:"action" json:"action,omitempty"`
Modulus *int64 `tfsdk:"modulus" json:"modulus,omitempty"`
Regex *string `tfsdk:"regex" json:"regex,omitempty"`
Replacement *string `tfsdk:"replacement" json:"replacement,omitempty"`
Separator *string `tfsdk:"separator" json:"separator,omitempty"`
SourceLabels *[]string `tfsdk:"source_labels" json:"sourceLabels,omitempty"`
TargetLabel *string `tfsdk:"target_label" json:"targetLabel,omitempty"`
} `tfsdk:"pod_monitor_metric_relabelings" json:"podMonitorMetricRelabelings,omitempty"`
PodMonitorRelabelings *[]struct {
Action *string `tfsdk:"action" json:"action,omitempty"`
Modulus *int64 `tfsdk:"modulus" json:"modulus,omitempty"`
Regex *string `tfsdk:"regex" json:"regex,omitempty"`
Replacement *string `tfsdk:"replacement" json:"replacement,omitempty"`
Separator *string `tfsdk:"separator" json:"separator,omitempty"`
SourceLabels *[]string `tfsdk:"source_labels" json:"sourceLabels,omitempty"`
TargetLabel *string `tfsdk:"target_label" json:"targetLabel,omitempty"`
} `tfsdk:"pod_monitor_relabelings" json:"podMonitorRelabelings,omitempty"`
Tls *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
} `tfsdk:"tls" json:"tls,omitempty"`
} `tfsdk:"monitoring" json:"monitoring,omitempty"`
NodeMaintenanceWindow *struct {
InProgress *bool `tfsdk:"in_progress" json:"inProgress,omitempty"`
ReusePVC *bool `tfsdk:"reuse_pvc" json:"reusePVC,omitempty"`
} `tfsdk:"node_maintenance_window" json:"nodeMaintenanceWindow,omitempty"`
Plugins *[]struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Parameters *map[string]string `tfsdk:"parameters" json:"parameters,omitempty"`
} `tfsdk:"plugins" json:"plugins,omitempty"`
PostgresGID *int64 `tfsdk:"postgres_gid" json:"postgresGID,omitempty"`
PostgresUID *int64 `tfsdk:"postgres_uid" json:"postgresUID,omitempty"`
Postgresql *struct {
EnableAlterSystem *bool `tfsdk:"enable_alter_system" json:"enableAlterSystem,omitempty"`
Ldap *struct {
BindAsAuth *struct {
Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"`
Suffix *string `tfsdk:"suffix" json:"suffix,omitempty"`
} `tfsdk:"bind_as_auth" json:"bindAsAuth,omitempty"`
BindSearchAuth *struct {
BaseDN *string `tfsdk:"base_dn" json:"baseDN,omitempty"`
BindDN *string `tfsdk:"bind_dn" json:"bindDN,omitempty"`
BindPassword *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"bind_password" json:"bindPassword,omitempty"`
SearchAttribute *string `tfsdk:"search_attribute" json:"searchAttribute,omitempty"`
SearchFilter *string `tfsdk:"search_filter" json:"searchFilter,omitempty"`
} `tfsdk:"bind_search_auth" json:"bindSearchAuth,omitempty"`
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"`
Server *string `tfsdk:"server" json:"server,omitempty"`
Tls *bool `tfsdk:"tls" json:"tls,omitempty"`
} `tfsdk:"ldap" json:"ldap,omitempty"`
Parameters *map[string]string `tfsdk:"parameters" json:"parameters,omitempty"`
Pg_hba *[]string `tfsdk:"pg_hba" json:"pg_hba,omitempty"`
Pg_ident *[]string `tfsdk:"pg_ident" json:"pg_ident,omitempty"`
PromotionTimeout *int64 `tfsdk:"promotion_timeout" json:"promotionTimeout,omitempty"`
Shared_preload_libraries *[]string `tfsdk:"shared_preload_libraries" json:"shared_preload_libraries,omitempty"`
SyncReplicaElectionConstraint *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
NodeLabelsAntiAffinity *[]string `tfsdk:"node_labels_anti_affinity" json:"nodeLabelsAntiAffinity,omitempty"`
} `tfsdk:"sync_replica_election_constraint" json:"syncReplicaElectionConstraint,omitempty"`
Synchronous *struct {
MaxStandbyNamesFromCluster *int64 `tfsdk:"max_standby_names_from_cluster" json:"maxStandbyNamesFromCluster,omitempty"`
Method *string `tfsdk:"method" json:"method,omitempty"`
Number *int64 `tfsdk:"number" json:"number,omitempty"`
StandbyNamesPost *[]string `tfsdk:"standby_names_post" json:"standbyNamesPost,omitempty"`
StandbyNamesPre *[]string `tfsdk:"standby_names_pre" json:"standbyNamesPre,omitempty"`
} `tfsdk:"synchronous" json:"synchronous,omitempty"`
} `tfsdk:"postgresql" json:"postgresql,omitempty"`
PrimaryUpdateMethod *string `tfsdk:"primary_update_method" json:"primaryUpdateMethod,omitempty"`
PrimaryUpdateStrategy *string `tfsdk:"primary_update_strategy" json:"primaryUpdateStrategy,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
ProjectedVolumeTemplate *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_volume_template" json:"projectedVolumeTemplate,omitempty"`
Replica *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
MinApplyDelay *string `tfsdk:"min_apply_delay" json:"minApplyDelay,omitempty"`
Primary *string `tfsdk:"primary" json:"primary,omitempty"`
PromotionToken *string `tfsdk:"promotion_token" json:"promotionToken,omitempty"`
Self *string `tfsdk:"self" json:"self,omitempty"`
Source *string `tfsdk:"source" json:"source,omitempty"`
} `tfsdk:"replica" json:"replica,omitempty"`
ReplicationSlots *struct {
HighAvailability *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
SlotPrefix *string `tfsdk:"slot_prefix" json:"slotPrefix,omitempty"`
} `tfsdk:"high_availability" json:"highAvailability,omitempty"`
SynchronizeReplicas *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
ExcludePatterns *[]string `tfsdk:"exclude_patterns" json:"excludePatterns,omitempty"`
} `tfsdk:"synchronize_replicas" json:"synchronizeReplicas,omitempty"`
UpdateInterval *int64 `tfsdk:"update_interval" json:"updateInterval,omitempty"`
} `tfsdk:"replication_slots" json:"replicationSlots,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"`
SchedulerName *string `tfsdk:"scheduler_name" json:"schedulerName,omitempty"`
SeccompProfile *struct {
LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"seccomp_profile" json:"seccompProfile,omitempty"`
ServiceAccountTemplate *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
} `tfsdk:"service_account_template" json:"serviceAccountTemplate,omitempty"`
SmartShutdownTimeout *int64 `tfsdk:"smart_shutdown_timeout" json:"smartShutdownTimeout,omitempty"`
StartDelay *int64 `tfsdk:"start_delay" json:"startDelay,omitempty"`
StopDelay *int64 `tfsdk:"stop_delay" json:"stopDelay,omitempty"`
Storage *struct {
PvcTemplate *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:"pvc_template" json:"pvcTemplate,omitempty"`
ResizeInUseVolumes *bool `tfsdk:"resize_in_use_volumes" json:"resizeInUseVolumes,omitempty"`
Size *string `tfsdk:"size" json:"size,omitempty"`
StorageClass *string `tfsdk:"storage_class" json:"storageClass,omitempty"`
} `tfsdk:"storage" json:"storage,omitempty"`
SuperuserSecret *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"superuser_secret" json:"superuserSecret,omitempty"`
SwitchoverDelay *int64 `tfsdk:"switchover_delay" json:"switchoverDelay,omitempty"`
Tablespaces *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Owner *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"owner" json:"owner,omitempty"`
Storage *struct {
PvcTemplate *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:"pvc_template" json:"pvcTemplate,omitempty"`
ResizeInUseVolumes *bool `tfsdk:"resize_in_use_volumes" json:"resizeInUseVolumes,omitempty"`
Size *string `tfsdk:"size" json:"size,omitempty"`
StorageClass *string `tfsdk:"storage_class" json:"storageClass,omitempty"`
} `tfsdk:"storage" json:"storage,omitempty"`
Temporary *bool `tfsdk:"temporary" json:"temporary,omitempty"`
} `tfsdk:"tablespaces" json:"tablespaces,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"`
WalStorage *struct {
PvcTemplate *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:"pvc_template" json:"pvcTemplate,omitempty"`
ResizeInUseVolumes *bool `tfsdk:"resize_in_use_volumes" json:"resizeInUseVolumes,omitempty"`
Size *string `tfsdk:"size" json:"size,omitempty"`
StorageClass *string `tfsdk:"storage_class" json:"storageClass,omitempty"`
} `tfsdk:"wal_storage" json:"walStorage,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
type PostgresqlCnpgIoPoolerV1Manifest ¶
type PostgresqlCnpgIoPoolerV1Manifest struct{}
func (*PostgresqlCnpgIoPoolerV1Manifest) Metadata ¶
func (r *PostgresqlCnpgIoPoolerV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresqlCnpgIoPoolerV1Manifest) Read ¶
func (r *PostgresqlCnpgIoPoolerV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresqlCnpgIoPoolerV1Manifest) Schema ¶
func (r *PostgresqlCnpgIoPoolerV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresqlCnpgIoPoolerV1ManifestData ¶
type PostgresqlCnpgIoPoolerV1ManifestData 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 {
Cluster *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"cluster" json:"cluster,omitempty"`
DeploymentStrategy *struct {
RollingUpdate *struct {
MaxSurge *string `tfsdk:"max_surge" json:"maxSurge,omitempty"`
MaxUnavailable *string `tfsdk:"max_unavailable" json:"maxUnavailable,omitempty"`
} `tfsdk:"rolling_update" json:"rollingUpdate,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"deployment_strategy" json:"deploymentStrategy,omitempty"`
Instances *int64 `tfsdk:"instances" json:"instances,omitempty"`
Monitoring *struct {
EnablePodMonitor *bool `tfsdk:"enable_pod_monitor" json:"enablePodMonitor,omitempty"`
PodMonitorMetricRelabelings *[]struct {
Action *string `tfsdk:"action" json:"action,omitempty"`
Modulus *int64 `tfsdk:"modulus" json:"modulus,omitempty"`
Regex *string `tfsdk:"regex" json:"regex,omitempty"`
Replacement *string `tfsdk:"replacement" json:"replacement,omitempty"`
Separator *string `tfsdk:"separator" json:"separator,omitempty"`
SourceLabels *[]string `tfsdk:"source_labels" json:"sourceLabels,omitempty"`
TargetLabel *string `tfsdk:"target_label" json:"targetLabel,omitempty"`
} `tfsdk:"pod_monitor_metric_relabelings" json:"podMonitorMetricRelabelings,omitempty"`
PodMonitorRelabelings *[]struct {
Action *string `tfsdk:"action" json:"action,omitempty"`
Modulus *int64 `tfsdk:"modulus" json:"modulus,omitempty"`
Regex *string `tfsdk:"regex" json:"regex,omitempty"`
Replacement *string `tfsdk:"replacement" json:"replacement,omitempty"`
Separator *string `tfsdk:"separator" json:"separator,omitempty"`
SourceLabels *[]string `tfsdk:"source_labels" json:"sourceLabels,omitempty"`
TargetLabel *string `tfsdk:"target_label" json:"targetLabel,omitempty"`
} `tfsdk:"pod_monitor_relabelings" json:"podMonitorRelabelings,omitempty"`
} `tfsdk:"monitoring" json:"monitoring,omitempty"`
Pgbouncer *struct {
AuthQuery *string `tfsdk:"auth_query" json:"authQuery,omitempty"`
AuthQuerySecret *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"auth_query_secret" json:"authQuerySecret,omitempty"`
Parameters *map[string]string `tfsdk:"parameters" json:"parameters,omitempty"`
Paused *bool `tfsdk:"paused" json:"paused,omitempty"`
Pg_hba *[]string `tfsdk:"pg_hba" json:"pg_hba,omitempty"`
PoolMode *string `tfsdk:"pool_mode" json:"poolMode,omitempty"`
} `tfsdk:"pgbouncer" json:"pgbouncer,omitempty"`
ServiceTemplate *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,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_template" json:"serviceTemplate,omitempty"`
Template *struct {
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
Name *string `tfsdk:"name" json:"name,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 *map[string]string `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:"template" json:"template,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
type PostgresqlCnpgIoScheduledBackupV1Manifest ¶
type PostgresqlCnpgIoScheduledBackupV1Manifest struct{}
func (*PostgresqlCnpgIoScheduledBackupV1Manifest) Metadata ¶
func (r *PostgresqlCnpgIoScheduledBackupV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresqlCnpgIoScheduledBackupV1Manifest) Read ¶
func (r *PostgresqlCnpgIoScheduledBackupV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresqlCnpgIoScheduledBackupV1Manifest) Schema ¶
func (r *PostgresqlCnpgIoScheduledBackupV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresqlCnpgIoScheduledBackupV1ManifestData ¶
type PostgresqlCnpgIoScheduledBackupV1ManifestData 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 {
BackupOwnerReference *string `tfsdk:"backup_owner_reference" json:"backupOwnerReference,omitempty"`
Cluster *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"cluster" json:"cluster,omitempty"`
Immediate *bool `tfsdk:"immediate" json:"immediate,omitempty"`
Method *string `tfsdk:"method" json:"method,omitempty"`
Online *bool `tfsdk:"online" json:"online,omitempty"`
OnlineConfiguration *struct {
ImmediateCheckpoint *bool `tfsdk:"immediate_checkpoint" json:"immediateCheckpoint,omitempty"`
WaitForArchive *bool `tfsdk:"wait_for_archive" json:"waitForArchive,omitempty"`
} `tfsdk:"online_configuration" json:"onlineConfiguration,omitempty"`
PluginConfiguration *struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
Parameters *map[string]string `tfsdk:"parameters" json:"parameters,omitempty"`
} `tfsdk:"plugin_configuration" json:"pluginConfiguration,omitempty"`
Schedule *string `tfsdk:"schedule" json:"schedule,omitempty"`
Suspend *bool `tfsdk:"suspend" json:"suspend,omitempty"`
Target *string `tfsdk:"target" json:"target,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.