mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-11-15 20:44:14 +08:00
15 lines
278 B
YAML
15 lines
278 B
YAML
|
{{ range $i ,$_ := .Values.replica.versions }}
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: service-replica-{{ $i }}
|
||
|
spec:
|
||
|
selector:
|
||
|
app.kubernetes.io/name: adguardhome-replica-{{ $i }}
|
||
|
ports:
|
||
|
- protocol: TCP
|
||
|
port: 3000
|
||
|
targetPort: 3000
|
||
|
---
|
||
|
{{- end }}
|