fix templating and values

This commit is contained in:
ducoterra
2020-11-27 15:41:15 -05:00
parent 6541f3aebb
commit d0c0b9d983
8 changed files with 9 additions and 26 deletions

View File

@@ -0,0 +1,28 @@
{{ if .Values.glances }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-glances
spec:
selector:
app: {{ .Release.Name }}
ports:
- port: 61208
targetPort: 61208
{{ end }}
---
{{ if .Values.iperf }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-iperf
spec:
selector:
app: {{ .Release.Name }}
ports:
- port: 5201
targetPort: 5201
externalIPs:
- 6.0.22.1
type: LoadBalancer
{{ end }}