add short names

add publish conditions for services

use official gitea helm chart
This commit is contained in:
ace
2021-01-25 21:04:57 +03:00
parent f1694a4e81
commit 82c5f35eda
26 changed files with 182 additions and 156 deletions

View File

@ -0,0 +1 @@
mail_short_name: "mail"

View File

@ -6,12 +6,12 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: "mail.{{ domain }}-crt"
name: "{{ mail_short_name }}.{{ domain }}-crt"
namespace: "{{ mail_namespace | default(namespace) }}"
spec:
secretName: "mail.{{ domain }}-secret"
secretName: "{{ mail_short_name }}.{{ domain }}-secret"
dnsNames:
- "mail.{{ domain }}"
- "{{ mail_short_name }}.{{ domain }}"
issuerRef:
name: letsencrypt-prod
# We can reference ClusterIssuers by changing the kind here.