Files
kata-containers/tests/integration/kubernetes/runtimeclass_workloads/pod-optional-empty-configmap.yaml
Fabiano Fidêncio 5c0269881e tests: Make editorconfig-checker happy
- Trim trailing whitespace and ensure final newline in non-vendor files
- Add .editorconfig-checker.json excluding vendor dirs, *.patch, *.img,
  *.dtb, *.drawio, *.svg, and pkg/cloud-hypervisor/client so CI only
  checks project code
- Leave generated and binary assets unchanged (excluded from checker)

Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 21:58:28 +01:00

30 lines
704 B
YAML

#
# Copyright (c) 2021 IBM Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: v1
kind: Pod
metadata:
name: optional-empty-config-test-pod
spec:
runtimeClassName: kata
containers:
- name: test-container
image: quay.io/prometheus/busybox:latest
command: ["tail", "-f", "/dev/null"]
volumeMounts:
- mountPath: /empty-config
name: empty-config
- mountPath: /optional-missing-config
name: optional-missing-config
volumes:
- name: empty-config
configMap:
name: empty-config
- name: optional-missing-config
configMap:
name: optional-missing-config
optional: true
restartPolicy: Never