Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add one-click deployment scripts and override file examples.
[it/dep.git]
/
ric-platform
/
50-RIC-Platform
/
helm
/
dbaas
/
templates
/
deployment.yaml
diff --git
a/ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml
b/ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml
index
1589b24
..
8d2014f
100644
(file)
--- a/
ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml
+++ b/
ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml
@@
-26,7
+26,7
@@
metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
- replicas: {{ .Values.backend.replicas }}
+ replicas: {{ .Values.
dbaas.
backend.replicas }}
selector:
matchLabels:
app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
selector:
matchLabels:
app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
@@
-39,11
+39,11
@@
spec:
spec:
imagePullSecrets:
- name: {{ include "common.repositoryCred" . }}
spec:
imagePullSecrets:
- name: {{ include "common.repositoryCred" . }}
- terminationGracePeriodSeconds: {{ .Values.backend.terminationGracePeriodSeconds }}
+ terminationGracePeriodSeconds: {{ .Values.
dbaas.
backend.terminationGracePeriodSeconds }}
containers:
containers:
- - image: {{ include "common.repository" . }}/{{ .Values.
backend.image.name }}:{{ .Value
s.backend.image.tag }}
+ - image: {{ include "common.repository" . }}/{{ .Values.
dbaas.backend.image.name }}:{{ .Values.dbaa
s.backend.image.tag }}
imagePullPolicy: {{ include "common.pullPolicy" . }}
ports:
imagePullPolicy: {{ include "common.pullPolicy" . }}
ports:
- - containerPort: {{ .Values.backend.targetPort }}
+ - containerPort: {{ .Values.
dbaas.
backend.targetPort }}
name: {{ include "common.namespace" . }}-{{ include "common.name" . }}
restartPolicy: Always
name: {{ include "common.namespace" . }}-{{ include "common.name" . }}
restartPolicy: Always