...
1apiVersion: v1
2kind: Namespace
3metadata:
4 name: fim
5 labels:
6 workload.edge.ncr.com: platform
7 annotations:
8 configmanagement.gke.io/cluster-selector: dsds-cluster
9 pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
10 pallet.edge.ncr.com/name: fim
11 pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
12 pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
13 pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
14 pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
15---
16apiVersion: apps/v1
17kind: DaemonSet
18metadata:
19 name: samhain
20 namespace: fim
21 labels:
22 app: samhain
23 platform.edge.ncr.com/component: fim
24 annotations:
25 configmanagement.gke.io/cluster-selector: dsds-cluster
26 pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
27 pallet.edge.ncr.com/name: fim
28 pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
29 pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
30 pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
31 pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
32spec:
33 template:
34 spec:
35 initContainers:
36 - name: init-fim
37 image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/alpine-fim@sha256:97fc44b0293e908a21f031926abd44e19c2a5b2bf90c97c592740625f41be757
38 command: ["/bin/busybox.static", "sh", "/var/samhain/config/init-script.sh"]
39 resources:
40 limits:
41 cpu: "100m"
42 memory: "120Mi"
43 volumeMounts:
44 - name: host-usr
45 readOnly: true
46 mountPath: /usr
47 - name: host-etc
48 readOnly: true
49 mountPath: /etc
50 - name: host-fs
51 readOnly: true
52 mountPath: /host-files
53 - name: db
54 mountPath: /samhain/db/
55 - name: vmlinuz
56 readOnly: true
57 mountPath: /build/image/vmlinuz
58 - name: initrd
59 readOnly: true
60 mountPath: /build/image/initrd
61 - name: ien-version
62 readOnly: true
63 mountPath: /ien-version
64 imagePullPolicy: IfNotPresent
65 containers:
66 - name: alpine-fim
67 image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/alpine-fim@sha256:97fc44b0293e908a21f031926abd44e19c2a5b2bf90c97c592740625f41be757
68 command: ["/bin/busybox.static", "sh", "/var/samhain/config/container-script.sh"]
69 resources:
70 limits:
71 cpu: "100m"
72 memory: "120Mi"
73 volumeMounts:
74 - name: host-usr
75 readOnly: true
76 mountPath: /usr
77 - name: host-etc
78 readOnly: true
79 mountPath: /etc
80 - name: db
81 readOnly: true
82 mountPath: /var/samhain/db/
83 - name: vmlinuz
84 readOnly: true
85 mountPath: /build/image/vmlinuz
86 - name: initrd
87 readOnly: true
88 mountPath: /build/image/initrd
89 - name: ien-version
90 readOnly: true
91 mountPath: /ien-version
92 imagePullPolicy: IfNotPresent
93 volumes:
94 - name: db
95 hostPath:
96 type: DirectoryOrCreate
97 path: /var/samhain/db/
98 - name: host-etc
99 hostPath:
100 type: Directory
101 path: /etc
102 - name: host-fs
103 hostPath:
104 type: Directory
105 path: /
106 - name: host-usr
107 hostPath:
108 type: Directory
109 path: /usr
110 - name: ien-version
111 hostPath:
112 type: File
113 path: /ien-version
114 - name: initrd
115 hostPath:
116 type: File
117 path: /boot/live/initrd
118 - name: vmlinuz
119 hostPath:
120 type: File
121 path: /boot/live/vmlinuz
122 imagePullSecrets:
123 - name: edge-docker-pull-secret
124 metadata:
125 labels:
126 platform.edge.ncr.com/component: fim
127 annotations:
128 configmanagement.gke.io/cluster-selector: dsds-cluster
129 pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
130 pallet.edge.ncr.com/name: fim
131 pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
132 pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
133 pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
134 pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
135 selector:
136 matchLabels:
137 platform.edge.ncr.com/component: fim
View as plain text