Compare commits
2 Commits
75b808a24f
...
262468686f
| Author | SHA1 | Date | |
|---|---|---|---|
|
262468686f
|
|||
|
f84c10734d
|
@@ -1,5 +1,6 @@
|
|||||||
(ns k8s.services.foundryvtt.service)
|
(ns k8s.services.foundryvtt.service)
|
||||||
|
|
||||||
|
;; Need to automate license unlock
|
||||||
(def config
|
(def config
|
||||||
{:stack [:vault:prepare :harbor:robot-account :docker:image [:k8s :pvc :deployment :service :httproute]]
|
{:stack [:vault:prepare :harbor:robot-account :docker:image [:k8s :pvc :deployment :service :httproute]]
|
||||||
:image-port 30000
|
:image-port 30000
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
(ns k8s.services.nextcloud.service)
|
(ns k8s.services.nextcloud.service)
|
||||||
|
|
||||||
|
;; Need to automate set-up/restore
|
||||||
(def config
|
(def config
|
||||||
{:stack [:vault-secrets :chart :ingress]
|
{:stack [:vault-secrets :k8s:chart :k8s:httproute]
|
||||||
:app-namespace "nextcloud"
|
:app-namespace "nextcloud"
|
||||||
:app-name "nextcloud"
|
:app-name "nextcloud"
|
||||||
:image-port 8080
|
:image-port 8080
|
||||||
:vault-load-yaml true
|
:vault-load-yaml true
|
||||||
:chart-opts {:repositoryOpts {:repo "https://nextcloud.github.io/helm/"}
|
:k8s:chart-opts {:repositoryOpts {:repo "https://nextcloud.github.io/helm/"}
|
||||||
:values {:nextcloud {:host 'host
|
:values {:nextcloud {:host 'host
|
||||||
:trustedDomains ['host 'app-name]}}
|
:trustedDomains ['host 'app-name]}}
|
||||||
:transformations (fn [args _opts]
|
:transformations (fn [args _opts]
|
||||||
@@ -14,4 +15,6 @@
|
|||||||
(if (some #{kind} ["StatefulSet" "PersistentVolumeClaim" "Ingress"])
|
(if (some #{kind} ["StatefulSet" "PersistentVolumeClaim" "Ingress"])
|
||||||
(update-in args [:resource :metadata :annotations]
|
(update-in args [:resource :metadata :annotations]
|
||||||
#(assoc (or % {}) "pulumi.com/skipAwait" "true"))
|
#(assoc (or % {}) "pulumi.com/skipAwait" "true"))
|
||||||
args)))}})
|
args)))}
|
||||||
|
:k8s:httproute-opts {:spec {::hostnames ['host]}}
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user