Releases: VictoriaMetrics/operator
v0.51.3
v0.51.3
Release date: 8 Jan 2025
- BUGFIX: vmagent: properly route headless service traffic to vmagent
pods
withstatefulMode
andshardCount
defined. - BUGFIX: vmsingle: properly add
volumeMount
for externalstorageDataPath
volume
. - BUGFIX: vmcluster: properly mount
serviceAccount
forrequestsLoadBalancer
Deployment
. See this issue for details.
v0.51.2
v0.51.2
Release date: 23 Dec 2024
-
SECURITY: upgrade Go builder from Go1.23 to Go1.23.4. See the list of issues addressed in Go1.23.2 and Go1.23.3.
-
BUGFIX: vmoperator: keep
resourceVersion
and other significantmetadata
fields duringupdate
objects requests. See this issue for details. -
BUGFIX: vmoperator: properly update
updateStatus: failed
field. It fixes excessive errors logging and amount of created KubernetesEvents
. -
BUGFIX: vmoperator: Properly rollback incorrect object configuration. Previously diff for objects could be calculate incorrectly and update request could be skipped.
-
BUGFIX: vmcluster and vmsingle: restore deprecated fields
status.clusterStatus
andstatus.singleStatus
removed atv0.51.0
. Those deprecated fields will be removed at upcomingv0.52.0
version.
v0.51.1
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 forVMCluster
components. It helps to use labels selectors to identify objects belong to the cluster. - vmauth: adds new
spec
settingunauthorizedUserAccessSpec
that replacesunauthorizedAccessConfig
and inlined fields fromVMUserConfigOptions
. See this issue for details. - vmuser: fix missing options
src_headers
,src_query_args
anddiscover_backend_ips
in the generate vmauth config when specified undervmuserSpec.targetRefs
. - vmuser: adds
dump_request_on_errors
tovmuser.spec
. See this PR for details. - vmoperator: add
annotations
to thePodDisruptionBudget
andHorizontalPodAutoscaler
objects generated. - vmoperator: fix the behaviors of
vmagentSpec.ScrapeConfigSelector
andvmagentSpec.scrapeConfigNamespaceSelector
whenvmagentSpec.selectAllByDefault=false
. Previously, the VMScrapeConfig could be ignored. - vmoperator: fix the behaviors of
xxxNamespaceSelector
whenvmagentSpec.selectAllByDefault=true
. See this doc for detailed rules. - vmoperator: add support of
license.forceOffile
andlicense.reloadInterval
options. See this doc for the details. - vmoperator: properly add
securityContext
to thecontainers
withuseStrictSecurity: false
. See this issue for details. - vmoperator: Add new default security option to
containers
with enableduseStrictSecurity: true
. It setsprivileged: false
. - vmoperator: Provided manifest without webhook
- vmoperator: change structured logging. Move irrelevant fields into the
msg
body, changelogger
field to properly displaycontroller.CRD
name. See this issue for details. - vmoperator: Updated default versions for VM apps to v1.108.1 version
- api: add new field
managedMetadata
toVMCluster.spec
,VMAgent.spec
,VMAlert.spec
,VMAuth.spec
,VMAlertmanager.Spec
,VMSingle.spec
andVLogs.spec
. It controlslabels
andannotations
added to the objects created operator (such asDeployment
). See this issue for details. - api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with
replace
directive fromgo.mod
. - api: rework
status
sub-resource forVMUser
,VMAlertmanager
,VMRule
andVMScrape.*
objects. Add newconditions
field, that represents resources conditions. See this issue for details.
v0.51.0
v0.51.0
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 forVMCluster
components. It helps to use labels selectors to identify objects belong to the cluster. - vmauth: adds new
spec
settingunauthorizedUserAccessSpec
that replacesunauthorizedAccessConfig
and inlined fields fromVMUserConfigOptions
. See this issue for details. - vmuser: fix missing options
src_headers
,src_query_args
anddiscover_backend_ips
in the generate vmauth config when specified undervmuserSpec.targetRefs
. - vmuser: adds
dump_request_on_errors
tovmuser.spec
. See this PR for details. - vmoperator: add
annotations
to thePodDisruptionBudget
andHorizontalPodAutoscaler
objects generated. - vmoperator: fix the behaviors of
vmagentSpec.ScrapeConfigSelector
andvmagentSpec.scrapeConfigNamespaceSelector
whenvmagentSpec.selectAllByDefault=false
. Previously, the VMScrapeConfig could be ignored. - vmoperator: fix the behaviors of
xxxNamespaceSelector
whenvmagentSpec.selectAllByDefault=true
. See this doc for detailed rules. - vmoperator: add support of
license.forceOffile
andlicense.reloadInterval
options. See this doc for the details. - vmoperator: properly add
securityContext
to thecontainers
withuseStrictSecurity: false
. See this issue for details. - vmoperator: Add new default security option to
containers
with enableduseStrictSecurity: true
. It setsprivileged: false
. - vmoperator: Provided manifest without webhook
- vmoperator: change structured logging. Move irrelevant fields into the
msg
body, changelogger
field to properly displaycontroller.CRD
name. See this issue for details. - vmoperator: Updated default versions for VM apps to v1.108.1 version
- api: add new field
managedMetadata
toVMCluster.spec
,VMAgent.spec
,VMAlert.spec
,VMAuth.spec
,VMAlertmanager.Spec
,VMSingle.spec
andVLogs.spec
. It controlslabels
andannotations
added to the objects created operator (such asDeployment
). See this issue for details. - api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with
replace
directive fromgo.mod
. - api: rework
status
sub-resource forVMUser
,VMAlertmanager
,VMRule
andVMScrape.*
objects. Add newconditions
field, that represents resources conditions. See this issue for details.
v0.51.0-rc1
v0.51.0 - 17 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 forVMCluster
components. It helps to use labels selectors to identify objects belong to the cluster. - vmauth: adds new
spec
settingunauthorizedUserAccessSpec
that replacesunauthorizedAccessConfig
and inlined fields fromVMUserConfigOptions
. See this issue for details. - vmoperator: add
annotations
to thePodDisruptionBudget
andHorizontalPodAutoscaler
objects generated. - vmoperator: bump default version of VictoriaMetrics components to 1.107.0.
- vmoperator: fix the behaviors of
vmagentSpec.ScrapeConfigSelector
andvmagentSpec.scrapeConfigNamespaceSelector
whenvmagentSpec.selectAllByDefault=false
. Previously, the VMScrapeConfig could be ignored. - vmoperator: fix the behaviors of
xxxNamespaceSelector
whenvmagentSpec.selectAllByDefault=true
. See this doc for detailed rules. - vmoperator: add support of
license.forceOffile
andlicense.reloadInterval
options. See this doc for the details. - vmoperator: properly add
securityContext
to thecontainers
withuseStrictSecurity: false
. See this issue for details. - vmoperator: Add new default security option to
containers
with enableduseStrictSecurity: true
. It setsprivileged: false
. - vmoperator: Provided manifest without webhook
- vmoperator: change structured logging. Move irrelevant fields into the
msg
body, changelogger
field to properly displaycontroller.CRD
name. See this issue for details. - api: add new field
managedMetadata
toVMCluster.spec
,VMAgent.spec
,VMAlert.spec
,VMAuth.spec
,VMAlertmanager.Spec
,VMSingle.spec
andVLogs.spec
. It controlslabels
andannotations
added to the objects created operator (such asDeployment
). See this issue for details. - api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with
replace
directive fromgo.mod
. - api: rework
status
sub-resource forVMUser
,VMAlertmanager
,VMRule
andVMScrape.*
objects. Add newconditions
field, that represents resources conditions. See this issue for details.
v0.50.0
v0.50.0 - 22 Nov 2024
- vmoperator: add missing
container
labels to the metrics discovered withVMServiceScrape
forendpointslices
discovery role. - vmoperator: bump default version of VictoriaMetrics components to 1.106.1.
- vmoperator: add new variable
VM_VMSERVICESCRAPEDEFAULT_ENFORCEENDPOINTSLICES
to useendpointslices
instead ofendpoints
as discovery role for VMServiceScrape when generate scrape config for VMAgent. - vmoperator: adds new flag
loggerJSONFields
to the operator logger configuration. It allows to change json encoder fields. See this issue for details. - api: adds new status field
observedGeneration
. See this issue for details. - api: unify
updateStatus
field for CRD objects. It replacesstatus
,clusterStatus
andsingleStatus
forVLogs
,VMCluster
andVMSingle
with genericupdateStatus
.
v0.49.1
v0.49.1 - 11 Nov 2024
- vmrule: properly validate rules for vlogs group
type
. - operator: properly apply changes to the converted
VMScrapeConfig
during operator start-up. - operator: properly set
operational
update status for CRDs. Previously,operational
status could be set before rollout finishes at Kubernetes due to bug at Kubernetescontroller-manager
.
New Contributors
- @rl0nergan made their first contribution in #1147
Full Changelog: v0.49.0...v0.49.1
v0.49.0
v0.49.0 - 05 Nov 2024
- operator: properly apply
useStrictSecurity: true
to theinitContainers
forVMAuth
,VMAgent
andVMAlertmanager
. See this issue for details. - vmauth: Moved
spec.configSecret
tospec.externalConfig.secretRef.name
and addedspec.externalConfig.localPath
to be able to provide custom configs via sidecar. - vmcluster: adds
requestsLoadBalancer
configuration to theVMCluster.spec
. See this issue for details. - vmcluster: properly configure monitoring for
VMCluster
with enabledbackup
. - vmalertmanager: properly trigger reload when
ConfigMap
provided via.spec.configMap
are changed. - operator: fixed operator reconcile on storage size change
- operator: fixed converting AlertmanagerConfig to VMAlertmanagerConfig
- vmoperator: bump default version of VictoriaMetrics components to 1.106.0.
v0.48.4
v0.48.4 - 15 Oct 2024
- api: adds new fields
maxDiskUsagePerUrl
andforceVMProto
to theVMagent
remoteWriteSpec
- vmuser: fixes the protocol of generated CRD target access url for vminsert and vmstorage when TLS is enabled.
- vmagent: properly make transition to
statefulMode
. See this issue for details. - vmagent: properly assign
OwnerRefrence
forRole
andRoleBinding
atsingle-namespace
operator mode. - operator: fixes pod scheduling with
useStrictSecurity
enabled by removing default values forAppArmorProfile
andSeccompProfile
. See this issue for details.
New Contributors
- @leandregagnonlewis made their first contribution in #1117
Full Changelog: v0.48.3...v0.48.4
v0.48.3
v0.48.3 - 29 Sep 2024
- vmcluster: properly apply global container registry from configuration. It was ignored for
VMCluster
sincev0.48.0
release. See this issue for details. - operator: updates default vlogs app version to v0.32.0
- operator: adds new flag
--disableControllerForCRD
. It allows to disable reconcile controller for the given comma-separated list of CRD names. See this issue for details.