github VictoriaMetrics/operator v0.51.1

4 hours ago

v0.51.1

Release date: 19 Dec 2024


Update note 1: labels and annotations inheritance is deprecated and will be remove at upcoming v0.52.0 release. It's recommend to move all needed labels and annotations to the spec.managedMetadata fields.
Operator will preserve annotations, but any changes to it will be ignored. labels inherited from CRD.metata.labels will be removed after upgrade to v0.52.0.

Update note 2: VMAuth.spec.unauthorizedAccessConfig is deprecated in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

Update note 3: The following fields: [default_url,tlsConfig,discover_backend_ips,headers,response_headers,retry_status_codes,max_concurrent_requests,load_balancing_policy,drop_src_path_prefix_parts] are deprecated at VMAuth.spec. in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

  • vmcluster: add "app.kubernetes.io/part-of": "vmcluster" label to the objects generated for VMCluster components. It helps to use labels selectors to identify objects belong to the cluster.
  • vmauth: adds new spec setting unauthorizedUserAccessSpec that replaces unauthorizedAccessConfig and inlined fields from VMUserConfigOptions. See this issue for details.
  • vmuser: fix missing options src_headers, src_query_args and discover_backend_ips in the generate vmauth config when specified under vmuserSpec.targetRefs.
  • vmuser: adds dump_request_on_errors to vmuser.spec. See this PR for details.
  • vmoperator: add annotations to the PodDisruptionBudget and HorizontalPodAutoscaler objects generated.
  • vmoperator: fix the behaviors of vmagentSpec.ScrapeConfigSelector and vmagentSpec.scrapeConfigNamespaceSelector when vmagentSpec.selectAllByDefault=false. Previously, the VMScrapeConfig could be ignored.
  • vmoperator: fix the behaviors of xxxNamespaceSelector when vmagentSpec.selectAllByDefault=true. See this doc for detailed rules.
  • vmoperator: add support of license.forceOffile and license.reloadInterval options. See this doc for the details.
  • vmoperator: properly add securityContext to the containers with useStrictSecurity: false. See this issue for details.
  • vmoperator: Add new default security option to containers with enabled useStrictSecurity: true. It sets privileged: false.
  • vmoperator: Provided manifest without webhook
  • vmoperator: change structured logging. Move irrelevant fields into the msg body, change logger field to properly display controller.CRD name. See this issue for details.
  • vmoperator: Updated default versions for VM apps to v1.108.1 version
  • api: add new field managedMetadata to VMCluster.spec, VMAgent.spec,VMAlert.spec, VMAuth.spec,VMAlertmanager.Spec, VMSingle.spec andVLogs.spec. It controls labels and annotations added to the objects created operator (such as Deployment). See this issue for details.
  • api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with replace directive from go.mod.
  • api: rework status sub-resource for VMUser, VMAlertmanager, VMRule and VMScrape.* objects. Add new conditions field, that represents resources conditions. See this issue for details.

Don't miss a new operator release

NewReleases is sending notifications on new releases.