Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[VFC]Refactor environment variables of VFC
[oom.git]
/
kubernetes
/
vfc
/
charts
/
vfc-generic-vnfm-driver
/
templates
/
deployment.yaml
diff --git
a/kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml
b/kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml
index
5e84c86
..
a9c92ef
100644
(file)
--- a/
kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml
+++ b/
kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml
@@
-12,7
+12,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion:
extensions/v1beta
1
+apiVersion:
apps/v
1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@
-23,6
+23,9
@@
metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
replicas: {{ .Values.replicaCount }}
template:
metadata:
@@
-53,12
+56,12
@@
spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
env:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
env:
- - name: MSB_
PROTO
- value: "{{ .Values.global.config.msbprotocol }}"
+ - name: MSB_
HOST
+ value: "{{ .Values.global.config.msbprotocol }}
://{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}
"
- name: SSL_ENABLED
value: "{{ .Values.global.config.ssl_enabled }}"
- name: SSL_ENABLED
value: "{{ .Values.global.config.ssl_enabled }}"
- - name:
MSB_ADDR
- value: "{{ .Values.global.config.
msbServiceName }}:{{ .Values.global.config.msbPo
rt }}"
+ - name:
REG_TO_MSB_WHEN_START
+ value: "{{ .Values.global.config.
reg_to_msb_when_sta
rt }}"
volumeMounts:
- name: {{ include "common.fullname" . }}-localtime
mountPath: /etc/localtime
volumeMounts:
- name: {{ include "common.fullname" . }}-localtime
mountPath: /etc/localtime