diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-05 16:40:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-05 16:40:44 +0000 |
commit | fd0c86d1817fed1c6e94aed7c2ace4e335d8be02 (patch) | |
tree | a50b55fe904b1a904e19f84142c23b5096141fe9 /kubernetes/sdnc/templates | |
parent | ba34df1fd81ecb39176ac9d7ce84d1183fe34eba (diff) | |
parent | 238450fc479afa0ec5a754d40e18cb09669cc30e (diff) |
Merge "[SDNC] Change sdnc to single startup script solution"
Diffstat (limited to 'kubernetes/sdnc/templates')
-rw-r--r-- | kubernetes/sdnc/templates/statefulset.yaml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml index 137d94fab2..98ad43ed60 100644 --- a/kubernetes/sdnc/templates/statefulset.yaml +++ b/kubernetes/sdnc/templates/statefulset.yaml @@ -159,13 +159,8 @@ spec: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} - {{- if not .Values.config.sdnr.enabled }} command: ["/bin/bash"] args: ["-c", "/opt/onap/sdnc/bin/startODL.sh"] - {{ else }} - command: ["/bin/bash"] - args: ["-c", "{{ .Values.config.binDir }}/startODL.oom.sh"] - {{ end }} ports: - containerPort: {{ .Values.service.internalPort }} - containerPort: {{ .Values.service.internalPort2 }} @@ -235,12 +230,6 @@ spec: - mountPath: /opt/opendaylight/current/etc/org.ops4j.pax.logging.cfg name: sdnc-logging-cfg-config subPath: org.ops4j.pax.logging.cfg - - mountPath: {{ .Values.config.binDir }}/startODL.sh - name: bin - subPath: startODL.sh - - mountPath: {{ .Values.config.binDir }}/startODL.oom.sh - name: bin - subPath: startODL.oom.sh - mountPath: {{ .Values.config.binDir }}/installSdncDb.sh name: bin subPath: installSdncDb.sh |