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
New version of the common template. It unifies the naming convention between platform...
[it/dep.git]
/
ric-platform
/
50-RIC-Platform
/
helm
/
dbaas
/
templates
/
service.yaml
diff --git
a/ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml
b/ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml
index
c87ddf3
..
d9ef65e
100644
(file)
--- a/
ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml
+++ b/
ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml
@@
-18,7
+18,7
@@
apiVersion: v1
kind: Service
metadata:
apiVersion: v1
kind: Service
metadata:
- name: {{ include "common.servicename.dbaas" . }}
+ name: {{ include "common.servicename.dbaas
.tcp
" . }}
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
@@
-31,4
+31,6
@@
spec:
release: {{ .Release.Name }}
ports:
- port: {{ .Values.dbaas.backend.port }}
release: {{ .Release.Name }}
ports:
- port: {{ .Values.dbaas.backend.port }}
- targetPort: {{ .Values.dbaas.backend.targetPort }}
+ targetPort: "sql"
+ protocol: "TCP"
+ name: "sql"