apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "common.configmapname.e2adapter" . }}-configuration-configmap
+ name: e2adapter-configuration-configmap
namespace: {{ include "common.namespace.platform" . }}
data:
e2adapter.conf: |
- {{- if hasKey .Values "dummyRanConnection" }}
+ e2adapter = {
+
+ sctp = {
+ };
+
dummyRanConnection = {{ .Values.dummyRanConnection }};
- {{- end }}
- {{- if hasKey .Values "e2SctpPort" }}
- dummyRanConnection = {{ .Values.e2SctpPort }};
- {{- end }}
- {{- if hasKey .Values "e2NodeType" }}
- dummyRanConnection = {{ .Values.e2NodeType }};
- {{- end }}
- {{- if hasKey .Values "enbType" }}
- dummyRanConnection = {{ .Values.enbType }};
- {{- end }}
+ e2SctpPort = {{ .Values.e2SctpPort }};
+ e2NodeType = {{ .Values.e2NodeType }};
+ enbType = {{ .Values.enbType }};
+ };
+
---
labels:
app.kubernetes.io/name: {{ include "e2adapter.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
- containers:
- - name: {{ .Chart.Name }}
- image: "{{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}"
- imagePullPolicy: {{ .Values.image.pullPolicy }}
- - mountPath: /etc/e2adapter/e2adapter.conf
- name: local-configuration-file
- subPath: e2adapter.conf
+ spec:
+ containers:
+ - name: {{ .Chart.Name }}
+ image: "{{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}"
+ imagePullPolicy: {{ .Values.image.pullPolicy }}
+ volumeMounts:
+ - mountPath: /etc/e2adapter/e2adapter.conf
+ name: local-configuration-file
+ subPath: e2adapter.conf
volumes:
- name: local-configuration-file
configMap:
name: e2adapter-configuration-configmap
+
replicaCount: 1
dummyRanConnection: true
-e2SctpPort: 36422
-e2NodeType: 1
-enbType: 3
+e2SctpPort: 32222
+e2NodeType: 3
+enbType: 4
imagePullPolicy: IfNotPresent
image:
name: e2adapter
- tag: 1.0.0
- registry: "snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001"
+ tag: 2.0.8
+ registry: "ranco-dev-tools.eastus.cloudapp.azure.com:10001"
nameOverride: ""
fullnameOverride: ""