Skip to content

Commit

Permalink
chore(userconfigs): generate files
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and Serpentiel committed Dec 27, 2023
1 parent fb078a9 commit 36e56fb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,12 @@ boilerplate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto,
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."

.PHONY: generate
generate: userconfigs boilerplate imports manifests docs charts
generate: userconfigs boilerplate imports manifests docs charts fmt

.PHONY: fmt
fmt: ## Run go fmt against code.
fmt:
go fmt ./...
trunk fmt

.PHONY: vet
vet: ## Run go vet against code.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/api-reference/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Cassandra specific user configuration options.
- [`service_to_fork_from`](#spec.userConfig.service_to_fork_from-property){: name='spec.userConfig.service_to_fork_from-property'} (string, Immutable, MaxLength: 64). Name of another service to fork from. This has effect only when a new service is being created.
- [`smtp_server`](#spec.userConfig.smtp_server-property){: name='spec.userConfig.smtp_server-property'} (object). SMTP server settings. See below for [nested schema](#spec.userConfig.smtp_server).
- [`static_ips`](#spec.userConfig.static_ips-property){: name='spec.userConfig.static_ips-property'} (boolean). Use static public IP addresses.
- [`unified_alerting_enabled`](#spec.userConfig.unified_alerting_enabled-property){: name='spec.userConfig.unified_alerting_enabled-property'} (boolean). Enable or disable Grafana unified alerting functionality. By default this is enabled and any legacy alerts will be migrated on upgrade to Grafana 9+. To stay on legacy alerting, set unified_alerting_enabled to false and alerting_enabled to true. See <https://grafana.com/docs/grafana/latest/alerting/set-up/migrating-alerts/> for more details.
- [`unified_alerting_enabled`](#spec.userConfig.unified_alerting_enabled-property){: name='spec.userConfig.unified_alerting_enabled-property'} (boolean). Enable or disable Grafana unified alerting functionality. By default this is enabled and any legacy alerts will be migrated on upgrade to Grafana 9+. To stay on legacy alerting, set unified_alerting_enabled to false and alerting_enabled to true. See https://grafana.com/docs/grafana/latest/alerting/set-up/migrating-alerts/ for more details.

Check notice on line 174 in docs/docs/api-reference/grafana.md

View workflow job for this annotation

GitHub Actions / Trunk Check

markdownlint(MD034)

[new] Bare URL used
- [`user_auto_assign_org`](#spec.userConfig.user_auto_assign_org-property){: name='spec.userConfig.user_auto_assign_org-property'} (boolean). Auto-assign new users on signup to main organization. Defaults to false.
- [`user_auto_assign_org_role`](#spec.userConfig.user_auto_assign_org_role-property){: name='spec.userConfig.user_auto_assign_org_role-property'} (string, Enum: `Viewer`, `Admin`, `Editor`). Set role for new signups. Defaults to Viewer.
- [`viewers_can_edit`](#spec.userConfig.viewers_can_edit-property){: name='spec.userConfig.viewers_can_edit-property'} (boolean). Users with view-only permission can edit but not save dashboards.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/api-reference/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
maintenanceWindowTime: 23:00:00

userConfig:
redis_maxmemory_policy: "allkeys-random"
redis_maxmemory_policy: allkeys-random
```
## Redis {: #Redis }
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/api-reference/serviceintegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Custom tags provided by user.

**Required**

- [`tag`](#spec.datadog.datadog_tags.tag-property){: name='spec.datadog.datadog_tags.tag-property'} (string, MinLength: 1, MaxLength: 200). Tag format and usage are described here: <https://docs.datadoghq.com/getting_started/tagging>. Tags with prefix `aiven-` are reserved for Aiven.
- [`tag`](#spec.datadog.datadog_tags.tag-property){: name='spec.datadog.datadog_tags.tag-property'} (string, MinLength: 1, MaxLength: 200). Tag format and usage are described here: https://docs.datadoghq.com/getting_started/tagging. Tags with prefix `aiven-` are reserved for Aiven.

Check notice on line 183 in docs/docs/api-reference/serviceintegration.md

View workflow job for this annotation

GitHub Actions / Trunk Check

markdownlint(MD034)

[new] Bare URL used

**Optional**

Expand Down

0 comments on commit 36e56fb

Please sign in to comment.