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" . }}
spec:
imagePullSecrets:
- name: {{ include "common.repositoryCred" . }}
- terminationGracePeriodSeconds: {{ .Values.backend.terminationGracePeriodSeconds }}
+ terminationGracePeriodSeconds: {{ .Values.dbaas.backend.terminationGracePeriodSeconds }}
containers:
- - image: {{ include "common.repository" . }}/{{ .Values.backend.image.name }}:{{ .Values.backend.image.tag }}
+ - image: {{ include "common.repository" . }}/{{ .Values.dbaas.backend.image.name }}:{{ .Values.dbaas.backend.image.tag }}
imagePullPolicy: {{ include "common.pullPolicy" . }}
ports:
- - containerPort: {{ .Values.backend.targetPort }}
+ - containerPort: {{ .Values.dbaas.backend.targetPort }}
name: {{ include "common.namespace" . }}-{{ include "common.name" . }}
restartPolicy: Always