From 50177489a6a5d8c70c6075fce85c1c40f9f5eae4 Mon Sep 17 00:00:00 2001 From: Tobias Persson Date: Thu, 7 Mar 2024 15:41:08 +0100 Subject: [PATCH] Configmap shall not be generated (#55) --- manifests/base/configmap.yaml | 8 ++++++++ manifests/base/kustomization.yaml | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 manifests/base/configmap.yaml diff --git a/manifests/base/configmap.yaml b/manifests/base/configmap.yaml new file mode 100644 index 0000000..f367905 --- /dev/null +++ b/manifests/base/configmap.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: etos-suite-runner + labels: + app.kubernetes.io/name: etos-suite-starter +data: + ETR_VERSION: diff --git a/manifests/base/kustomization.yaml b/manifests/base/kustomization.yaml index 7494369..28c9c5d 100644 --- a/manifests/base/kustomization.yaml +++ b/manifests/base/kustomization.yaml @@ -1,10 +1,20 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization + +resources: + - ./configmap.yaml + configMapGenerator: - name: etos-suite-starter literals: - SUITE_RUNNER=registry.nordix.org/eiffel/etos-suite-runner:7c392331 - LOG_LISTENER=registry.nordix.org/eiffel/etos-log-listener:7c392331 - - name: etos-suite-runner - literals: - - ETR_VERSION="3.4.0" + +patches: + - target: + name: etos-suite-runner + kind: ConfigMap + patch: |- + - op: add + path: /data/ETR_VERSION + value: 3.4.0