Skip to content

Commit

Permalink
updated yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOkulski committed Jan 6, 2025
1 parent a26edfd commit 01422fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ spec:
labels:
app: {{ .Release.Name }}-app
spec:
securityContext:
fsGroup: 1007250000
containers:
- name: app
image: "{{ .Values.app.repository }}:{{ .Values.app.tag }}"
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- metadata:
name: data
spec:
accessModes: {{ .Values.postgresql.primary.persistence.accessModes }}
accessModes: {{- toYaml .Values.postgresql.primary.persistence.accessModes | nindent 8 }}
resources:
requests:
storage: {{ .Values.postgresql.primary.persistence.size }}
6 changes: 5 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ resources:

postgresql:
enabled: true
image:
repository: postgres
tag: "13"
username: postgres
password: postgres
database: form_templates
primary:
persistence:
enabled: false
enabled: true
size: 512Mi
accessModes:
- ReadWriteOnce
service:
type: ClusterIP
postgresPort: 5432
appPort: 3000

0 comments on commit 01422fa

Please sign in to comment.