Skip to content

Commit

Permalink
use new VictoriaMetrics/operator CRD location
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Sep 26, 2024
1 parent c72ff3c commit b88638c
Show file tree
Hide file tree
Showing 29 changed files with 12,574 additions and 1,801 deletions.
15 changes: 1 addition & 14 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3562,20 +3562,7 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
project_name: "VictoriaMetrics/operator",
license: APACHE_V2,
urls: &[
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmagents.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmalertmanagerconfigs.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmalerts.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmauths.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmclusters.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmnodescrapes.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmpodscrapes.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmprobes.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmrules.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmservicescrapes.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmsingles.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmstaticscrapes.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmusers.yaml",
"https://github.com/VictoriaMetrics/operator/blob/master/config/crd/overlay/crd.yaml",
],
ignores: &[],
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
the name `VLogsHostAliases` is defined multiple times

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ metadata:
controller-gen.kubebuilder.io/version: "v0.15.0"
name: "vmrules.operator.victoriametrics.com"
spec:
conversion:
strategy: "Webhook"
webhook:
clientConfig:
service:
name: "webhook-service"
namespace: "vm"
path: "/convert"
conversionReviewVersions:
- "v1"
group: "operator.victoriametrics.com"
names:
kind: "VMRule"
Expand All @@ -13,7 +23,17 @@ spec:
singular: "vmrule"
scope: "Namespaced"
versions:
- name: "v1beta1"
- additionalPrinterColumns:
- jsonPath: ".metadata.creationTimestamp"
name: "Age"
type: "date"
- jsonPath: ".status.status"
name: "Status"
type: "string"
- jsonPath: ".status.lastSyncError"
name: "Sync Error"
type: "string"
name: "v1beta1"
schema:
openAPIV3Schema:
description: "VMRule defines rule records for vmalert application"
Expand All @@ -37,10 +57,19 @@ spec:
concurrency:
description: "Concurrency defines how many rules execute at once."
type: "integer"
eval_alignment:
description: "Optional\nThe evaluation timestamp will be aligned with group's interval,\ninstead of using the actual timestamp that evaluation happens at.\nIt is enabled by default to get more predictable results\nand to visually align with graphs plotted via Grafana or vmui."
type: "boolean"
eval_delay:
description: "Optional\nAdjust the `time` parameter of group evaluation requests to compensate intentional query delay from the datasource."
type: "string"
eval_offset:
description: "Optional\nGroup will be evaluated at the exact offset in the range of [0...interval]."
type: "string"
extra_filter_labels:
additionalProperties:
type: "string"
description: "ExtraFilterLabels optional list of label filters applied to every rule's\nrequest withing a group. Is compatible only with VM datasource.\nSee more details at https://docs.victoriametrics.com#prometheus-querying-api-enhancements\nDeprecated, use params instead"
description: "ExtraFilterLabels optional list of label filters applied to every rule's\nrequest within a group. Is compatible only with VM datasource.\nSee more details [here](https://docs.victoriametrics.com/#prometheus-querying-api-enhancements)\nDeprecated, use params instead"
type: "object"
headers:
description: "Headers contains optional HTTP headers added to each rule request\nMust be in form `header-name: value`\nFor example:\n headers:\n - \"CustomHeader: foo\"\n - \"CustomHeader2: bar\""
Expand Down Expand Up @@ -112,7 +141,7 @@ spec:
type: "object"
type: "array"
tenant:
description: "Tenant id for group, can be used only with enterprise version of vmalert\nSee more details at https://docs.victoriametrics.com/vmalert.html#multitenancy"
description: "Tenant id for group, can be used only with enterprise version of vmalert.\nSee more details [here](https://docs.victoriametrics.com/vmalert#multitenancy)."
type: "string"
type:
description: "Type defines datasource type for enterprise version of vmalert\npossible values - prometheus,graphite"
Expand All @@ -127,6 +156,13 @@ spec:
type: "object"
status:
description: "VMRuleStatus defines the observed state of VMRule"
properties:
lastSyncError:
description: "LastSyncError contains error message for unsuccessful config generation"
type: "string"
status:
description: "Status defines CRD processing status"
type: "string"
type: "object"
required:
- "spec"
Expand Down
Loading

0 comments on commit b88638c

Please sign in to comment.