diff options
author | BorislavG <Borislav.Glozman@amdocs.com> | 2018-04-24 07:56:27 +0000 |
---|---|---|
committer | BorislavG <Borislav.Glozman@amdocs.com> | 2018-04-24 13:23:19 +0000 |
commit | 1ffbd99a2757af8e10d0f6af46177c646364f91b (patch) | |
tree | ceb97b36e0e6ae50349f6495dc585b4ebd61d3f6 /kubernetes/common/mariadb-galera | |
parent | 23a95a751a002163f61cb7eafb4dc84465415daa (diff) |
Make all services independent of helm Release.Name
Issue-ID: OOM-906
Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
Diffstat (limited to 'kubernetes/common/mariadb-galera')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/service.yaml | 6 | ||||
-rw-r--r-- | kubernetes/common/mariadb-galera/values.yaml | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/service.yaml b/kubernetes/common/mariadb-galera/templates/service.yaml index f5f93ed9b6..d17d350b74 100644 --- a/kubernetes/common/mariadb-galera/templates/service.yaml +++ b/kubernetes/common/mariadb-galera/templates/service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" - name: {{ include "common.fullname" . }} + name: {{ include "common.servicename" . }} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.fullname" . }} @@ -12,8 +12,8 @@ metadata: heritage: "{{ .Release.Service }}" spec: ports: - - name: {{ .Values.service.name }} + - name: {{ .Values.service.portName }} port: {{ .Values.service.internalPort }} clusterIP: None selector: - app: {{ include "common.fullname" . }}
\ No newline at end of file + app: {{ include "common.fullname" . }} diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml index f65a8a57e6..bf51443ff9 100644 --- a/kubernetes/common/mariadb-galera/values.yaml +++ b/kubernetes/common/mariadb-galera/values.yaml @@ -70,6 +70,7 @@ persistence: service: internalPort: 3306 name: mariadb-galera + portName: mariadb-galera sstPort: 4444 sstName: sst replicationPort: 4567 @@ -112,4 +113,4 @@ resources: nameOverride: mariadb-galera # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters -#dnsnameOverride: mariadb-galera
\ No newline at end of file +#dnsnameOverride: mariadb-galera |