1 # Copyright © 2021-2022 AT&T Intellectual Property
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 {{- range $i, $du := .Values.dus }}
22 sim-name: {{ $du.name }}
23 release: {{ $.Release.Name }}
24 chart: {{ $.Chart.Name }}
29 sim-name: {{ $du.name }}
33 sim-name: {{ $du.name }}
34 release: {{ $.Release.Name }}
35 chart: {{ $.Chart.Name }}
37 checksum/config: {{ print $du | sha256sum }}
39 hostname: "{{ $du.name }}"
41 - name: {{ $.Chart.Name }}
42 image: "{{ $.Values.image.repository }}/{{ $.Values.image.name}}:{{ $.Values.image.tag }}"
43 imagePullPolicy: {{ $.Values.image.pullPolicy }}
48 name: {{ $du.name }}-configmapenv
50 - name: {{ $du.name }}-config-volume
52 mountPath: /opt/dev/ntsim-ng/config/config.json
53 - name: {{ $du.name }}-config-volume
54 subPath: o-ran-sc-du-hello-world-running.xml
55 mountPath: /opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml
56 - name: {{ $du.name }}-config-volume
57 subPath: o-ran-sc-du-hello-world-operational.xml
58 mountPath: /opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml
65 - name: {{ $du.name }}-config-volume
67 name: {{ $du.name }}-configmap
71 - key: o-ran-sc-du-hello-world-running.xml
72 path: o-ran-sc-du-hello-world-running.xml
73 - key: o-ran-sc-du-hello-world-operational.xml
74 path: o-ran-sc-du-hello-world-operational.xml