1
0

chore(httpd): updated templates

This commit is contained in:
sido
2018-06-22 23:00:54 +02:00
parent c6f4229fdb
commit c97d6d8164
5 changed files with 22 additions and 19 deletions

View File

@@ -1,14 +1,19 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
name: httpd
name: {{ template "httpd.fullname" . }}
labels:
app: {{ template "httpd.name" . }}
chart: {{ template "httpd.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- name: "80"
port: 80
targetPort: 80
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app: nexus
status:
loadBalancer: {}
app: {{ template "httpd.name" . }}
release: {{ .Release.Name }}

View File

@@ -7,11 +7,9 @@ metadata:
app: nexus
spec:
ports:
- name: "8081"
- name: "ui"
port: 8081
targetPort: 8081
- name: "5000"
- name: "docker"
port: 5000
targetPort: 5000
selector:
app: nexus