github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/inotify-configmap-pod.yaml (about) 1 # 2 # Copyright (c) 2021 Apple Inc. 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 --- 7 apiVersion: v1 8 kind: Pod 9 metadata: 10 name: inotify-configmap-testing 11 spec: 12 containers: 13 - name: c1 14 image: quay.io/kata-containers/fsnotify:latest 15 command: ["bash"] 16 args: ["-c", "inotifywait --timeout 120 -r /config/ && [[ -L /config/config.toml ]] && echo success" ] 17 resources: 18 requests: 19 cpu: 1 20 memory: 50Mi 21 limits: 22 cpu: 1 23 memory: 1024Mi 24 volumeMounts: 25 - name: config 26 mountPath: /config 27 runtimeClassName: kata 28 restartPolicy: Never 29 volumes: 30 - name: config 31 configMap: 32 name: cm