Skip to content

Commit

Permalink
update victoria metrics CRDs to 0.53.0 (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
guowenatl authored Feb 20, 2025
1 parent 7cd3fd4 commit f3107dc
Show file tree
Hide file tree
Showing 16 changed files with 3,242 additions and 976 deletions.
193 changes: 159 additions & 34 deletions operator.victoriametrics.com/vlogs_v1beta1.json

Large diffs are not rendered by default.

362 changes: 290 additions & 72 deletions operator.victoriametrics.com/vmagent_v1beta1.json

Large diffs are not rendered by default.

316 changes: 275 additions & 41 deletions operator.victoriametrics.com/vmalert_v1beta1.json

Large diffs are not rendered by default.

344 changes: 297 additions & 47 deletions operator.victoriametrics.com/vmalertmanager_v1beta1.json

Large diffs are not rendered by default.

273 changes: 172 additions & 101 deletions operator.victoriametrics.com/vmalertmanagerconfig_v1beta1.json

Large diffs are not rendered by default.

874 changes: 571 additions & 303 deletions operator.victoriametrics.com/vmauth_v1beta1.json

Large diffs are not rendered by default.

553 changes: 473 additions & 80 deletions operator.victoriametrics.com/vmcluster_v1beta1.json

Large diffs are not rendered by default.

120 changes: 95 additions & 25 deletions operator.victoriametrics.com/vmnodescrape_v1beta1.json

Large diffs are not rendered by default.

120 changes: 95 additions & 25 deletions operator.victoriametrics.com/vmpodscrape_v1beta1.json

Large diffs are not rendered by default.

120 changes: 95 additions & 25 deletions operator.victoriametrics.com/vmprobe_v1beta1.json

Large diffs are not rendered by default.

78 changes: 73 additions & 5 deletions operator.victoriametrics.com/vmrule_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"type": "string"
},
"type": {
"description": "Type defines datasource type for enterprise version of vmalert\npossible values - prometheus,graphite",
"description": "Type defines datasource type for enterprise version of vmalert\npossible values - prometheus,graphite,vlogs",
"type": "string"
}
},
Expand All @@ -167,12 +167,80 @@
"status": {
"description": "VMRuleStatus defines the observed state of VMRule",
"properties": {
"lastSyncError": {
"description": "LastSyncError contains error message for unsuccessful config generation",
"conditions": {
"description": "Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"",
"items": {
"description": "Condition defines status condition of the resource",
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.",
"format": "date-time",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the last time of given type update.\nThis value is used for status TTL update and removal",
"format": "date-time",
"type": "string"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"maxLength": 32768,
"type": "string"
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"format": "int64",
"minimum": 0,
"type": "integer"
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"enum": [
"True",
"False",
"Unknown"
],
"type": "string"
},
"type": {
"description": "Type of condition in CamelCase or in name.namespace.resource.victoriametrics.com/CamelCase.",
"maxLength": 316,
"type": "string"
}
},
"required": [
"lastTransitionTime",
"lastUpdateTime",
"reason",
"status",
"type"
],
"type": "object",
"additionalProperties": false
},
"type": "array",
"x-kubernetes-list-map-keys": [
"type"
],
"x-kubernetes-list-type": "map"
},
"observedGeneration": {
"description": "ObservedGeneration defines current generation picked by operator for the\nreconcile",
"format": "int64",
"type": "integer"
},
"reason": {
"description": "Reason defines human readable error reason",
"type": "string"
},
"status": {
"description": "Status defines CRD processing status",
"updateStatus": {
"description": "UpdateStatus defines a status for update rollout",
"type": "string"
}
},
Expand Down
293 changes: 183 additions & 110 deletions operator.victoriametrics.com/vmscrapeconfig_v1beta1.json

Large diffs are not rendered by default.

120 changes: 95 additions & 25 deletions operator.victoriametrics.com/vmservicescrape_v1beta1.json

Large diffs are not rendered by default.

231 changes: 187 additions & 44 deletions operator.victoriametrics.com/vmsingle_v1beta1.json

Large diffs are not rendered by default.

120 changes: 95 additions & 25 deletions operator.victoriametrics.com/vmstaticscrape_v1beta1.json

Large diffs are not rendered by default.

101 changes: 87 additions & 14 deletions operator.victoriametrics.com/vmuser_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
"description": "DropSrcPathPrefixParts is the number of `/`-delimited request path prefix parts to drop before proxying the request to backend.\nSee [here](https://docs.victoriametrics.com/vmauth#dropping-request-path-prefix) for more details.",
"type": "integer"
},
"dump_request_on_errors": {
"description": "DumpRequestOnErrors instructs vmauth to return detailed request params to the client\nif routing rules don't allow to forward request to the backends.\nUseful for debugging `src_hosts` and `src_headers` based routing rules\n\navailable since v1.107.0 vmauth version",
"type": "boolean"
},
"generatePassword": {
"description": "GeneratePassword instructs operator to generate password for user\nif spec.password if empty.",
"type": "boolean"
Expand Down Expand Up @@ -104,7 +108,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -147,6 +151,7 @@
"VMAgent",
"VMAlert",
"VMSingle",
"VLogs",
"VMAlertManager",
"VMAlertmanager",
"VMCluster/vmselect",
Expand Down Expand Up @@ -270,7 +275,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand All @@ -294,7 +299,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -324,7 +329,7 @@
"type": "array"
},
"tlsConfig": {
"description": "TLSConfig specifies TLSConfig configuration parameters.",
"description": "TLSConfig defines tls configuration for the backend connection",
"properties": {
"ca": {
"description": "Stuct containing the CA cert to use for the targets.",
Expand All @@ -338,7 +343,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand All @@ -362,7 +367,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -397,7 +402,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand All @@ -421,7 +426,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -461,7 +466,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -493,7 +498,7 @@
},
"name": {
"default": "",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.",
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
Expand Down Expand Up @@ -522,12 +527,80 @@
"status": {
"description": "VMUserStatus defines the observed state of VMUser",
"properties": {
"lastSyncError": {
"description": "LastSyncError contains error message for unsuccessful config generation\nfor given user",
"conditions": {
"description": "Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"",
"items": {
"description": "Condition defines status condition of the resource",
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.",
"format": "date-time",
"type": "string"
},
"lastUpdateTime": {
"description": "LastUpdateTime is the last time of given type update.\nThis value is used for status TTL update and removal",
"format": "date-time",
"type": "string"
},
"message": {
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
"maxLength": 32768,
"type": "string"
},
"observedGeneration": {
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"format": "int64",
"minimum": 0,
"type": "integer"
},
"reason": {
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"status": {
"description": "status of the condition, one of True, False, Unknown.",
"enum": [
"True",
"False",
"Unknown"
],
"type": "string"
},
"type": {
"description": "Type of condition in CamelCase or in name.namespace.resource.victoriametrics.com/CamelCase.",
"maxLength": 316,
"type": "string"
}
},
"required": [
"lastTransitionTime",
"lastUpdateTime",
"reason",
"status",
"type"
],
"type": "object",
"additionalProperties": false
},
"type": "array",
"x-kubernetes-list-map-keys": [
"type"
],
"x-kubernetes-list-type": "map"
},
"observedGeneration": {
"description": "ObservedGeneration defines current generation picked by operator for the\nreconcile",
"format": "int64",
"type": "integer"
},
"reason": {
"description": "Reason defines human readable error reason",
"type": "string"
},
"status": {
"description": "Status defines update status of resource",
"updateStatus": {
"description": "UpdateStatus defines a status for update rollout",
"type": "string"
}
},
Expand Down

0 comments on commit f3107dc

Please sign in to comment.