Fix k8s deployment

This commit is contained in:
Régis Behmo 2020-04-25 23:30:32 +02:00
parent 6e3278c44f
commit beee28c539
3 changed files with 2 additions and 20 deletions

View File

@ -1 +1 @@
__version__ = "0.1.6"
__version__ = "0.1.7"

View File

@ -1,18 +0,0 @@
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: {{ NOTES_HOST|replace(".", "-") }}
spec:
secretName: {{ NOTES_HOST }}-tls
issuerRef:
name: letsencrypt
commonName: {{ NOTES_HOST }}
dnsNames:
- {{ NOTES_HOST }}
acme:
config:
- http01:
ingress: web
domains:
- {{ NOTES_HOST }}

View File

@ -1,5 +1,5 @@
---
apiVersion: apps/v1
apiVersion: batch/v1
kind: Job
metadata:
name: notes-job