-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
select if CRDs should be rendered as plain or as templates
- Loading branch information
1 parent
116fedc
commit 57c9ae5
Showing
8 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
dependencies: | ||
- name: victoria-metrics-common | ||
repository: https://victoriametrics.github.io/helm-charts | ||
version: 0.0.10 | ||
version: 0.0.11 | ||
- name: crds | ||
repository: "" | ||
version: 0.0.* | ||
digest: sha256:86d9756bb19f2d2eb21e119f201b25b6c00f443b0ac2aa6f4d51fb71453d159a | ||
generated: "2024-09-11T09:25:01.502701+03:00" | ||
digest: sha256:69e95492bf4124e524b99335c1bc02dc4b10b96105f3d5362a042d4985aab3cf | ||
generated: "2024-09-12T12:47:05.668035+03:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: victoria-metrics-common | ||
repository: https://victoriametrics.github.io/helm-charts | ||
version: 0.0.11 | ||
digest: sha256:d91f2afa5ae37158f11b1c6601cf8265b08dad62ec4eefd36064b32946e215a6 | ||
generated: "2024-09-12T11:55:35.84919+03:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
charts/crds/crds/crd.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{- /* do not update crds here, please update in /victoria-metrics-operator/crd.yaml */ -}} | ||
{{- /* this is used to add "helm.sh/resource-policy: keep" annotation for each crd */ -}} | ||
{{- /* see this pull request https://github.com/VictoriaMetrics/helm-charts/pull/771 for details */ -}} | ||
{{- if not .Values.crds.plain }} | ||
{{- $files := .Files }} | ||
{{- $crds := $files.Get "crd.yaml" | splitList "---" }} | ||
{{- $labels := (include "vm-operator.labels" .) | fromYaml -}} | ||
{{- $annotations := (include "vm-operator.crds.annotations" .) | fromYaml -}} | ||
{{- $extra := dict "metadata" (dict "annotations" $annotations "labels" $labels) -}} | ||
{{- range $crds }} | ||
{{- $crd := . | fromYaml }} | ||
{{- toYaml (merge $crd $extra) }} | ||
{{- print "\n---\n" }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters