You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
(ns dda.c4k-website.core
|
|
|
|
(:require
|
|
|
|
[dda.c4k-common.yaml :as yaml]
|
|
|
|
[dda.c4k-common.common :as cm]
|
|
|
|
[dda.c4k-website.website :as website]))
|
|
|
|
|
|
|
|
(defn k8s-objects [config]
|
|
|
|
(cm/concat-vec
|
|
|
|
(map yaml/to-string
|
|
|
|
[(website/generate-nginx-deployment config)
|
|
|
|
(website/generate-nginx-configmap config)
|
|
|
|
(website/generate-nginx-service config)
|
|
|
|
(website/generate-website-content-volume config)
|
|
|
|
(website/generate-ingress config)
|
|
|
|
(website/generate-certificate config)
|
|
|
|
(website/generate-website-build-cron config)
|
|
|
|
(website/generate-website-build-secret config)])))
|