|
19 | 19 | - jsonPath: .metadata.creationTimestamp
|
20 | 20 | name: Age
|
21 | 21 | type: date
|
| 22 | + deprecated: true |
22 | 23 | name: v1alpha3
|
23 | 24 | schema:
|
24 | 25 | openAPIV3Schema:
|
@@ -112,6 +113,105 @@ spec:
|
112 | 113 | type: object
|
113 | 114 | type: object
|
114 | 115 | served: true
|
| 116 | + storage: false |
| 117 | + subresources: {} |
| 118 | + - additionalPrinterColumns: |
| 119 | + - jsonPath: .metadata.creationTimestamp |
| 120 | + name: Age |
| 121 | + type: date |
| 122 | + name: v1beta1 |
| 123 | + schema: |
| 124 | + openAPIV3Schema: |
| 125 | + description: ClusterWorkloadResourceMapping is the Schema for the clusterworkloadresourcemappings |
| 126 | + API |
| 127 | + properties: |
| 128 | + apiVersion: |
| 129 | + description: 'APIVersion defines the versioned schema of this representation |
| 130 | + of an object. Servers should convert recognized schemas to the latest |
| 131 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 132 | + type: string |
| 133 | + kind: |
| 134 | + description: 'Kind is a string value representing the REST resource this |
| 135 | + object represents. Servers may infer this from the endpoint the client |
| 136 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 137 | + type: string |
| 138 | + metadata: |
| 139 | + type: object |
| 140 | + spec: |
| 141 | + description: ClusterWorkloadResourceMappingSpec defines the desired state |
| 142 | + of ClusterWorkloadResourceMapping |
| 143 | + properties: |
| 144 | + versions: |
| 145 | + description: Versions is the collection of versions for a given resource, |
| 146 | + with mappings. |
| 147 | + items: |
| 148 | + description: ClusterWorkloadResourceMappingTemplate defines the |
| 149 | + mapping for a specific version of an workload resource to a logical |
| 150 | + PodTemplateSpec-like structure. |
| 151 | + properties: |
| 152 | + annotations: |
| 153 | + description: Annotations is a Restricted JSONPath that references |
| 154 | + the annotations map within the workload resource. These annotations |
| 155 | + must end up in the resulting Pod, and are generally not the |
| 156 | + workload resource's annotations. Defaults to `.spec.template.metadata.annotations`. |
| 157 | + type: string |
| 158 | + containers: |
| 159 | + description: Containers is the collection of mappings to container-like |
| 160 | + fragments of the workload resource. Defaults to mappings appropriate |
| 161 | + for a PodSpecable resource. |
| 162 | + items: |
| 163 | + description: "ClusterWorkloadResourceMappingContainer defines |
| 164 | + the mapping for a specific fragment of an workload resource |
| 165 | + to a Container-like structure. \n Each mapping defines exactly |
| 166 | + one path that may match multiple container-like fragments |
| 167 | + within the workload resource. For each object matching the |
| 168 | + path the name, env and volumeMounts expressions are resolved |
| 169 | + to find those structures." |
| 170 | + properties: |
| 171 | + env: |
| 172 | + description: Env is a Restricted JSONPath that references |
| 173 | + the slice of environment variables for the container |
| 174 | + with the container-like workload resource fragment. |
| 175 | + The referenced location is created if it does not exist. |
| 176 | + Defaults to `.envs`. |
| 177 | + type: string |
| 178 | + name: |
| 179 | + description: Name is a Restricted JSONPath that references |
| 180 | + the name of the container with the container-like workload |
| 181 | + resource fragment. If not defined, container name filtering |
| 182 | + is ignored. |
| 183 | + type: string |
| 184 | + path: |
| 185 | + description: Path is the JSONPath within the workload |
| 186 | + resource that matches an existing fragment that is container-like. |
| 187 | + type: string |
| 188 | + volumeMounts: |
| 189 | + description: VolumeMounts is a Restricted JSONPath that |
| 190 | + references the slice of volume mounts for the container |
| 191 | + with the container-like workload resource fragment. |
| 192 | + The referenced location is created if it does not exist. |
| 193 | + Defaults to `.volumeMounts`. |
| 194 | + type: string |
| 195 | + required: |
| 196 | + - path |
| 197 | + type: object |
| 198 | + type: array |
| 199 | + version: |
| 200 | + description: Version is the version of the workload resource |
| 201 | + that this mapping is for. |
| 202 | + type: string |
| 203 | + volumes: |
| 204 | + description: Volumes is a Restricted JSONPath that references |
| 205 | + the slice of volumes within the workload resource. Defaults |
| 206 | + to `.spec.template.spec.volumes`. |
| 207 | + type: string |
| 208 | + required: |
| 209 | + - version |
| 210 | + type: object |
| 211 | + type: array |
| 212 | + type: object |
| 213 | + type: object |
| 214 | + served: true |
115 | 215 | storage: true
|
116 | 216 | subresources: {}
|
117 | 217 | status:
|
|
0 commit comments