Skip to content
Merged
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
4 changes: 2 additions & 2 deletions charts/ocg/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: ocg
description: Open Community Groups
type: application
version: 0.1.0
version: 0.1.1-0
appVersion: 0.1.0
kubeVersion: ">= 1.19.0-0"
keywords:
Expand All @@ -16,6 +16,6 @@ maintainers:
email: [email protected]
dependencies:
- name: postgresql
version: 16.3.2
version: 18.0.15
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
5 changes: 4 additions & 1 deletion charts/ocg/templates/server_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- $serviceType := default "ClusterIP" .Values.server.service.type }}
{{- if eq $serviceType "LoadBalancer" }}
allocateLoadBalancerNodePorts: {{ .Values.server.service.allocateLoadBalancerNodePorts }}
type: {{ .Values.server.service.type }}
{{- end }}
type: {{ $serviceType }}
ports:
{{- toYaml .Values.server.service.ports | nindent 4 }}
selector:
Expand Down
28 changes: 18 additions & 10 deletions charts/ocg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ db:
host: ""
port: 5432
dbname: ocg
user: postgres
password: postgres
user: ocg
password: ocg

# Email configuration
email:
Expand Down Expand Up @@ -151,17 +151,25 @@ server:
replicaCount: 1
resources: {}

# PostgreSQL configuration
# Values for postgresql chart dependency
postgresql:
enabled: true
auth:
username: postgres
password: postgres
database: ocg
password: ocg
username: ocg
global:
security:
allowInsecureImages: true
image:
repository: docker.io/bitnamilegacy/postgresql
tag: 17.2.0-debian-12-r3
postgresqlDataDir: /data/pgdata
repository: artifacthub/postgres
tag: latest
persistence:
mountPath: /data
primary:
persistence:
mountPath: /data
extraVolumes:
- name: run
emptyDir: {}
extraVolumeMounts:
- name: run
mountPath: /var/run/postgresql