From 36e56fb25a6b08f5c8f9a1207bc9ecd2483dddcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Fri, 22 Dec 2023 13:15:57 +0000 Subject: [PATCH] chore(userconfigs): generate files --- Makefile | 5 +++-- docs/docs/api-reference/grafana.md | 2 +- docs/docs/api-reference/redis.md | 2 +- docs/docs/api-reference/serviceintegration.md | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index db8619eb5..da850b0fd 100644 --- a/Makefile +++ b/Makefile @@ -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. diff --git a/docs/docs/api-reference/grafana.md b/docs/docs/api-reference/grafana.md index 143358ab2..1dc1c8164 100644 --- a/docs/docs/api-reference/grafana.md +++ b/docs/docs/api-reference/grafana.md @@ -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 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. - [`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. diff --git a/docs/docs/api-reference/redis.md b/docs/docs/api-reference/redis.md index f2244034b..5692f9b65 100644 --- a/docs/docs/api-reference/redis.md +++ b/docs/docs/api-reference/redis.md @@ -30,7 +30,7 @@ spec: maintenanceWindowTime: 23:00:00 userConfig: - redis_maxmemory_policy: "allkeys-random" + redis_maxmemory_policy: allkeys-random ``` ## Redis {: #Redis } diff --git a/docs/docs/api-reference/serviceintegration.md b/docs/docs/api-reference/serviceintegration.md index 5f5d9e22c..307052fe9 100644 --- a/docs/docs/api-reference/serviceintegration.md +++ b/docs/docs/api-reference/serviceintegration.md @@ -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: . 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. **Optional**