You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. There seems to be some unintended behavior related to vmuser.
When useAsDefault is disabled:
When creating Victoriametrics Operator CRD, a port named http is always created by the Operator. In vmagent or some CRDs, the default port can be modified through .spec.port, And this value is used for the port and targetPort of the service. When a Victoriametrics Operator CRD is specified through vmuser's .spec.targetRefs.crd, the operator generates a url_prefix config using the above port.
When useAsDefault is enabled:
If useAsDefault of Victoriametrics Operator CRD is enabled, the service's port and targetPort may be different. However, vmuser still generates the url_prefix by referring to .spec.port or the default port value. This causes inaccessibility issues.
Looka149
changed the title
VMUser: when using the operator's CRD object, an url_prefix must be generated considering useAsDefault
VMUser: when using the operator's CRD object as targetRefs, an url_prefix must be generated considering useAsDefaultMay 23, 2024
Hi. There seems to be some unintended behavior related to vmuser.
When useAsDefault is disabled:
When creating Victoriametrics Operator CRD, a port named
http
is always created by the Operator. In vmagent or some CRDs, the default port can be modified through.spec.port
, And this value is used for theport
andtargetPort
of the service. When a Victoriametrics Operator CRD is specified through vmuser's.spec.targetRefs.crd
, the operator generates aurl_prefix
config using the above port.When useAsDefault is enabled:
If useAsDefault of Victoriametrics Operator CRD is enabled, the service's
port
andtargetPort
may be different. However, vmuser still generates theurl_prefix
by referring to.spec.port
or the default port value. This causes inaccessibility issues.example)
VMAlert manifest with useAsDefault
VMUser manifest with VMAlert target
VMAuth config generated by operator
The text was updated successfully, but these errors were encountered: