mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 14:30:57 +00:00
21 lines
498 B
YAML
21 lines
498 B
YAML
{{- range $index, $svc := $.Values.serviceProfiles }}
|
|
{{- if has $svc.name $.Values.services }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ $svc.name }}
|
|
labels:
|
|
rel: boat-house
|
|
spec:
|
|
type: {{ $svc.svcType }}
|
|
ports:
|
|
- port: {{ $svc.svcPort | default "80" }}
|
|
targetPort: {{ $svc.appPort }}
|
|
{{- if contains "NodePort" $svc.svcType }}
|
|
nodePort: {{ $svc.svcNodePort | default "{}" }}
|
|
{{- end }}
|
|
selector:
|
|
app: {{ $svc.name }}
|
|
{{- end }}
|
|
{{- end }}
|