Set correct port and add name
This commit is contained in:
@@ -17,10 +17,11 @@
|
|||||||
{:template
|
{:template
|
||||||
{:spec
|
{:spec
|
||||||
{:containers
|
{:containers
|
||||||
[{:name "nginx"
|
[{:name 'app-name
|
||||||
:image "nginx:alpine"
|
:ports [{:containerPort 80}]
|
||||||
|
:image '(str repo "/nginx:alpine")
|
||||||
:volumeMounts [{:name "config" :mountPath "/usr/share/nginx/html/.well-known/matrix"}]}]
|
:volumeMounts [{:name "config" :mountPath "/usr/share/nginx/html/.well-known/matrix"}]}]
|
||||||
:volumes [{:name "config" :configMap {:name "well-known-json"}}]}}}}
|
:volumes [{:name "config" :configMap {:name "well-known-json"}}]}}}}
|
||||||
|
|
||||||
:k8s:service-opts
|
:k8s:service-opts
|
||||||
{:spec {:ports [{:port 80 :targetPort 80}]}}})
|
{:spec {:ports [{:name 'app-name :port 80 :targetPort 80}]}}})
|
||||||
Reference in New Issue
Block a user