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 := . -}} {{- $root := . -}}
{{ range $k, $v := until (atoi .Values.replicas) }} {{ range $k, $v := until (atoi .Values.replicas) }}
--- ---

View File

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