From 10c97e245587249f6ac4a6f3856dc4b021b2ba65 Mon Sep 17 00:00:00 2001 From: patrick-stephens <6388272+patrick-stephens@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:28:14 +0000 Subject: [PATCH] ci: update Core Operator chart from latest version internally Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- charts/core-crd/Chart.yaml | 4 ++-- charts/core-crd/README.md | 36 -------------------------------- charts/core-instance/Chart.yaml | 4 ++-- charts/core-instance/values.yaml | 4 ++-- charts/core-operator/Chart.yaml | 4 ++-- charts/core-operator/values.yaml | 2 +- 6 files changed, 9 insertions(+), 45 deletions(-) delete mode 100644 charts/core-crd/README.md diff --git a/charts/core-crd/Chart.yaml b/charts/core-crd/Chart.yaml index a042703..a0c00eb 100644 --- a/charts/core-crd/Chart.yaml +++ b/charts/core-crd/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: core-crd description: A Helm chart for Kubernetes type: application -version: 2.14.0 -appVersion: "v2.14.0" +version: 3.0.0 +appVersion: "v3.0.0" maintainers: - name: Calyptia email: hello@calyptia.com diff --git a/charts/core-crd/README.md b/charts/core-crd/README.md deleted file mode 100644 index 4c2be10..0000000 --- a/charts/core-crd/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# First time running the chart - -``` -HELM_EXPERIMENTAL_OCI=1 helm dependency build core-crd/ -``` - -#Convert raw CRD to templates - -``` -git clone https://github.com/calyptia/core-operator -cd core-operator -make manifests -make build-manifests - -cat config/crd | yq 'select(documentIndex == 0)' > ingest_checks.yaml -cat config/crd | yq 'select(documentIndex == 1)' > pipelines.yaml -``` - -Add templates for pipeline CRD - -``` -cat core-crd/templates/pipelines.yaml | yq '.spec.versions.[0].schema.openAPIV3Schema.properties.spec.properties.hotReloadImage.default |= "{{ template \"hotReload.image\" . }}"' > pipelines.yaml && mv pipelines.yaml core-crd/templates/pipelines.yaml -cat core-crd/templates/pipelines.yaml | yq '.spec.versions.[0].schema.openAPIV3Schema.properties.spec.properties.image.default |= "{{ template \"fluentBit.image\" . }}"' > pipelines.yaml && mv pipelines.yaml core-crd/templates/pipelines.yaml -``` - -Add templates for ingest_checks CRD - -``` -cat core-crd/templates/ingest_checks.yaml | yq '.spec.versions.[0].schema.openAPIV3Schema.properties.spec.properties.fluentBitImage.default |= "{{ template \"fluentBit.image\" . }}"' > ingest_checks.yaml && mv ingest_checks.yaml core-crd/templates/ingest_checks.yaml -cat core-crd/templates/ingest_checks.yaml | yq '.spec.versions.[0].schema.openAPIV3Schema.properties.spec.properties.ingestCheckSidecarImage.default |= "{{ template \"ingestCheck.image\" . }}"' > ingest_checks.yaml && mv ingest_checks.yaml core-crd/templates/ingest_checks.yaml -cat core-crd/templates/ingest_checks.yaml | yq '.spec.versions.[0].schema.openAPIV3Schema.properties.spec.properties.cloudAPI.properties.url.default |= "{{ default \"https://cloud-api.calyptia.com\" .Values.cloudUrl }}"' > ingest_checks.yaml && mv ingest_checks.yaml core-crd/templates/ingest_checks.yaml - -``` - - -{{ default "https://cloud-api.calyptia.com" .Values.cloudUrl | quote }} \ No newline at end of file diff --git a/charts/core-instance/Chart.yaml b/charts/core-instance/Chart.yaml index a87870e..f628f8b 100644 --- a/charts/core-instance/Chart.yaml +++ b/charts/core-instance/Chart.yaml @@ -4,8 +4,8 @@ description: Calyptia Core Instance chart home: https://calyptia.com/products/core/ icon: https://storage.googleapis.com/calyptia_public_resources_bucket/logo-darkmode.svg type: application -version: 2.14.0 -appVersion: "v2.14.0" +version: 3.0.0 +appVersion: "v3.0.0" maintainers: - name: Calyptia email: hello@calyptia.com diff --git a/charts/core-instance/values.yaml b/charts/core-instance/values.yaml index 23eda6b..1c449ce 100644 --- a/charts/core-instance/values.yaml +++ b/charts/core-instance/values.yaml @@ -20,12 +20,12 @@ images: fromCloud: registry: ghcr.io repository: calyptia/core-operator/sync-from-cloud - tag: 2.14.0 + tag: 3.0.0 pullSecrets: [] toCloud: registry: ghcr.io repository: calyptia/core-operator/sync-to-cloud - tag: 2.14.0 + tag: 3.0.0 pullSecrets: [] hotReload: registry: ghcr.io diff --git a/charts/core-operator/Chart.yaml b/charts/core-operator/Chart.yaml index 5194de2..e21ffb9 100644 --- a/charts/core-operator/Chart.yaml +++ b/charts/core-operator/Chart.yaml @@ -4,8 +4,8 @@ description: Calyptia Core Operator chart home: https://calyptia.com/products/core/ icon: https://storage.googleapis.com/calyptia_public_resources_bucket/logo-darkmode.svg type: application -version: 2.14.0 -appVersion: "v2.14.0" +version: 3.0.0 +appVersion: "v3.0.0" maintainers: - name: Calyptia email: hello@calyptia.com diff --git a/charts/core-operator/values.yaml b/charts/core-operator/values.yaml index 2f6affd..bf71642 100644 --- a/charts/core-operator/values.yaml +++ b/charts/core-operator/values.yaml @@ -4,7 +4,7 @@ images: operator: registry: ghcr.io repository: calyptia/core-operator - tag: 2.14.0 + tag: 3.0.0 pullSecrets: [] hotReload: registry: ghcr.io