use size adjusted pg-setups

This commit is contained in:
jem 2021-09-14 18:24:52 +02:00
parent ca06a80f59
commit ca1a361eb6
5 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ from pybuilder.core import task, init
from ddadevops import *
import logging
name = 'meissa-cloud-backup'
name = 'c4k-cloud-backup'
MODULE = 'docker'
PROJECT_ROOT_PATH = '../..'

View file

@ -3,7 +3,7 @@ from pybuilder.core import task, init
from ddadevops import *
import logging
name = 'meissa-cloud-app'
name = 'c4k-cloud'
MODULE = 'docker'
PROJECT_ROOT_PATH = '../..'
@ -13,7 +13,7 @@ class MyBuild(DevopsDockerBuild):
@init
def initialize(project):
project.build_depends_on('ddadevops>=0.6.1')
project.build_depends_on('ddadevops>=0.12.7')
stage = 'notused'
dockerhub_user = environ.get('DOCKERHUB_USER')
if not dockerhub_user:

View file

@ -5,7 +5,7 @@
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/tools.reader "1.3.4"]
[org.domaindrivenarchitecture/c4k-common-clj "0.2.8"]]
[org.domaindrivenarchitecture/c4k-common-clj "0.3.1"]]
:target-path "target/%s/"
:source-paths ["src/main/cljc"
"src/main/clj"]

View file

@ -4,7 +4,7 @@
"src/test/cljc"
"src/test/cljs"
"src/test/resources"]
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.2.8"]]
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.3.1"]]
:builds {:frontend {:target :browser
:modules {:main {:init-fn dda.c4k-nextcloud.browser/init}}
:release {}

View file

@ -23,7 +23,7 @@
(defn k8s-objects [config]
(into
[]
(concat [(yaml/to-string (postgres/generate-config))
(concat [(yaml/to-string (postgres/generate-config :postgres-size :8gb))
(yaml/to-string (postgres/generate-secret config))]
(when (contains? config :postgres-data-volume-path)
[(yaml/to-string (postgres/generate-persistent-volume config))])