Merge pull request 'fix: pstgress>12 now works again with encrypted hetzner volume' (#5) from postgress-with-encrypted-volume into main
Reviewed-on: #5
This commit is contained in:
commit
6da684f22e
3 changed files with 4 additions and 2 deletions
project.clj
src/main
|
@ -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"
|
||||||
|
|
|
@ -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?)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue