kind: Deployment
metadata:
name: sdnc
- namespace: {{ .Values.NS }}
+ namespace: "{{ .Values.nsPrefix }}-sdnc"
spec:
selector:
matchLabels:
imagePullPolicy: {{ .Values.pullPolicy }}
name: sdnc-controller-container
volumeMounts:
- - mountPath: /opt/openecomp/sdnc/data/properties
- name: sdnc-conf
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
+ - mountPath: /opt/openecomp/sdnc/data/properties/aaiclient.properties
+ name: sdnc-aaiclient-properties
+ - mountPath: /opt/openecomp/sdnc/data/properties/admportal.json
+ name: sdnc-admportal-json
ports:
- containerPort: 8181
readinessProbe:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- - name: sdnc-conf
+ - name: localtime
hostPath:
- path: /dockerdata-nfs/onapdemo/sdnc/conf
+ path: /etc/localtime
+ - name: sdnc-aaiclient-properties
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/aaiclient.properties
+ - name: sdnc-admportal-json
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/admportal.json
imagePullSecrets:
- - name: onap-docker-registry-key
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"