Skip to content

Conversation

AndrewChubatiuk
Copy link
Collaborator

@AndrewChubatiuk AndrewChubatiuk commented Sep 14, 2025

fixes #2420
fixes #2334

  • replaced .Values.admissionWebhooks.enabledCRDValidation with .Values.admissionWebhooks.disabledFor list of CRDs for which validation webhook should be disabled
  • make CRDs, that are generated with crds.plain: false specless
  • make cleanup job independent from .Values.crds.enabled property value
  • adde upgrade job for plain CRDs (.Values.crds.plain: true)

also related added related PR to operator repo

@github-actions github-actions bot added the operator operator helm chart related issue label Sep 15, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 10 times, most recently from b92c9a2 to f0a1d03 Compare September 16, 2025 06:11
@github-actions github-actions bot added the crds label Sep 16, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 2 times, most recently from 6a474f9 to 9340f3f Compare September 16, 2025 06:43
@github-actions github-actions bot added the k8s-stack k8s-stack helm chart related issue label Sep 16, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 2 times, most recently from d665107 to 6b9bd73 Compare September 16, 2025 07:18
@AndrewChubatiuk AndrewChubatiuk changed the title crds: divide chart templates into subcharts crds: divide chart templates into subcharts, replace CRD templates with CRD upgrade job in operator chart Sep 16, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 2 times, most recently from 1579e1b to 385fa6e Compare September 17, 2025 07:59
requests:
cpu: "100m"
memory: "56Mi"
upgrade:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration also needs to be synchronized and updated in charts/victoria-metrics-k8s-stack/values.yaml victoria-metrics-operator section.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a two step action, first operator chart should be released, otherwise CI fails

@AndrewChubatiuk AndrewChubatiuk force-pushed the master branch 2 times, most recently from bed2069 to 4180549 Compare September 24, 2025 10:50
@fkajerry
Copy link

/lgtm

@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 2 times, most recently from 6bd26ce to 227e5c9 Compare September 27, 2025 07:11
@AndrewChubatiuk AndrewChubatiuk changed the title crds: divide chart templates into subcharts, replace CRD templates with CRD upgrade job in operator chart crds: move crds into subcharts, replace CRD for templates with specless CRD Sep 27, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 7 times, most recently from fab4eb7 to 88b57fe Compare September 27, 2025 08:06
@AndrewChubatiuk AndrewChubatiuk changed the title crds: move crds into subcharts, replace CRD for templates with specless CRD crds: move crds into subcharts, make templated crd in operator chart specless Sep 27, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 3 times, most recently from b1ebcaa to 413535b Compare September 27, 2025 08:52
@AndrewChubatiuk AndrewChubatiuk changed the title crds: move crds into subcharts, make templated crd in operator chart specless crds: move crds into subchart, make templated crd in operator chart specless Sep 27, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch 3 times, most recently from 10de143 to 2f2ae26 Compare September 27, 2025 10:28
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch from 2f2ae26 to 80760fd Compare September 27, 2025 10:31
@AndrewChubatiuk AndrewChubatiuk force-pushed the crds-chart-divide-into-subcharts branch from 80760fd to c4474d7 Compare September 27, 2025 10:32
@AndrewChubatiuk AndrewChubatiuk changed the title crds: move crds into subchart, make templated crd in operator chart specless operator: make templated crds specless Sep 27, 2025
@AndrewChubatiuk AndrewChubatiuk merged commit 0f6a51d into master Sep 27, 2025
11 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the crds-chart-divide-into-subcharts branch September 27, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crds k8s-stack k8s-stack helm chart related issue metrics operator operator helm chart related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(victoria-metrics-operator-crds/0.5.0): Helm upgrade fails: Victoria Metrics Operator CRDs secret exceeds 1MB limit feature: upgrade CRDs by Job
3 participants