forked from PalmStoneGames/kube-cert-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
40 lines (40 loc) · 1.59 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: kube-cert-manager
name: kube-cert-manager
spec:
replicas: 1
template:
metadata:
labels:
app: kube-cert-manager
name: kube-cert-manager
spec:
containers:
- name: kube-cert-manager
image: palmstonegames/kube-cert-manager:0.5.0
args:
- "-data-dir=/var/lib/cert-manager"
- "-acme-url=https://acme-staging.api.letsencrypt.org/directory"
# NOTE: the URL above points to the staging server, where you won't get real certs.
# Uncomment the line below to use the production LetsEncrypt server:
#- "-acme-url=https://acme-v01.api.letsencrypt.org/directory"
# You can run multiple instances of kube-cert-manager for the same namespace(s),
# each watching for a different value for the 'class' label
#- "-class=default"
# You can choose to monitor only some namespaces, otherwise all namespaces will be monitored
#- "-namespaces=default,test"
# If you set a default email, you can omit the field/annotation from Certificates/Ingresses
#- "[email protected]"
# If you set a default provider, you can omit the field/annotation from Certificates/Ingresses
#- "-default-provider=googlecloud"
volumeMounts:
- name: data
mountPath: /var/lib/cert-manager
volumes:
- name: "data"
gcePersistentDisk:
pdName: kube-cert-manager
fsType: ext4