aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/statefulset.yaml
diff options
context:
space:
mode:
authordemskeq8 <alexander.dehn@highstreet-technologies.com>2021-04-08 14:49:47 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-05-07 05:10:51 +0000
commit27854663cf92a8bda121d76d29d45f39f88bc376 (patch)
tree457e195a3f574ca8cd7f89fc5093ecc68c8f0ad7 /kubernetes/sdnc/templates/statefulset.yaml
parentea66314be24fda8601b1e3933046fc7654d4fe6e (diff)
[SDNC] Support CallHome
Expose netconf callHome port as node port Issue-ID: OOM-2721 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I0b4205755a9e9e66fc23b4e1dc6cabe985bc859e
Diffstat (limited to 'kubernetes/sdnc/templates/statefulset.yaml')
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 152337ee52..8a7259ba0d 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -192,6 +192,9 @@ spec:
- containerPort: {{ .Values.service.internalPort2 }}
- containerPort: {{ .Values.service.internalPort3 }}
- containerPort: {{ .Values.service.clusterPort }}
+ {{- if .Values.config.sdnr.netconfCallHome.enabled }}
+ - containerPort: {{ .Values.service.callHomePort }}
+ {{- end }}
readinessProbe:
tcpSocket:
port: {{ .Values.service.internalPort }}
@@ -305,6 +308,8 @@ spec:
{{- end }}
- name: ENABLE_OAUTH
value: "{{ .Values.config.sdnr.oauth.enabled | default "false" }}"
+ - name: SDNR_NETCONF_CALLHOME_ENABLED
+ value: "{{ .Values.config.sdnr.netconfCallHome.enabled | default "false" }}"
volumeMounts:
{{ include "common.certInitializer.volumeMount" . | indent 10 }}
{{ include "common.certServiceClient.volumeMounts" . | indent 10 }}