mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-12 18:46:35 +00:00
- 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>
30 lines
704 B
YAML
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
|