Files
rowanr e71080f42e [stable/pgadmin] upgrade to 4.17 and more (#20211)
* [stable/pgadmin] upgrade to 4.17 and more

4.17:
  with 4.16 and up `USER: pgadmin` got added to the Dockerfile, this
  caused an ACL issue. securityContext and initContainers is added to
  resolve this issue.

other:
  - fixed dynamic PV provisioning
  - livenessProbe
  - readinessProbe
  - added more comments in values.yaml
  - updated README.md with new configuration items
  - chart bump version

Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>

* [stable/pgadmin] adjusted storageclass name

made a mistake with naming the variable different then what is shown in
the values.yml example

Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>

* [stable/pgadmin]

resolved sessions bug by letting the probes go to the correct path

Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>
2020-01-31 10:15:21 -08:00

17 lines
414 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "pgadmin.fullname" . }}
labels:
{{- include "pgadmin.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: {{ include "pgadmin.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}