-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
205 lines (205 loc) · 7.1 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
labels:
app: cert-manager
app.kubernetes.io/component: controller
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/name: cert-manager
app.kubernetes.io/version: v1.16.1
olm.deployment-spec-hash: 7ZdLpNyxmt3X9QF929qRzm5d32eV6eFfJ0GIi8
olm.managed: "true"
olm.owner: cert-manager.v1.16.1
olm.owner.kind: ClusterServiceVersion
olm.owner.namespace: cert-manager
operators.coreos.com/cert-manager.cert-manager: ""
name: cert-manager
namespace: cert-manager
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 1
selector:
matchLabels:
app.kubernetes.io/component: controller
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/name: cert-manager
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
alm-examples: |-
[
{
"apiVersion": "cert-manager.io/v1",
"kind": "Issuer",
"metadata": {
"name": "example-issuer"
},
"spec": {
"selfSigned": {}
}
},
{
"apiVersion": "cert-manager.io/v1",
"kind": "ClusterIssuer",
"metadata": {
"name": "example-clusterissuer"
},
"spec": {
"selfSigned": {}
}
},
{
"apiVersion": "cert-manager.io/v1",
"kind": "Certificate",
"metadata": {
"name": "example-certificate"
},
"spec": {
"dnsNames": [
"example.com"
],
"issuerRef": {
"name": "example-issuer"
},
"secretName": "example-certificate-tls"
}
},
{
"apiVersion": "cert-manager.io/v1",
"kind": "CertificateRequest",
"metadata": {
"name": "example-certificaterequest"
},
"spec": {}
},
{
"apiVersion": "acme.cert-manager.io/v1",
"kind": "Order",
"metadata": {
"name": "example-order"
},
"spec": {}
},
{
"apiVersion": "acme.cert-manager.io/v1",
"kind": "Challenge",
"metadata": {
"name": "example-challenge"
},
"spec": {}
}
]
capabilities: Full Lifecycle
categories: Security
containerImage: quay.io/jetstack/cert-manager-controller:v1.16.1
createdAt: 2024-10-09T14:20:33
olm.operatorGroup: cert-manager
olm.operatorNamespace: cert-manager
olm.skipRange: ">=1.16.0 <1.16.1"
olm.targetNamespaces: ""
operatorframework.io/properties: '{"properties":[{"type":"olm.gvk","value":{"group":"acme.cert-manager.io","kind":"Challenge","version":"v1"}},{"type":"olm.gvk","value":{"group":"acme.cert-manager.io","kind":"Order","version":"v1"}},{"type":"olm.gvk","value":{"group":"cert-manager.io","kind":"Certificate","version":"v1"}},{"type":"olm.gvk","value":{"group":"cert-manager.io","kind":"CertificateRequest","version":"v1"}},{"type":"olm.gvk","value":{"group":"cert-manager.io","kind":"ClusterIssuer","version":"v1"}},{"type":"olm.gvk","value":{"group":"cert-manager.io","kind":"Issuer","version":"v1"}},{"type":"olm.package","value":{"packageName":"cert-manager","version":"1.16.1"}}]}'
operators.operatorframework.io/builder: operator-sdk-v1.33.0
operators.operatorframework.io/internal-objects: |-
[
"challenges.acme.cert-manager.io",
"orders.acme.cert-manager.io"
]
operators.operatorframework.io/project_layout: unknown
prometheus.io/path: /metrics
prometheus.io/port: "9402"
prometheus.io/scrape: "true"
repository: https://github.com/cert-manager/cert-manager
support: The cert-manager maintainers
creationTimestamp: null
labels:
app: cert-manager
app.kubernetes.io/component: controller
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/name: cert-manager
app.kubernetes.io/version: v1.16.1
spec:
dnsPolicy: ClusterFirst
enableServiceLinks: false
nodeSelector:
kubernetes.io/os: linux
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
serviceAccount: cert-manager
serviceAccountName: cert-manager
terminationGracePeriodSeconds: 30
containers:
- args:
- --v=2
- --cluster-resource-namespace=$(POD_NAMESPACE)
- --leader-election-namespace=kube-system
- --acme-http01-solver-image=quay.io/jetstack/cert-manager-acmesolver:v1.16.1
- --max-concurrent-challenges=60
image: quay.io/jetstack/cert-manager-controller:v1.16.1
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 8
httpGet:
path: /livez
port: http-healthz
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15
name: cert-manager-controller
ports:
- containerPort: 9402
name: http-metrics
protocol: TCP
- containerPort: 9403
name: http-healthz
protocol: TCP
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: OPERATOR_CONDITION_NAME
value: cert-manager.v1.16.1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /var/run/secrets/tokens/gcp-ksa/credential-configuration.json
volumeMounts:
- mountPath: /var/run/secrets/tokens/gcp-ksa
name: gcp-ksa
readOnly: true
volumes:
- name: gcp-ksa
projected:
defaultMode: 420
sources:
- serviceAccountToken:
audience: k3s
expirationSeconds: 3600
path: token
- configMap:
items:
- key: credential-configuration.json
path: credential-configuration.json
name: default-creds-config
optional: false