13 lines
219 B
YAML
13 lines
219 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-db
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
- port: {{ .Values.db.service.port | int }}
|
||
|
targetPort: 5432
|
||
|
selector:
|
||
|
app: {{ .Release.Name }}-db
|
||
|
|