github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_config_map_volume_source.go (about) 1 /* 2 * Testkube API 3 * 4 * Testkube provides a Kubernetes-native framework for test definition, execution and results 5 * 6 * API version: 1.0.0 7 * Contact: testkube@kubeshop.io 8 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 9 */ 10 package testkube 11 12 // configMap represents a configMap that should populate this volume 13 type ConfigMapVolumeSource struct { 14 DefaultMode *BoxedInteger `json:"defaultMode,omitempty"` 15 // items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. 16 Items []SecretVolumeSourceItems `json:"items,omitempty"` 17 // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? 18 Name string `json:"name,omitempty"` 19 // optional specify whether the ConfigMap or its keys must be defined 20 Optional bool `json:"optional,omitempty"` 21 }