Merge pull request 'fix: pstgress>12 now works again with encrypted hetzner volume' () from postgress-with-encrypted-volume into main

Reviewed-on: 
This commit is contained in:
jem 2025-01-09 11:29:03 +00:00
commit 6da684f22e
3 changed files with 4 additions and 2 deletions
project.clj
src/main
cljc/dda/c4k_common/postgres
resources/postgres

View file

@ -1,4 +1,4 @@
(defproject org.domaindrivenarchitecture/c4k-common-clj "8.1.2-SNAPSHOT" (defproject org.domaindrivenarchitecture/c4k-common-clj "9.0.0-SNAPSHOT"
:description "Contains predicates and tools for c4k" :description "Contains predicates and tools for c4k"
:url "https://domaindrivenarchitecture.org" :url "https://domaindrivenarchitecture.org"
:license {:name "Apache License, Version 2.0" :license {:name "Apache License, Version 2.0"

View file

@ -32,7 +32,7 @@
(defn postgres-image? (defn postgres-image?
[input] [input]
(contains? #{"postgres:13" "postgres:14" "postgres:15" "postgres:16"} input)) (contains? #{"postgres:13" "postgres:14" "postgres:15" "postgres:16" "postgres:17"} input))
(s/def ::postgres-db-user cp/bash-env-string?) (s/def ::postgres-db-user cp/bash-env-string?)
(s/def ::postgres-db-password cp/bash-env-string?) (s/def ::postgres-db-password cp/bash-env-string?)
(s/def ::postgres-data-volume-path string?) (s/def ::postgres-data-volume-path string?)

View file

@ -32,6 +32,8 @@ spec:
configMapKeyRef: configMapKeyRef:
name: postgres-config name: postgres-config
key: postgres-db key: postgres-db
- name: PGDATA
value: /var/lib/postgresql/data/db/
ports: ports:
- containerPort: 5432 - containerPort: 5432
name: postgresql name: postgresql