From db88c850278efec270f92bfb02e85dcca17c0934 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Thu, 12 Sep 2024 10:02:25 +0300 Subject: [PATCH] moved crds to a chart --- charts/victoria-logs-single/README.md | 10 ++++++++++ charts/victoria-logs-single/values.yaml | 2 ++ charts/victoria-metrics-k8s-stack/CHANGELOG.md | 1 + charts/victoria-metrics-k8s-stack/README.md | 16 ---------------- charts/victoria-metrics-operator/CHANGELOG.md | 2 ++ charts/victoria-metrics-operator/Chart.lock | 4 ++-- charts/victoria-metrics-single/README.md | 10 ++++++++++ charts/victoria-metrics-single/values.yaml | 2 ++ 8 files changed, 29 insertions(+), 18 deletions(-) diff --git a/charts/victoria-logs-single/README.md b/charts/victoria-logs-single/README.md index af0c308d3..d6f200636 100644 --- a/charts/victoria-logs-single/README.md +++ b/charts/victoria-logs-single/README.md @@ -1064,6 +1064,16 @@ OrderedReady

Deploy order policy for StatefulSet pods

+ + + + server.statefulSet.replicaCount + int +
+1
+
+ +

Replica count for StatefulSet pods

diff --git a/charts/victoria-logs-single/values.yaml b/charts/victoria-logs-single/values.yaml index 2058ffafd..21d813bab 100644 --- a/charts/victoria-logs-single/values.yaml +++ b/charts/victoria-logs-single/values.yaml @@ -262,6 +262,8 @@ server: enabled: true # -- Deploy order policy for StatefulSet pods podManagementPolicy: OrderedReady + # -- Replica count for StatefulSet pods + replicaCount: 1 # -- Pod's termination grace period in seconds terminationGracePeriodSeconds: 60 serviceMonitor: diff --git a/charts/victoria-metrics-k8s-stack/CHANGELOG.md b/charts/victoria-metrics-k8s-stack/CHANGELOG.md index cdfbcf801..10438e4ae 100644 --- a/charts/victoria-metrics-k8s-stack/CHANGELOG.md +++ b/charts/victoria-metrics-k8s-stack/CHANGELOG.md @@ -3,6 +3,7 @@ - Moved crds to a shared chart and import them as a dependency - Added VMAuth to k8s stack. See [this issue](https://github.com/VictoriaMetrics/helm-charts/issues/829) - Fixed ETCD dashboard +- Moved crds to a shared chart and import them as a dependency ## 0.25.16 diff --git a/charts/victoria-metrics-k8s-stack/README.md b/charts/victoria-metrics-k8s-stack/README.md index 6ee8328d8..465fd33ca 100644 --- a/charts/victoria-metrics-k8s-stack/README.md +++ b/charts/victoria-metrics-k8s-stack/README.md @@ -2122,22 +2122,6 @@ false - - vmauth.ingress - object -
-annotations: {}
-enabled: false
-hosts:
-    - vmauth.domain.com
-labels: {}
-path: /
-pathType: Prefix
-
- -

vmagent ingress configuration

- - vmauth.spec object diff --git a/charts/victoria-metrics-operator/CHANGELOG.md b/charts/victoria-metrics-operator/CHANGELOG.md index efd77bbb7..1dcd14391 100644 --- a/charts/victoria-metrics-operator/CHANGELOG.md +++ b/charts/victoria-metrics-operator/CHANGELOG.md @@ -4,6 +4,8 @@ - replaced `crd.enabled` property to `crds.plain`. Instead of disabling CRDs it selects if CRDs should be rendered from template or as plain CRDs - Made webhook port configurable. See [this issue](https://github.com/VictoriaMetrics/helm-charts/issues/1506) - Changed crd cleanup hook delete policy to prevent `resource already exists` error. +- Moved crds to a shared chart and import them as a dependency +- replaced `crd.*` properties to `crds.*` as they now belong to a subchart ## 0.34.8 diff --git a/charts/victoria-metrics-operator/Chart.lock b/charts/victoria-metrics-operator/Chart.lock index e1aea9e85..1f06489fd 100644 --- a/charts/victoria-metrics-operator/Chart.lock +++ b/charts/victoria-metrics-operator/Chart.lock @@ -5,5 +5,5 @@ dependencies: - name: crds repository: "" version: 0.0.* -digest: sha256:6d82d9a15a778259efa73e4798f46d461877cea5a8f382b7bf7eb4164fccfc1b -generated: "2024-09-17T00:20:51.436479+03:00" +digest: sha256:098bd3de1f66fbe44675ddcf9a175b91510eaf6610de33113c984af1a6601016 +generated: "2024-09-19T15:20:27.113653+03:00" diff --git a/charts/victoria-metrics-single/README.md b/charts/victoria-metrics-single/README.md index d8075d263..3de905e5e 100644 --- a/charts/victoria-metrics-single/README.md +++ b/charts/victoria-metrics-single/README.md @@ -1885,6 +1885,16 @@ OrderedReady

Deploy order policy for StatefulSet pods

+ + + + server.statefulSet.replicaCount + int +
+1
+
+ +

Replica count for StatefulSet pods

diff --git a/charts/victoria-metrics-single/values.yaml b/charts/victoria-metrics-single/values.yaml index 56bfabef4..61a15a75e 100644 --- a/charts/victoria-metrics-single/values.yaml +++ b/charts/victoria-metrics-single/values.yaml @@ -342,6 +342,8 @@ server: enabled: true # -- Deploy order policy for StatefulSet pods podManagementPolicy: OrderedReady + # -- Replica count for StatefulSet pods + replicaCount: 1 # -- Pod's termination grace period in seconds terminationGracePeriodSeconds: 60 serviceMonitor: