fix
This commit is contained in:
@@ -52,6 +52,9 @@ resource "kubectl_manifest" "webmail_deploy" {
|
||||
resources:
|
||||
{}
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /wildduck/views/index.hbs
|
||||
subPath: index.hbs
|
||||
- name: config
|
||||
mountPath: /app/config/webmail.toml
|
||||
subPath: webmail.toml
|
||||
@@ -71,6 +74,19 @@ resource "kubectl_manifest" "webmail_config" {
|
||||
namespace: "${var.namespace}"
|
||||
labels: ${jsonencode(local.webmail-labels)}
|
||||
data:
|
||||
index.hbs: |-
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1><span class="glyphicon glyphicon-inbox" aria-hidden="true"></span> {{serviceName}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
<a class="btn btn-success btn-md" href="/account/login" role="button"><span class="glyphicon glyphicon-log-in" aria-hidden="true"></span> Log in</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
webmail.toml: |-
|
||||
name="Wild Duck Mail"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user