2018-03-28 14:30:00 +00:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: cert-manager
|
|
|
|
namespace: {{ cert_manager_namespace }}
|
|
|
|
labels:
|
|
|
|
app: cert-manager
|
2018-07-15 06:22:56 +00:00
|
|
|
chart: cert-manager-v0.4.0
|
2018-03-28 14:30:00 +00:00
|
|
|
release: cert-manager
|
|
|
|
heritage: Tiller
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
2018-06-07 12:16:20 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
k8s-app: cert-manager
|
|
|
|
release: cert-manager
|
2018-03-28 14:30:00 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: cert-manager
|
|
|
|
release: cert-manager
|
|
|
|
annotations:
|
|
|
|
spec:
|
|
|
|
serviceAccountName: cert-manager
|
|
|
|
containers:
|
|
|
|
- name: cert-manager
|
|
|
|
image: {{ cert_manager_controller_image_repo }}:{{ cert_manager_controller_image_tag }}
|
|
|
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
|
|
|
args:
|
|
|
|
- --cluster-resource-namespace=$(POD_NAMESPACE)
|
2018-06-07 12:16:20 +00:00
|
|
|
- --leader-election-namespace=$(POD_NAMESPACE)
|
2018-03-28 14:30:00 +00:00
|
|
|
env:
|
|
|
|
- name: POD_NAMESPACE
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: metadata.namespace
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: {{ cert_manager_cpu_requests }}
|
|
|
|
memory: {{ cert_manager_memory_requests }}
|
|
|
|
limits:
|
|
|
|
cpu: {{ cert_manager_cpu_limits }}
|
|
|
|
memory: {{ cert_manager_memory_limits }}
|