Skip to content

Commit fab4eb7

Browse files
Update charts/victoria-metrics-operator/CHANGELOG.md
Co-authored-by: Hui Wang <[email protected]>
1 parent 6b9bd73 commit fab4eb7

File tree

24 files changed

+3222
-604
lines changed

24 files changed

+3222
-604
lines changed

charts/victoria-metrics-k8s-stack/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ argocdReleaseOverride: ""
2626
victoria-metrics-operator:
2727
enabled: true
2828
crds:
29-
upgrade:
30-
enabled: false
29+
plain: true
3130
cleanup:
3231
enabled: true
3332
image:

charts/victoria-metrics-operator-crds/Chart.lock

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,5 @@ dependencies:
22
- name: crds
33
repository: ""
44
version: 0.0.*
5-
- name: crds
6-
repository: ""
7-
version: 0.0.*
8-
- name: crds
9-
repository: ""
10-
version: 0.0.*
11-
digest: sha256:f793c6283fee161c4159c9b127328dbede0c96d29ab4c81827c23fd3d274389a
12-
generated: "2025-09-16T07:10:56.598052+03:00"
5+
digest: sha256:ef27af8da8866ab58edb12bfc594c06908a130d9ea985e42103f9ed7964705ac
6+
generated: "2025-09-27T10:11:08.309685+03:00"

charts/victoria-metrics-operator-crds/Chart.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ home: https://github.com/VictoriaMetrics/operator
66
sources:
77
- https://github.com/VictoriaMetrics/helm-charts
88
- https://github.com/VictoriaMetrics/operator
9-
version: 0.5.0
9+
version: 0.5.1
1010
appVersion: v0.63.0
1111
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
1212
kubeVersion: ">=1.25.0-0"
@@ -36,10 +36,3 @@ annotations:
3636
dependencies:
3737
- name: crds
3838
version: "0.0.*"
39-
alias: vm
40-
- name: crds
41-
version: "0.0.*"
42-
alias: vl
43-
- name: crds
44-
version: "0.0.*"
45-
alias: vt
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{{- $files := .Files }}
2-
{{- $name := .Chart.Name }}
32
{{- $crds := $files.Get "crd.yaml" | splitList "---" }}
43
{{- $extra := dict "metadata" (dict "annotations" .Values.annotations "labels" .Values.labels) -}}
54
{{- range $crds }}
65
{{- $crd := merge (fromYaml .) $extra }}
7-
{{- if hasPrefix $name $crd.metadata.name }}
8-
{{- range $attrKey, $attrValue := $crd }}
9-
{{- $attrKey }}: {{ toJson $attrValue }}
10-
{{- printf "\n" -}}
11-
{{ end }}
12-
{{- print "\n---\n" }}
13-
{{- end }}
6+
{{- range $attrKey, $attrValue := $crd }}
7+
{{- $attrKey }}: {{ toJson $attrValue }}
8+
{{- printf "\n" -}}
9+
{{ end }}
10+
{{- print "\n---\n" }}
1411
{{- end }}

charts/victoria-metrics-operator-crds/e2e/simple.yaml

Whitespace-only changes.
Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,2 @@
1-
# -- operator common CRD annotations
2-
annotations: &annotations {}
3-
vm:
4-
# -- Annotations for VM-prefixed CRDs
5-
annotations: *annotations
6-
vl:
7-
# -- Annotations for VL-prefixed CRDs
8-
annotations: *annotations
9-
vt:
10-
# -- Annotations for VT-prefixed CRDs
11-
annotations: *annotations
1+
# -- VM operator CRD annotations
2+
annotations: {}

charts/victoria-metrics-operator/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
## Next release
22

3-
**Update note 1**: CRD template was replaced by CRD upgrade job. `Values.crds.plain` property was removed. Consider replacing it with `.Values.crds.upgrade.enabled: true` if automatic CRD upgrade is expected.
4-
**Update note 2**: Replaced `.Values.admissionWebhooks.enabledCRDValidation` map with `.Values.admissionWebhooks.disabledFor` list of CRD names to disable validation for.
3+
**Update note 1**: Replaced `.Values.admissionWebhooks.enabledCRDValidation` map with `.Values.admissionWebhooks.disabledFor` list of CRD names to disable validation for. This should not affect anyone, since condition with `enabledCRDValidation` had a bug.
54

65
- Added `securityContext` to the `cleanup` job.
7-
- Removed `.Values.crds.plain` property, CRDs as templates are not supported by chart anymore. Added upgrade job instead, which is enabled by `.Values.crds.upgrade.enabled` property.
6+
- Make CRDs, that are rendered using template, specless. This allows to decrease size of k8s secret significantly. If this option is not acceptable for you consider installing CRDs separately using `victoria-metrics-operator-crds` chart.
87
- Replaced `.Values.admissionWebhooks.enabledCRDValidation` with `.Values.admissionWebhooks.disabledFor` list of CRD names to disable validation for.
98

109
## 0.53.0

charts/victoria-metrics-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ home: https://github.com/VictoriaMetrics/operator
66
sources:
77
- https://github.com/VictoriaMetrics/helm-charts
88
- https://github.com/VictoriaMetrics/operator
9-
version: 0.53.0
9+
version: 0.53.1
1010
appVersion: v0.63.0
1111
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
1212
kubeVersion: ">=1.25.0-0"
@@ -39,4 +39,4 @@ dependencies:
3939
repository: https://victoriametrics.github.io/helm-charts
4040
- name: crds
4141
version: "0.0.*"
42-
condition: crds.enabled
42+
condition: crds.plain
-94.6 KB
Binary file not shown.

charts/victoria-metrics-operator/charts/crds/templates/_helpers.tpl

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)