-
Notifications
You must be signed in to change notification settings - Fork 67
/
05_deploy-ibm-cloud-managed.yaml
83 lines (83 loc) · 2.39 KB
/
05_deploy-ibm-cloud-managed.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
# *** AUTOMATICALLY GENERATED FILE - DO NOT EDIT ***
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
include.release.openshift.io/hypershift: "true"
include.release.openshift.io/ibm-cloud-managed: "true"
labels:
app: service-ca-operator
name: service-ca-operator
namespace: openshift-service-ca-operator
spec:
replicas: 1
selector:
matchLabels:
app: service-ca-operator
template:
metadata:
annotations:
openshift.io/required-scc: nonroot-v2
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
labels:
app: service-ca-operator
name: service-ca-operator
spec:
containers:
- args:
- --config=/var/run/configmaps/config/operator-config.yaml
- -v=2
command:
- service-ca-operator
- operator
env:
- name: CONTROLLER_IMAGE
value: quay.io/openshift/origin-service-ca-operator:v4.0
- name: OPERATOR_IMAGE_VERSION
value: 0.0.1-snapshot
image: quay.io/openshift/origin-service-ca-operator:v4.0
imagePullPolicy: IfNotPresent
name: service-ca-operator
resources:
requests:
cpu: 10m
memory: 80Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /var/run/configmaps/config
name: config
- mountPath: /var/run/secrets/serving-cert
name: serving-cert
priorityClassName: system-cluster-critical
securityContext:
runAsGroup: 1001
runAsNonRoot: true
runAsUser: 1001
seccompProfile:
type: RuntimeDefault
serviceAccountName: service-ca-operator
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 120
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 120
volumes:
- name: serving-cert
secret:
optional: true
secretName: serving-cert
- configMap:
name: service-ca-operator-config
name: config