Clarify errors in ProjectedVolume validation

Also clarify API docs.
This commit is contained in:
Tim Hockin
2024-07-07 10:50:17 -07:00
parent 07cc20a750
commit e6bb041445
9 changed files with 22 additions and 20 deletions

View File

@@ -6133,7 +6133,7 @@
"type": "integer"
},
"sources": {
"description": "sources is the list of volume projections",
"description": "sources is the list of volume projections. Each entry in this list handles one source.",
"items": {
"allOf": [
{
@@ -8311,7 +8311,7 @@
"type": "object"
},
"io.k8s.api.core.v1.VolumeProjection": {
"description": "Projection that may be projected along with other supported volume types",
"description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.",
"properties": {
"clusterTrustBundle": {
"allOf": [

View File

@@ -4173,7 +4173,7 @@
"type": "integer"
},
"sources": {
"description": "sources is the list of volume projections",
"description": "sources is the list of volume projections. Each entry in this list handles one source.",
"items": {
"allOf": [
{
@@ -5190,7 +5190,7 @@
"type": "object"
},
"io.k8s.api.core.v1.VolumeProjection": {
"description": "Projection that may be projected along with other supported volume types",
"description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.",
"properties": {
"clusterTrustBundle": {
"allOf": [

View File

@@ -3377,7 +3377,7 @@
"type": "integer"
},
"sources": {
"description": "sources is the list of volume projections",
"description": "sources is the list of volume projections. Each entry in this list handles one source.",
"items": {
"allOf": [
{
@@ -4394,7 +4394,7 @@
"type": "object"
},
"io.k8s.api.core.v1.VolumeProjection": {
"description": "Projection that may be projected along with other supported volume types",
"description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.",
"properties": {
"clusterTrustBundle": {
"allOf": [