diff --git a/docs/operator/CHANGELOG.md b/docs/operator/CHANGELOG.md index 5c5ce0a853..ca081ea0c5 100644 --- a/docs/operator/CHANGELOG.md +++ b/docs/operator/CHANGELOG.md @@ -20,7 +20,7 @@ aliases: **Update note: PodDisruptionBudget at betav1 API is no longer supported. Operator uses v1 stable version. See this [doc](https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125) for details.** **Update note: `Alertmanager` versions below `v0.22.0` are no longer supported. Version must upgraded - manually for resources or use default version bundled with operator config.** - +- [operator](./README.md): properly reconcile `ServiceAccount` specified for `CRD`s. Previously operator didn't perform a check for actual owner of `ServiceAccount`. Now it creates and updates `ServiceAccount` only if this field is omitted at `CRD` definition. It fixes possible ownership race conditions. - Update VictoriaMetrics image tags to [v1.100.1](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.100.1). - [operator](./README.md): reduce number of watched resources owned by `CRD`s. Operator no longer watches for `Service`, `Secret`, `Configmap` changes owned by CRD object. It must reduce logging output, CPU and memory usage for operator. - [operator](./README.md): exposes `config-reloader-http` port with `8435` number for the customer config-reloader containers. Operator may use own config-reloader implementation for `VMAuth`, `VMAlertmanager` and `VMAgent`. diff --git a/docs/operator/api.md b/docs/operator/api.md index fe0028b4f5..358b9a8b31 100644 --- a/docs/operator/api.md +++ b/docs/operator/api.md @@ -130,6 +130,7 @@ This Document documents the types introduced by the VictoriaMetrics to be consum * [CRDRef](#crdref) * [StaticRef](#staticref) * [TargetRef](#targetref) +* [TargetRefBasicAuth](#targetrefbasicauth) * [VMUser](#vmuser) * [VMUserIPFilters](#vmuseripfilters) * [VMUserList](#vmuserlist) @@ -2153,6 +2154,18 @@ TargetRef describes target for user traffic forwarding. one of target types can | retry_status_codes | RetryStatusCodes defines http status codes in numeric format for request retries Can be defined per target or at VMUser.spec level e.g. [429,503] | []int | false | | load_balancing_policy | LoadBalancingPolicy defines load balancing policy to use for backend urls. Supported policies: least_loaded, first_available. See https://docs.victoriametrics.com/vmauth.html#load-balancing for more details (default \"least_loaded\") | *string | false | | drop_src_path_prefix_parts | DropSrcPathPrefixParts is the number of `/`-delimited request path prefix parts to drop before proxying the request to backend. See https://docs.victoriametrics.com/vmauth.html#dropping-request-path-prefix for more details. | *int | false | +| targetRefBasicAuth | TargetRefBasicAuth allow an target endpoint to authenticate over basic authentication | *[TargetRefBasicAuth](#targetrefbasicauth) | false | + +[Back to TOC](#table-of-contents) + +## TargetRefBasicAuth + +TargetRefBasicAuth target basic authentication + +| Field | Description | Scheme | Required | +| ----- | ----------- | ------ | -------- | +| username | The secret in the service scrape namespace that contains the username for authentication. It must be at them same namespace as CRD | [v1.SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#secretkeyselector-v1-core) | true | +| password | The secret in the service scrape namespace that contains the password for authentication. It must be at them same namespace as CRD | [v1.SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#secretkeyselector-v1-core) | true | [Back to TOC](#table-of-contents) diff --git a/docs/operator/vars.md b/docs/operator/vars.md index 2c7a6357d7..704249007b 100644 --- a/docs/operator/vars.md +++ b/docs/operator/vars.md @@ -10,7 +10,7 @@ menu: # Auto Generated vars for package config - updated at Tue Apr 16 12:57:52 UTC 2024 + updated at Wed Apr 17 00:50:36 UTC 2024 | varible name | variable default value | variable required | variable description |