A1Sim changes to make it more flexible
[it/dep.git] / smo-install / oran_oom / a1simulator / templates / configmapenv.yaml
diff --git a/smo-install/oran_oom/a1simulator/templates/configmapenv.yaml b/smo-install/oran_oom/a1simulator/templates/configmapenv.yaml
new file mode 100644 (file)
index 0000000..742e7ee
--- /dev/null
@@ -0,0 +1,15 @@
+{{- range $i, $a1sim := .Values.a1Sims }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: {{ $a1sim.name }}-configmapenv
+  labels:
+    sim-name: {{ $a1sim.name }}-env
+    release: {{ $.Release.Name }}
+    chart: {{ $.Chart.Name }}
+data:
+  A1_VERSION: {{ $a1sim.a1Version | quote }}
+  ALLOW_HTTP: {{ $a1sim.allowHttp | quote }}
+
+{{- end }}