Skip to content

Commit

Permalink
chore(userconfig): generate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and byashimov committed Sep 17, 2024
1 parent 783f26b commit 22be4ad
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Read-Only:
- `name` (String)
- `scopes` (List of String)
- `token_url` (String)
- `use_refresh_token` (Boolean)


<a id="nestedobjatt--grafana_user_config--auth_github"></a>
Expand Down
2 changes: 2 additions & 0 deletions docs/data-sources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ Read-Only:
Read-Only:

- `leader_eligibility` (Boolean)
- `retriable_errors_silenced` (Boolean)
- `schema_reader_strict_mode` (Boolean)
- `topic_name` (String)


Expand Down
3 changes: 3 additions & 0 deletions docs/data-sources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Read-Only:
- `compress` (Boolean)
- `container` (String)
- `endpoint_suffix` (String)
- `indices` (String)
- `key` (String)
- `sas_token` (String)
- `snapshot_name` (String)
Expand All @@ -143,6 +144,7 @@ Read-Only:
- `chunk_size` (String)
- `compress` (Boolean)
- `credentials` (String)
- `indices` (String)
- `snapshot_name` (String)


Expand Down Expand Up @@ -344,6 +346,7 @@ Read-Only:
- `chunk_size` (String)
- `compress` (Boolean)
- `endpoint` (String)
- `indices` (String)
- `region` (String)
- `secret_key` (String)
- `server_side_encryption` (Boolean)
Expand Down
1 change: 1 addition & 0 deletions docs/resources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ Optional:
- `auto_login` (Boolean) Allow users to bypass the login screen and automatically log in.
- `name` (String) Name of the OAuth integration. Example: `My authentication`.
- `scopes` (List of String) OAuth scopes.
- `use_refresh_token` (Boolean) Set to true to use refresh token and check access token expiration.


<a id="nestedblock--grafana_user_config--auth_github"></a>
Expand Down
4 changes: 3 additions & 1 deletion docs/resources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Optional:
- `kafka_rest_authorization` (Boolean) Enable authorization in Kafka-REST service.
- `kafka_rest_config` (Block List, Max: 1) Kafka REST configuration (see [below for nested schema](#nestedblock--kafka_user_config--kafka_rest_config))
- `kafka_sasl_mechanisms` (Block List, Max: 1) Kafka SASL mechanisms (see [below for nested schema](#nestedblock--kafka_user_config--kafka_sasl_mechanisms))
- `kafka_version` (String) Enum: `3.1`, `3.2`, `3.3`, `3.4`, `3.5`, `3.6`, `3.7`, and newer. Kafka major version.
- `kafka_version` (String) Enum: `3.1`, `3.2`, `3.3`, `3.4`, `3.5`, `3.6`, `3.7`, `3.8`, and newer. Kafka major version.
- `letsencrypt_sasl_privatelink` (Boolean) Use Letsencrypt CA for Kafka SASL via Privatelink.
- `private_access` (Block List, Max: 1) Allow access to selected service ports from private networks (see [below for nested schema](#nestedblock--kafka_user_config--private_access))
- `privatelink_access` (Block List, Max: 1) Allow access to selected service components through Privatelink (see [below for nested schema](#nestedblock--kafka_user_config--privatelink_access))
Expand Down Expand Up @@ -349,6 +349,8 @@ Optional:
Optional:

- `leader_eligibility` (Boolean) If true, Karapace / Schema Registry on the service nodes can participate in leader election. It might be needed to disable this when the schemas topic is replicated to a secondary cluster and Karapace / Schema Registry there must not participate in leader election. Defaults to `true`.
- `retriable_errors_silenced` (Boolean) If enabled, kafka errors which can be retried or custom errors specified for the service will not be raised, instead, a warning log is emitted. This will denoise issue tracking systems, i.e. sentry. Defaults to `true`.
- `schema_reader_strict_mode` (Boolean) If enabled, causes the Karapace schema-registry service to shutdown when there are invalid schema records in the `_schemas` topic. Defaults to `false`.
- `topic_name` (String) The durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It's only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to `_schemas`.


Expand Down
3 changes: 3 additions & 0 deletions docs/resources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Optional:
- `chunk_size` (String) Big files can be broken down into chunks during snapshotting if needed. Should be the same as for the 3rd party repository.
- `compress` (Boolean) When set to true metadata files are stored in compressed format.
- `endpoint_suffix` (String) Defines the DNS suffix for Azure Storage endpoints.
- `indices` (String) A comma-delimited list of indices to restore from the snapshot. Multi-index syntax is supported. By default, a restore operation includes all data streams and indices in the snapshot. If this argument is provided, the restore operation only includes the data streams and indices that you specify. Example: `metrics*,logs*,data-20240823`.
- `key` (String) Azure account secret key. One of key or sas_token should be specified.
- `sas_token` (String) A shared access signatures (SAS) token. One of key or sas_token should be specified.

Expand All @@ -160,6 +161,7 @@ Optional:

- `chunk_size` (String) Big files can be broken down into chunks during snapshotting if needed. Should be the same as for the 3rd party repository.
- `compress` (Boolean) When set to true metadata files are stored in compressed format.
- `indices` (String) A comma-delimited list of indices to restore from the snapshot. Multi-index syntax is supported. By default, a restore operation includes all data streams and indices in the snapshot. If this argument is provided, the restore operation only includes the data streams and indices that you specify. Example: `metrics*,logs*,data-20240823`.


<a id="nestedblock--opensearch_user_config--index_patterns"></a>
Expand Down Expand Up @@ -375,6 +377,7 @@ Optional:
- `chunk_size` (String) Big files can be broken down into chunks during snapshotting if needed. Should be the same as for the 3rd party repository.
- `compress` (Boolean) When set to true metadata files are stored in compressed format.
- `endpoint` (String) The S3 service endpoint to connect to. If you are using an S3-compatible service then you should set this to the service’s endpoint.
- `indices` (String) A comma-delimited list of indices to restore from the snapshot. Multi-index syntax is supported. By default, a restore operation includes all data streams and indices in the snapshot. If this argument is provided, the restore operation only includes the data streams and indices that you specify. Example: `metrics*,logs*,data-20240823`.
- `server_side_encryption` (Boolean) When set to true files are encrypted on server side.


Expand Down
2 changes: 1 addition & 1 deletion docs/resources/pg.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Read-Only:

Optional:

- `additional_backup_regions` (List of String) Additional Cloud Regions for Backup Replication.
- `additional_backup_regions` (List of String, Deprecated) Additional Cloud Regions for Backup Replication.
- `admin_password` (String, Sensitive) Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- `admin_username` (String) Custom username for admin user. This must be set only when a new service is being created. Example: `avnadmin`.
- `backup_hour` (Number) The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example: `3`.
Expand Down
5 changes: 5 additions & 0 deletions internal/sdkprovider/userconfig/service/grafana.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion internal/sdkprovider/userconfig/service/kafka.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions internal/sdkprovider/userconfig/service/opensearch.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions internal/sdkprovider/userconfig/service/pg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22be4ad

Please sign in to comment.