<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --------- Co-authored-by: Igor Ilic <igorilic03@gmail.com>
14 lines
294 B
YAML
14 lines
294 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Release.Name }}-postgres
|
|
labels:
|
|
app: {{ .Release.Name }}-postgres
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: {{ .Values.postgres.port }}
|
|
targetPort: {{ .Values.postgres.port }}
|
|
selector:
|
|
app: {{ .Release.Name }}-postgres
|
|
|