Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/postgresql/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: postgresql
version: 0.8.1
version: 0.9.0
description: Object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
- postgresql
Expand Down
2 changes: 2 additions & 0 deletions stable/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ $ helm install --name my-release -f values.yaml stable/postgresql

> **Tip**: You can use the default [values.yaml](values.yaml)

If you wish to use a custom name for the service. Use the `nameOverride` value.

## Persistence

The [postgres](https://github.com/docker-library/postgres) image stores the PostgreSQL data and configurations at the `/var/lib/postgresql/data/pgdata` path of the container.
Expand Down
5 changes: 3 additions & 2 deletions stable/postgresql/templates/svc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "postgresql.fullname" . }}

name: {{ template "postgresql.name" . }}
labels:
app: {{ template "postgresql.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand All @@ -23,4 +24,4 @@ spec:
{{ toYaml .Values.service.externalIPs | indent 4 }}
{{- end }}
selector:
app: {{ template "postgresql.fullname" . }}
app: {{ template "postgresql.fullname" . }}
11 changes: 11 additions & 0 deletions stable/postgresql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,20 @@ resources:
memory: 256Mi
cpu: 100m


## Configure the service
##
service:
## k8s service type exposing ports, e.g. NodePort| ClusterIP
##
type: ClusterIP

## TCP port to listen on
##
port: 5432

## External IPs to listen on
##
externalIPs: []

networkPolicy:
Expand Down