Documentation
¶
Index ¶
- func NewPostgresOperatorCrunchydataComPgadminV1Beta1Manifest() datasource.DataSource
- func NewPostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest() datasource.DataSource
- func NewPostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest() datasource.DataSource
- type PostgresOperatorCrunchydataComPgadminV1Beta1Manifest
- func (r *PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresOperatorCrunchydataComPgadminV1Beta1ManifestData
- type PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest
- func (r *PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresOperatorCrunchydataComPgupgradeV1Beta1ManifestData
- type PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest
- func (r *PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PostgresOperatorCrunchydataComPostgresClusterV1Beta1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresOperatorCrunchydataComPgadminV1Beta1Manifest ¶
func NewPostgresOperatorCrunchydataComPgadminV1Beta1Manifest() datasource.DataSource
func NewPostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest ¶
func NewPostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest() datasource.DataSource
func NewPostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest ¶
func NewPostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest() datasource.DataSource
Types ¶
type PostgresOperatorCrunchydataComPgadminV1Beta1Manifest ¶
type PostgresOperatorCrunchydataComPgadminV1Beta1Manifest struct{}
func (*PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Metadata ¶
func (r *PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Read ¶
func (r *PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Schema ¶
func (r *PostgresOperatorCrunchydataComPgadminV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresOperatorCrunchydataComPgadminV1Beta1ManifestData ¶
type PostgresOperatorCrunchydataComPgadminV1Beta1ManifestData 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 {
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"`
Config *struct {
ConfigDatabaseURI *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"config_database_uri" json:"configDatabaseURI,omitempty"`
Files *[]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:"files" json:"files,omitempty"`
Gunicorn *map[string]string `tfsdk:"gunicorn" json:"gunicorn,omitempty"`
LdapBindPassword *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"ldap_bind_password" json:"ldapBindPassword,omitempty"`
Settings *map[string]string `tfsdk:"settings" json:"settings,omitempty"`
} `tfsdk:"config" json:"config,omitempty"`
DataVolumeClaimSpec *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:"data_volume_claim_spec" json:"dataVolumeClaimSpec,omitempty"`
Image *string `tfsdk:"image" json:"image,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"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
ServerGroups *[]struct {
Name *string `tfsdk:"name" json:"name,omitempty"`
PostgresClusterName *string `tfsdk:"postgres_cluster_name" json:"postgresClusterName,omitempty"`
PostgresClusterSelector *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:"postgres_cluster_selector" json:"postgresClusterSelector,omitempty"`
} `tfsdk:"server_groups" json:"serverGroups,omitempty"`
ServiceName *string `tfsdk:"service_name" json:"serviceName,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"`
Users *[]struct {
PasswordRef *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"password_ref" json:"passwordRef,omitempty"`
Role *string `tfsdk:"role" json:"role,omitempty"`
Username *string `tfsdk:"username" json:"username,omitempty"`
} `tfsdk:"users" json:"users,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
type PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest ¶
type PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest struct{}
func (*PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Metadata ¶
func (r *PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Read ¶
func (r *PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Schema ¶
func (r *PostgresOperatorCrunchydataComPgupgradeV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresOperatorCrunchydataComPgupgradeV1Beta1ManifestData ¶
type PostgresOperatorCrunchydataComPgupgradeV1Beta1ManifestData 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 {
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"`
FromPostgresVersion *int64 `tfsdk:"from_postgres_version" json:"fromPostgresVersion,omitempty"`
Image *string `tfsdk:"image" json:"image,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"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
PostgresClusterName *string `tfsdk:"postgres_cluster_name" json:"postgresClusterName,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
ToPostgresImage *string `tfsdk:"to_postgres_image" json:"toPostgresImage,omitempty"`
ToPostgresVersion *int64 `tfsdk:"to_postgres_version" json:"toPostgresVersion,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"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
type PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest ¶
type PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest struct{}
func (*PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Metadata ¶
func (r *PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Read ¶
func (r *PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Schema ¶
func (r *PostgresOperatorCrunchydataComPostgresClusterV1Beta1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PostgresOperatorCrunchydataComPostgresClusterV1Beta1ManifestData ¶
type PostgresOperatorCrunchydataComPostgresClusterV1Beta1ManifestData 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 {
Backups *struct {
Pgbackrest *struct {
Configuration *[]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:"configuration" json:"configuration,omitempty"`
Global *map[string]string `tfsdk:"global" json:"global,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
Jobs *struct {
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"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
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"`
TtlSecondsAfterFinished *int64 `tfsdk:"ttl_seconds_after_finished" json:"ttlSecondsAfterFinished,omitempty"`
} `tfsdk:"jobs" json:"jobs,omitempty"`
Manual *struct {
Options *[]string `tfsdk:"options" json:"options,omitempty"`
RepoName *string `tfsdk:"repo_name" json:"repoName,omitempty"`
} `tfsdk:"manual" json:"manual,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
RepoHost *struct {
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"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
SshConfigMap *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:"ssh_config_map" json:"sshConfigMap,omitempty"`
SshSecret *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:"ssh_secret" json:"sshSecret,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"`
} `tfsdk:"repo_host" json:"repoHost,omitempty"`
Repos *[]struct {
Azure *struct {
Container *string `tfsdk:"container" json:"container,omitempty"`
} `tfsdk:"azure" json:"azure,omitempty"`
Gcs *struct {
Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"`
} `tfsdk:"gcs" json:"gcs,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
S3 *struct {
Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"`
Endpoint *string `tfsdk:"endpoint" json:"endpoint,omitempty"`
Region *string `tfsdk:"region" json:"region,omitempty"`
} `tfsdk:"s3" json:"s3,omitempty"`
Schedules *struct {
Differential *string `tfsdk:"differential" json:"differential,omitempty"`
Full *string `tfsdk:"full" json:"full,omitempty"`
Incremental *string `tfsdk:"incremental" json:"incremental,omitempty"`
} `tfsdk:"schedules" json:"schedules,omitempty"`
Volume *struct {
VolumeClaimSpec *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:"volume_claim_spec" json:"volumeClaimSpec,omitempty"`
} `tfsdk:"volume" json:"volume,omitempty"`
} `tfsdk:"repos" json:"repos,omitempty"`
Restore *struct {
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"`
ClusterName *string `tfsdk:"cluster_name" json:"clusterName,omitempty"`
ClusterNamespace *string `tfsdk:"cluster_namespace" json:"clusterNamespace,omitempty"`
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
Options *[]string `tfsdk:"options" json:"options,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
RepoName *string `tfsdk:"repo_name" json:"repoName,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
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"`
} `tfsdk:"restore" json:"restore,omitempty"`
Sidecars *struct {
Pgbackrest *struct {
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
} `tfsdk:"pgbackrest" json:"pgbackrest,omitempty"`
PgbackrestConfig *struct {
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
} `tfsdk:"pgbackrest_config" json:"pgbackrestConfig,omitempty"`
} `tfsdk:"sidecars" json:"sidecars,omitempty"`
} `tfsdk:"pgbackrest" json:"pgbackrest,omitempty"`
Snapshots *struct {
VolumeSnapshotClassName *string `tfsdk:"volume_snapshot_class_name" json:"volumeSnapshotClassName,omitempty"`
} `tfsdk:"snapshots" json:"snapshots,omitempty"`
} `tfsdk:"backups" json:"backups,omitempty"`
Config *struct {
Files *[]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:"files" json:"files,omitempty"`
} `tfsdk:"config" json:"config,omitempty"`
CustomReplicationTLSSecret *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:"custom_replication_tls_secret" json:"customReplicationTLSSecret,omitempty"`
CustomTLSSecret *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:"custom_tls_secret" json:"customTLSSecret,omitempty"`
DataSource *struct {
Pgbackrest *struct {
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"`
Configuration *[]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:"configuration" json:"configuration,omitempty"`
Global *map[string]string `tfsdk:"global" json:"global,omitempty"`
Options *[]string `tfsdk:"options" json:"options,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Repo *struct {
Azure *struct {
Container *string `tfsdk:"container" json:"container,omitempty"`
} `tfsdk:"azure" json:"azure,omitempty"`
Gcs *struct {
Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"`
} `tfsdk:"gcs" json:"gcs,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
S3 *struct {
Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"`
Endpoint *string `tfsdk:"endpoint" json:"endpoint,omitempty"`
Region *string `tfsdk:"region" json:"region,omitempty"`
} `tfsdk:"s3" json:"s3,omitempty"`
Schedules *struct {
Differential *string `tfsdk:"differential" json:"differential,omitempty"`
Full *string `tfsdk:"full" json:"full,omitempty"`
Incremental *string `tfsdk:"incremental" json:"incremental,omitempty"`
} `tfsdk:"schedules" json:"schedules,omitempty"`
Volume *struct {
VolumeClaimSpec *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:"volume_claim_spec" json:"volumeClaimSpec,omitempty"`
} `tfsdk:"volume" json:"volume,omitempty"`
} `tfsdk:"repo" json:"repo,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
Stanza *string `tfsdk:"stanza" json:"stanza,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"`
} `tfsdk:"pgbackrest" json:"pgbackrest,omitempty"`
PostgresCluster *struct {
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"`
ClusterName *string `tfsdk:"cluster_name" json:"clusterName,omitempty"`
ClusterNamespace *string `tfsdk:"cluster_namespace" json:"clusterNamespace,omitempty"`
Options *[]string `tfsdk:"options" json:"options,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
RepoName *string `tfsdk:"repo_name" json:"repoName,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
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"`
} `tfsdk:"postgres_cluster" json:"postgresCluster,omitempty"`
Volumes *struct {
PgBackRestVolume *struct {
Directory *string `tfsdk:"directory" json:"directory,omitempty"`
PvcName *string `tfsdk:"pvc_name" json:"pvcName,omitempty"`
} `tfsdk:"pg_back_rest_volume" json:"pgBackRestVolume,omitempty"`
PgDataVolume *struct {
Directory *string `tfsdk:"directory" json:"directory,omitempty"`
PvcName *string `tfsdk:"pvc_name" json:"pvcName,omitempty"`
} `tfsdk:"pg_data_volume" json:"pgDataVolume,omitempty"`
PgWALVolume *struct {
Directory *string `tfsdk:"directory" json:"directory,omitempty"`
PvcName *string `tfsdk:"pvc_name" json:"pvcName,omitempty"`
} `tfsdk:"pg_wal_volume" json:"pgWALVolume,omitempty"`
} `tfsdk:"volumes" json:"volumes,omitempty"`
} `tfsdk:"data_source" json:"dataSource,omitempty"`
DatabaseInitSQL *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"database_init_sql" json:"databaseInitSQL,omitempty"`
DisableDefaultPodScheduling *bool `tfsdk:"disable_default_pod_scheduling" json:"disableDefaultPodScheduling,omitempty"`
Image *string `tfsdk:"image" json:"image,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"`
Instances *[]struct {
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"`
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"`
} `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"`
DataVolumeClaimSpec *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:"data_volume_claim_spec" json:"dataVolumeClaimSpec,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
MinAvailable *string `tfsdk:"min_available" json:"minAvailable,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
Sidecars *struct {
ReplicaCertCopy *struct {
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
} `tfsdk:"replica_cert_copy" json:"replicaCertCopy,omitempty"`
} `tfsdk:"sidecars" json:"sidecars,omitempty"`
TablespaceVolumes *[]struct {
DataVolumeClaimSpec *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:"data_volume_claim_spec" json:"dataVolumeClaimSpec,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
} `tfsdk:"tablespace_volumes" json:"tablespaceVolumes,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"`
WalVolumeClaimSpec *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:"wal_volume_claim_spec" json:"walVolumeClaimSpec,omitempty"`
} `tfsdk:"instances" json:"instances,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
Monitoring *struct {
Pgmonitor *struct {
Exporter *struct {
Configuration *[]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:"configuration" json:"configuration,omitempty"`
CustomTLSSecret *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:"custom_tls_secret" json:"customTLSSecret,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
} `tfsdk:"exporter" json:"exporter,omitempty"`
} `tfsdk:"pgmonitor" json:"pgmonitor,omitempty"`
} `tfsdk:"monitoring" json:"monitoring,omitempty"`
Openshift *bool `tfsdk:"openshift" json:"openshift,omitempty"`
Patroni *struct {
DynamicConfiguration *map[string]string `tfsdk:"dynamic_configuration" json:"dynamicConfiguration,omitempty"`
LeaderLeaseDurationSeconds *int64 `tfsdk:"leader_lease_duration_seconds" json:"leaderLeaseDurationSeconds,omitempty"`
Port *int64 `tfsdk:"port" json:"port,omitempty"`
Switchover *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
TargetInstance *string `tfsdk:"target_instance" json:"targetInstance,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"switchover" json:"switchover,omitempty"`
SyncPeriodSeconds *int64 `tfsdk:"sync_period_seconds" json:"syncPeriodSeconds,omitempty"`
} `tfsdk:"patroni" json:"patroni,omitempty"`
Paused *bool `tfsdk:"paused" json:"paused,omitempty"`
Port *int64 `tfsdk:"port" json:"port,omitempty"`
PostGISVersion *string `tfsdk:"post_gis_version" json:"postGISVersion,omitempty"`
PostgresVersion *int64 `tfsdk:"postgres_version" json:"postgresVersion,omitempty"`
Proxy *struct {
PgBouncer *struct {
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"`
Config *struct {
Databases *map[string]string `tfsdk:"databases" json:"databases,omitempty"`
Files *[]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:"files" json:"files,omitempty"`
Global *map[string]string `tfsdk:"global" json:"global,omitempty"`
Users *map[string]string `tfsdk:"users" json:"users,omitempty"`
} `tfsdk:"config" json:"config,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"`
} `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"`
CustomTLSSecret *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:"custom_tls_secret" json:"customTLSSecret,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
MinAvailable *string `tfsdk:"min_available" json:"minAvailable,omitempty"`
Port *int64 `tfsdk:"port" json:"port,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
Service *struct {
ExternalTrafficPolicy *string `tfsdk:"external_traffic_policy" json:"externalTrafficPolicy,omitempty"`
InternalTrafficPolicy *string `tfsdk:"internal_traffic_policy" json:"internalTrafficPolicy,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
NodePort *int64 `tfsdk:"node_port" json:"nodePort,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"service" json:"service,omitempty"`
Sidecars *struct {
PgbouncerConfig *struct {
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
} `tfsdk:"pgbouncer_config" json:"pgbouncerConfig,omitempty"`
} `tfsdk:"sidecars" json:"sidecars,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"`
} `tfsdk:"pg_bouncer" json:"pgBouncer,omitempty"`
} `tfsdk:"proxy" json:"proxy,omitempty"`
ReplicaService *struct {
ExternalTrafficPolicy *string `tfsdk:"external_traffic_policy" json:"externalTrafficPolicy,omitempty"`
InternalTrafficPolicy *string `tfsdk:"internal_traffic_policy" json:"internalTrafficPolicy,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
NodePort *int64 `tfsdk:"node_port" json:"nodePort,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"replica_service" json:"replicaService,omitempty"`
Service *struct {
ExternalTrafficPolicy *string `tfsdk:"external_traffic_policy" json:"externalTrafficPolicy,omitempty"`
InternalTrafficPolicy *string `tfsdk:"internal_traffic_policy" json:"internalTrafficPolicy,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
NodePort *int64 `tfsdk:"node_port" json:"nodePort,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"service" json:"service,omitempty"`
Shutdown *bool `tfsdk:"shutdown" json:"shutdown,omitempty"`
Standby *struct {
Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
Host *string `tfsdk:"host" json:"host,omitempty"`
Port *int64 `tfsdk:"port" json:"port,omitempty"`
RepoName *string `tfsdk:"repo_name" json:"repoName,omitempty"`
} `tfsdk:"standby" json:"standby,omitempty"`
SupplementalGroups *[]string `tfsdk:"supplemental_groups" json:"supplementalGroups,omitempty"`
UserInterface *struct {
PgAdmin *struct {
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"`
Config *struct {
Files *[]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:"files" json:"files,omitempty"`
LdapBindPassword *struct {
Key *string `tfsdk:"key" json:"key,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Optional *bool `tfsdk:"optional" json:"optional,omitempty"`
} `tfsdk:"ldap_bind_password" json:"ldapBindPassword,omitempty"`
Settings *map[string]string `tfsdk:"settings" json:"settings,omitempty"`
} `tfsdk:"config" json:"config,omitempty"`
DataVolumeClaimSpec *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:"data_volume_claim_spec" json:"dataVolumeClaimSpec,omitempty"`
Image *string `tfsdk:"image" json:"image,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"`
Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"`
Resources *struct {
Claims *[]struct {
Name *string `tfsdk:"name" json:"name,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"`
Service *struct {
ExternalTrafficPolicy *string `tfsdk:"external_traffic_policy" json:"externalTrafficPolicy,omitempty"`
InternalTrafficPolicy *string `tfsdk:"internal_traffic_policy" json:"internalTrafficPolicy,omitempty"`
Metadata *struct {
Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
} `tfsdk:"metadata" json:"metadata,omitempty"`
NodePort *int64 `tfsdk:"node_port" json:"nodePort,omitempty"`
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"service" json:"service,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"`
} `tfsdk:"pg_admin" json:"pgAdmin,omitempty"`
} `tfsdk:"user_interface" json:"userInterface,omitempty"`
Users *[]struct {
Databases *[]string `tfsdk:"databases" json:"databases,omitempty"`
Name *string `tfsdk:"name" json:"name,omitempty"`
Options *string `tfsdk:"options" json:"options,omitempty"`
Password *struct {
Type *string `tfsdk:"type" json:"type,omitempty"`
} `tfsdk:"password" json:"password,omitempty"`
} `tfsdk:"users" json:"users,omitempty"`
} `tfsdk:"spec" json:"spec,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.