add db svc
This commit is contained in:
parent
9476d38a2b
commit
994361aac8
@ -1,5 +1,16 @@
|
||||
{{- range until (.Values.nb_db|int) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: db-{{.}}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 2379
|
||||
selector:
|
||||
db: "{{.}}"
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user