Fix caddy ingress controller
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
(ns k8s.add-ons.ingress-controller.caddy (:require [configs :refer [cfg]]))
|
(ns k8s.add-ons.ingress-controller.caddy (:require [configs :refer [cfg]]))
|
||||||
|
|
||||||
(def config
|
(def config
|
||||||
{:stack [:docker-image :chart]
|
{:stack [:docker-image :vault-secrets :chart]
|
||||||
:app-namespace "caddy-system"
|
:app-namespace "caddy-system"
|
||||||
:app-name "caddy-ingress-controller"
|
:app-name "caddy-ingress-controller"
|
||||||
:image-port 8080
|
:image-port 8080
|
||||||
:vault-load-yaml false
|
:vault-load-yaml false
|
||||||
|
:image-opts {:imageName '(str repo "/" app-name ":latest")}
|
||||||
:chart-opts {:fetchOpts {:repo "https://caddyserver.github.io/ingress"}
|
:chart-opts {:fetchOpts {:repo "https://caddyserver.github.io/ingress"}
|
||||||
:value
|
:values
|
||||||
{:ingressController
|
{:ingressController
|
||||||
{:deployment {:kind "DaemonSet"}
|
{:deployment {:kind "DaemonSet"}
|
||||||
:daemonSet {:useHostPort true}
|
:daemonSet {:useHostPort true}
|
||||||
@@ -15,6 +16,6 @@
|
|||||||
:websecure {:hostPort 443}}
|
:websecure {:hostPort 443}}
|
||||||
:service {:type "NodePort"
|
:service {:type "NodePort"
|
||||||
:externalTrafficPolicy "Local"}
|
:externalTrafficPolicy "Local"}
|
||||||
:image {:repository (-> cfg :docker-repo)
|
:image {:repository 'repo
|
||||||
:tag "latest"}
|
:tag "latest"}
|
||||||
:config {:email (-> cfg :dns-email)}}}}})
|
:config {:email 'email}}}}})
|
||||||
Reference in New Issue
Block a user