remove duplicate mariadb service

This commit is contained in:
Alan Meadows 2016-11-30 15:36:54 -08:00
parent e86461b3f1
commit ba70ad65ba
2 changed files with 2 additions and 12 deletions

View File

@ -1,14 +1,3 @@
---
apiVersion: v1
kind: Service
metadata:
name: mariadb
spec:
ports:
- name: db
port: {{ .Values.network.port.mariadb }}
selector:
app: mariadb
{{- $root := . -}}
{{ range $k, $v := until (atoi .Values.replicas) }}
---

View File

@ -4,6 +4,7 @@ metadata:
name: mariadb
spec:
ports:
- port: {{ .Values.network.port.mariadb }}
- name: db
port: {{ .Values.network.port.mariadb }}
selector:
app: mariadb