-
Notifications
You must be signed in to change notification settings - Fork 193
/
Copy path0000_00_update-status-controller_03_deployment-DevPreviewNoUpgrade.yaml
52 lines (52 loc) · 1.65 KB
/
0000_00_update-status-controller_03_deployment-DevPreviewNoUpgrade.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: update-status-controller
namespace: openshift-update-status-controller
annotations:
kubernetes.io/description: The update status controller manages OpenShift UpdateStatus API from insights collected from cluster components.
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/feature-set: DevPreviewNoUpgrade
spec:
selector:
matchLabels:
k8s-app: update-status-controller
strategy:
type: Recreate
template:
metadata:
name: update-status-controller
annotations:
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
openshift.io/required-scc: restricted-v2
labels:
k8s-app: update-status-controller
spec:
securityContext:
runAsNonRoot: true
containers:
- name: update-status-controller
image: "{{.ReleaseImage}}"
imagePullPolicy: IfNotPresent
args:
- "update-status-controller"
- -v=5 # High while in DevPreview, lower for GA
securityContext:
capabilities:
drop:
- ALL
allowPrivilegeEscalation: false
resources:
requests:
cpu: 20m
memory: 50Mi
terminationMessagePolicy: FallbackToLogsOnError
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: "openshift-user-critical"
serviceAccountName: update-status-controller
terminationGracePeriodSeconds: 130
tolerations:
- key: "node-role.kubernetes.io/master"
operator: Exists
effect: "NoSchedule"