add db svc
This commit is contained in:
		| @ -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: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user