This commit is contained in:
ducoterra
2020-10-14 15:15:48 -04:00
parent f6679ea207
commit 6fb4ac3fca
21 changed files with 270 additions and 349 deletions

View File

@@ -0,0 +1,32 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
namespace: kube-system
spec:
type: LoadBalancer
selector:
app: {{ .Release.Name }}
ports:
- protocol: TCP
port: {{ .Values.config.http_port }}
name: web
targetPort: {{ .Values.config.http_port }}
- protocol: TCP
port: {{ .Values.config.https_port }}
name: websecure
targetPort: {{ .Values.config.https_port }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-admin
namespace: kube-system
spec:
selector:
app: {{ .Release.Name }}
ports:
- protocol: TCP
port: {{ .Values.config.admin_port }}
name: admin
targetPort: {{ .Values.config.admin_port }}