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