github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/docs/apidocs/openapi-spec/openapiv2.yaml (about) 1 definitions: 2 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.AccountReference: 3 description: AccountReference is a reference to a user account in another system 4 that is attached to this user 5 properties: 6 id: 7 type: string 8 provider: 9 type: string 10 type: object 11 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.App: 12 description: App is the metadata for an App 13 properties: 14 apiVersion: 15 description: 'APIVersion defines the versioned schema of this representation 16 of an object. Servers should convert recognized schemas to the latest internal 17 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 18 type: string 19 kind: 20 description: 'Kind is a string value representing the REST resource this object 21 represents. Servers may infer this from the endpoint the client submits 22 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 23 type: string 24 metadata: 25 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 26 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 27 spec: 28 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.AppSpec' 29 type: object 30 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.AppList: 31 description: AppList is a structure used by k8s to store lists of apps 32 properties: 33 apiVersion: 34 description: 'APIVersion defines the versioned schema of this representation 35 of an object. Servers should convert recognized schemas to the latest internal 36 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 37 type: string 38 items: 39 items: 40 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.App' 41 type: array 42 kind: 43 description: 'Kind is a string value representing the REST resource this object 44 represents. Servers may infer this from the endpoint the client submits 45 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 46 type: string 47 metadata: 48 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 49 required: 50 - metadata 51 - items 52 type: object 53 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.AppSpec: 54 description: AppSpec provides details of the metadata for an App 55 properties: 56 pipelineExtension: 57 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineExtension' 58 schemaPreprocessor: 59 $ref: '#/definitions/io.k8s.api.core.v1.Container' 60 schemaPreprocessorRole: 61 $ref: '#/definitions/io.k8s.api.rbac.v1.Role' 62 type: object 63 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Approve: 64 description: |- 65 Approve specifies a configuration for a single approve. 66 67 The configuration for the approve plugin is defined as a list of these structures. 68 properties: 69 ignoreReviewState: 70 description: 'IgnoreReviewState causes the approve plugin to ignore the GitHub 71 review state. Otherwise: * an APPROVE github review is equivalent to leaving 72 an "/approve" message. * A REQUEST_CHANGES github review is equivalent to 73 leaving an /approve cancel" message.' 74 type: boolean 75 issueRequired: 76 description: IssueRequired indicates if an associated issue is required for 77 approval in the specified repos. 78 type: boolean 79 lgtmActsAsApprove: 80 description: LgtmActsAsApprove indicates that the lgtm command should be used 81 to indicate approval 82 type: boolean 83 requireSelfApproval: 84 description: RequireSelfApproval requires PR authors to explicitly approve 85 their PRs. Otherwise the plugin assumes the author of the PR approves the 86 changes in the PR. 87 type: boolean 88 type: object 89 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Attachment: 90 properties: 91 name: 92 type: string 93 urls: 94 items: 95 type: string 96 type: array 97 type: object 98 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BatchPipelineActivity: 99 description: BatchPipelineActivity contains information about a batch build, used 100 by both the batch build and its comprising PRs for linking them together 101 properties: 102 batchBranchName: 103 type: string 104 batchBuildNumber: 105 type: string 106 pullRequestInfo: 107 items: 108 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PullRequestInfo' 109 type: array 110 type: object 111 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Binary: 112 description: Binary provies the details of a downloadable binary 113 properties: 114 goarch: 115 type: string 116 goos: 117 type: string 118 url: 119 type: string 120 type: object 121 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BranchProtectionContextPolicy: 122 description: BranchProtectionContextPolicy configures required git provider contexts. 123 Strict determines whether merging to the branch invalidates existing contexts. 124 properties: 125 contexts: 126 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 127 description: Contexts appends required contexts that must be green to merge 128 strict: 129 description: Strict overrides whether new commits in the base branch require 130 updating the PR if set 131 type: boolean 132 type: object 133 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Brancher: 134 description: Brancher is for shared code between jobs that only run against certain 135 branches. An empty brancher runs against all branches. 136 properties: 137 branches: 138 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 139 description: Only run against these branches. Default is all branches. 140 skipBranches: 141 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 142 description: Do not run against these branches. Default is no branches. 143 type: object 144 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BuildPack: 145 description: BuildPack represents a set of language specific build packs and associated 146 quickstarts 147 properties: 148 apiVersion: 149 description: 'APIVersion defines the versioned schema of this representation 150 of an object. Servers should convert recognized schemas to the latest internal 151 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 152 type: string 153 kind: 154 description: 'Kind is a string value representing the REST resource this object 155 represents. Servers may infer this from the endpoint the client submits 156 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 157 type: string 158 metadata: 159 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 160 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 161 spec: 162 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BuildPackSpec' 163 type: object 164 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BuildPackList: 165 description: BuildPackList is a list of TypeMeta resources 166 properties: 167 apiVersion: 168 description: 'APIVersion defines the versioned schema of this representation 169 of an object. Servers should convert recognized schemas to the latest internal 170 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 171 type: string 172 items: 173 items: 174 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BuildPack' 175 type: array 176 kind: 177 description: 'Kind is a string value representing the REST resource this object 178 represents. Servers may infer this from the endpoint the client submits 179 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 180 type: string 181 metadata: 182 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 183 required: 184 - metadata 185 - items 186 type: object 187 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BuildPackSpec: 188 description: BuildPackSpec is the specification of an BuildPack 189 properties: 190 gitRef: 191 type: string 192 gitUrl: 193 type: string 194 label: 195 type: string 196 quickstartLocations: 197 items: 198 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.QuickStartLocation' 199 type: array 200 type: object 201 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ChartRef: 202 properties: 203 name: 204 type: string 205 repo: 206 type: string 207 repoName: 208 type: string 209 type: object 210 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatus: 211 description: CommitStatus represents the commit statuses for a particular pull 212 request 213 properties: 214 apiVersion: 215 description: 'APIVersion defines the versioned schema of this representation 216 of an object. Servers should convert recognized schemas to the latest internal 217 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 218 type: string 219 kind: 220 description: 'Kind is a string value representing the REST resource this object 221 represents. Servers may infer this from the endpoint the client submits 222 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 223 type: string 224 metadata: 225 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 226 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 227 spec: 228 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusSpec' 229 type: object 230 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusCommitReference: 231 properties: 232 gitUrl: 233 type: string 234 pullRequest: 235 type: string 236 sha: 237 type: string 238 type: object 239 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusDetails: 240 properties: 241 Items: 242 items: 243 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusItem' 244 type: array 245 checked: 246 type: boolean 247 commit: 248 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusCommitReference' 249 context: 250 type: string 251 pipelineActivity: 252 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference' 253 required: 254 - pipelineActivity 255 - checked 256 - commit 257 - context 258 type: object 259 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusItem: 260 properties: 261 description: 262 type: string 263 name: 264 type: string 265 pass: 266 type: boolean 267 required: 268 - pass 269 type: object 270 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusList: 271 description: CommitStatusList is a structure used by k8s to store lists of commit 272 statuses 273 properties: 274 Items: 275 items: 276 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatus' 277 type: array 278 apiVersion: 279 description: 'APIVersion defines the versioned schema of this representation 280 of an object. Servers should convert recognized schemas to the latest internal 281 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 282 type: string 283 kind: 284 description: 'Kind is a string value representing the REST resource this object 285 represents. Servers may infer this from the endpoint the client submits 286 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 287 type: string 288 metadata: 289 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 290 required: 291 - metadata 292 - Items 293 type: object 294 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusSpec: 295 description: CommitStatusSpec provides details of a particular commit status 296 properties: 297 items: 298 items: 299 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitStatusDetails' 300 type: array 301 required: 302 - items 303 type: object 304 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitSummary: 305 description: CommitSummary is the summary of a commit 306 properties: 307 author: 308 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 309 branch: 310 type: string 311 committer: 312 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 313 issueIds: 314 items: 315 type: string 316 type: array 317 message: 318 type: string 319 sha: 320 type: string 321 url: 322 type: string 323 type: object 324 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ConfigMapSpec: 325 description: ConfigMapSpec contains configuration options for the configMap being 326 updated by the config-updater plugin. 327 properties: 328 additional_namespaces: 329 description: Namespaces in which the configMap needs to be deployed, in addition 330 to the above namespace provided, or the default if it is not set. 331 items: 332 type: string 333 type: array 334 key: 335 description: Key is the key in the ConfigMap to update with the file contents. 336 If no explicit key is given, the basename of the file will be used. 337 type: string 338 name: 339 description: Name of ConfigMap 340 type: string 341 namespace: 342 description: Namespace in which the configMap needs to be deployed. If no 343 namespace is specified it will be deployed to the ProwJobNamespace. 344 type: string 345 required: 346 - name 347 type: object 348 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ConfigUpdater: 349 description: ConfigUpdater holds configuration for the config updater plugin 350 properties: 351 ConfigMap: 352 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ConfigMapSpec' 353 configFile: 354 type: string 355 map: 356 additionalProperties: 357 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ConfigMapSpec' 358 type: object 359 pluginFile: 360 type: string 361 type: object 362 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ContextPolicy: 363 description: ContextPolicy configures options about how to handle various contexts. 364 properties: 365 fromBranchProtection: 366 description: Infer required and optional jobs from Branch Protection configuration 367 type: boolean 368 optionalContexts: 369 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 370 requiredContexts: 371 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 372 requiredIfPresentContexts: 373 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 374 skipUnknownContexts: 375 description: whether to consider unknown contexts optional (skip) or required. 376 type: boolean 377 type: object 378 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CoreActivityStep: 379 description: CoreActivityStep is a base step included in Stages of a pipeline 380 or other kinds of step 381 properties: 382 completedTimestamp: 383 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 384 description: 385 type: string 386 name: 387 type: string 388 startedTimestamp: 389 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 390 status: 391 type: string 392 type: object 393 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.DependencyUpdate: 394 description: DependencyUpdate describes an dependency update message from the 395 commit log 396 properties: 397 component: 398 type: string 399 fromReleaseHTMLURL: 400 type: string 401 fromReleaseName: 402 type: string 403 fromVersion: 404 type: string 405 host: 406 type: string 407 owner: 408 type: string 409 paths: 410 items: 411 items: 412 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.DependencyUpdateDetails' 413 type: array 414 type: array 415 repo: 416 type: string 417 toReleaseHTMLURL: 418 type: string 419 toReleaseName: 420 type: string 421 toVersion: 422 type: string 423 url: 424 type: string 425 required: 426 - host 427 - owner 428 - repo 429 - url 430 - fromVersion 431 - fromReleaseHTMLURL 432 - fromReleaseName 433 - toVersion 434 - toReleaseHTMLURL 435 - toReleaseName 436 type: object 437 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.DependencyUpdateDetails: 438 description: DependencyUpdateDetails are the details of a dependency update 439 properties: 440 component: 441 type: string 442 fromReleaseHTMLURL: 443 type: string 444 fromReleaseName: 445 type: string 446 fromVersion: 447 type: string 448 host: 449 type: string 450 owner: 451 type: string 452 repo: 453 type: string 454 toReleaseHTMLURL: 455 type: string 456 toReleaseName: 457 type: string 458 toVersion: 459 type: string 460 url: 461 type: string 462 required: 463 - host 464 - owner 465 - repo 466 - url 467 - fromVersion 468 - fromReleaseHTMLURL 469 - fromReleaseName 470 - toVersion 471 - toReleaseHTMLURL 472 - toReleaseName 473 type: object 474 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.DeployOptions: 475 description: DeployOptions configures options for how to deploy applications by 476 default such as using progressive delivery or using horizontal pod autoscaler 477 properties: 478 canary: 479 description: Canary should we enable canary rollouts (progressive delivery) 480 for apps by default 481 type: boolean 482 hpa: 483 description: should we use the horizontal pod autoscaler on new apps by default? 484 type: boolean 485 type: object 486 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Environment: 487 description: Environment represents an environment like Dev, Test, Staging, Production 488 where code lives 489 properties: 490 apiVersion: 491 description: 'APIVersion defines the versioned schema of this representation 492 of an object. Servers should convert recognized schemas to the latest internal 493 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 494 type: string 495 kind: 496 description: 'Kind is a string value representing the REST resource this object 497 represents. Servers may infer this from the endpoint the client submits 498 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 499 type: string 500 metadata: 501 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 502 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 503 spec: 504 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentSpec' 505 status: 506 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentStatus' 507 type: object 508 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentFilter: 509 description: EnvironmentFilter specifies the environments to apply the role binding 510 to 511 properties: 512 excludes: 513 items: 514 type: string 515 type: array 516 includes: 517 items: 518 type: string 519 type: array 520 kind: 521 type: string 522 type: object 523 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentList: 524 description: EnvironmentList is a list of TypeMeta resources 525 properties: 526 apiVersion: 527 description: 'APIVersion defines the versioned schema of this representation 528 of an object. Servers should convert recognized schemas to the latest internal 529 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 530 type: string 531 items: 532 items: 533 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Environment' 534 type: array 535 kind: 536 description: 'Kind is a string value representing the REST resource this object 537 represents. Servers may infer this from the endpoint the client submits 538 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 539 type: string 540 metadata: 541 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 542 required: 543 - metadata 544 - items 545 type: object 546 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRepository: 547 description: EnvironmentRepository is the repository for an environment using 548 GitOps 549 properties: 550 kind: 551 type: string 552 ref: 553 type: string 554 url: 555 type: string 556 type: object 557 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBinding: 558 description: |- 559 EnvironmentRoleBinding is like a vanilla RoleBinding but applies to a set of Namespaces based on an Environment filter so that roles can be bound to multiple namespaces easily. 560 561 For example to specify the binding of roles on all Preview environments or on all permanent environments. 562 properties: 563 apiVersion: 564 description: 'APIVersion defines the versioned schema of this representation 565 of an object. Servers should convert recognized schemas to the latest internal 566 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 567 type: string 568 kind: 569 description: 'Kind is a string value representing the REST resource this object 570 represents. Servers may infer this from the endpoint the client submits 571 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 572 type: string 573 metadata: 574 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 575 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 576 spec: 577 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBindingSpec' 578 status: 579 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBindingStatus' 580 type: object 581 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBindingList: 582 description: EnvironmentRoleBindingList is a list of TypeMeta resources 583 properties: 584 apiVersion: 585 description: 'APIVersion defines the versioned schema of this representation 586 of an object. Servers should convert recognized schemas to the latest internal 587 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 588 type: string 589 items: 590 items: 591 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBinding' 592 type: array 593 kind: 594 description: 'Kind is a string value representing the REST resource this object 595 represents. Servers may infer this from the endpoint the client submits 596 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 597 type: string 598 metadata: 599 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 600 required: 601 - metadata 602 - items 603 type: object 604 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBindingSpec: 605 description: EnvironmentRoleBindingSpec is the specification of an EnvironmentRoleBinding 606 properties: 607 environments: 608 description: specifies which sets of environments this binding applies to 609 items: 610 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentFilter' 611 type: array 612 roleRef: 613 $ref: '#/definitions/io.k8s.api.rbac.v1.RoleRef' 614 description: RoleRef can reference a Role in the current namespace or a ClusterRole 615 in the global namespace. If the RoleRef cannot be resolved, the Authorizer 616 must return an error. 617 subjects: 618 description: Subjects holds references to the objects the role applies to. 619 items: 620 $ref: '#/definitions/io.k8s.api.rbac.v1.Subject' 621 type: array 622 required: 623 - subjects 624 - roleRef 625 type: object 626 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRoleBindingStatus: 627 description: EnvironmentRoleBindingStatus is the status for an EnvironmentRoleBinding 628 resource 629 properties: 630 version: 631 type: string 632 type: object 633 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentSpec: 634 description: EnvironmentSpec is the specification of an Environment 635 properties: 636 cluster: 637 type: string 638 kind: 639 type: string 640 label: 641 type: string 642 namespace: 643 type: string 644 order: 645 format: int32 646 type: integer 647 previewGitInfo: 648 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PreviewGitSpec' 649 promotionStrategy: 650 type: string 651 pullRequestURL: 652 type: string 653 remoteCluster: 654 description: RemoteCluster flag indicates if the Environment is deployed in 655 a separate cluster to the Development Environment 656 type: boolean 657 source: 658 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentRepository' 659 teamSettings: 660 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamSettings' 661 webHookEngine: 662 type: string 663 type: object 664 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentStatus: 665 description: EnvironmentStatus is the status for an Environment resource 666 properties: 667 version: 668 type: string 669 type: object 670 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentVariable: 671 properties: 672 name: 673 type: string 674 value: 675 type: string 676 type: object 677 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Extension: 678 description: Extension represents an extension available to this Jenkins X install 679 properties: 680 apiVersion: 681 description: 'APIVersion defines the versioned schema of this representation 682 of an object. Servers should convert recognized schemas to the latest internal 683 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 684 type: string 685 kind: 686 description: 'Kind is a string value representing the REST resource this object 687 represents. Servers may infer this from the endpoint the client submits 688 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 689 type: string 690 metadata: 691 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 692 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 693 spec: 694 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionSpec' 695 type: object 696 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionConfig: 697 description: ExtensionConfig is the configuration and enablement for an extension 698 inside an app 699 properties: 700 name: 701 type: string 702 namespace: 703 type: string 704 parameters: 705 items: 706 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionParameterValue' 707 type: array 708 required: 709 - name 710 - namespace 711 - parameters 712 type: object 713 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionConfigList: 714 description: ExtensionsConfigList contains a list of ExtensionConfig items 715 properties: 716 extensions: 717 items: 718 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionConfig' 719 type: array 720 required: 721 - extensions 722 type: object 723 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinition: 724 description: ExtensionDefinition defines an Extension 725 properties: 726 children: 727 items: 728 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinitionChildReference' 729 type: array 730 description: 731 type: string 732 given: 733 type: string 734 name: 735 type: string 736 namespace: 737 type: string 738 parameters: 739 items: 740 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionParameter' 741 type: array 742 scriptFile: 743 type: string 744 uuid: 745 type: string 746 when: 747 items: 748 type: string 749 type: array 750 required: 751 - name 752 - namespace 753 - uuid 754 type: object 755 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinitionChildReference: 756 description: ExtensionDefinitionChildReference provides a reference to a child 757 properties: 758 name: 759 type: string 760 namespace: 761 type: string 762 remote: 763 type: string 764 tag: 765 type: string 766 uuid: 767 type: string 768 type: object 769 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinitionList: 770 description: ExtensionDefinitionList contains a list of ExtensionDefinition items 771 properties: 772 extensions: 773 items: 774 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinition' 775 type: array 776 version: 777 type: string 778 required: 779 - extensions 780 type: object 781 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinitionReference: 782 description: ExtensionRepositoryReference references a GitHub repo that contains 783 extension definitions 784 properties: 785 remote: 786 type: string 787 tag: 788 type: string 789 required: 790 - remote 791 - tag 792 type: object 793 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinitionReferenceList: 794 description: ExtensionDefinitionReferenceList contains a list of ExtensionRepository 795 items 796 properties: 797 remotes: 798 items: 799 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionDefinitionReference' 800 type: array 801 required: 802 - remotes 803 type: object 804 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionExecution: 805 description: ExtensionExecution is an executable instance of an extension which 806 can be attached into a pipeline for later execution. It differs from an Extension 807 as it cannot have children and parameters have been resolved to environment 808 variables 809 properties: 810 description: 811 type: string 812 environmentVariables: 813 items: 814 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.EnvironmentVariable' 815 type: array 816 given: 817 type: string 818 name: 819 type: string 820 namespace: 821 type: string 822 script: 823 type: string 824 uuid: 825 type: string 826 type: object 827 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionList: 828 description: ExtensionList is a list of Extensions available for a team 829 properties: 830 apiVersion: 831 description: 'APIVersion defines the versioned schema of this representation 832 of an object. Servers should convert recognized schemas to the latest internal 833 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 834 type: string 835 items: 836 items: 837 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Extension' 838 type: array 839 kind: 840 description: 'Kind is a string value representing the REST resource this object 841 represents. Servers may infer this from the endpoint the client submits 842 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 843 type: string 844 metadata: 845 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 846 required: 847 - metadata 848 - items 849 type: object 850 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionParameter: 851 description: ExtensionParameter describes a parameter definition for an extension 852 properties: 853 defaultValue: 854 type: string 855 description: 856 type: string 857 environmentVariableName: 858 type: string 859 name: 860 type: string 861 type: object 862 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionParameterValue: 863 properties: 864 name: 865 type: string 866 value: 867 type: string 868 required: 869 - name 870 - value 871 type: object 872 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionRepositoryReference: 873 properties: 874 chart: 875 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ChartRef' 876 github: 877 type: string 878 url: 879 type: string 880 type: object 881 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionRepositoryReferenceList: 882 properties: 883 repositories: 884 items: 885 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionRepositoryReference' 886 type: array 887 type: object 888 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionSpec: 889 description: ExtensionSpec provides details of an extension available for a team 890 properties: 891 children: 892 items: 893 type: string 894 type: array 895 description: 896 type: string 897 given: 898 type: string 899 name: 900 type: string 901 namespace: 902 type: string 903 parameters: 904 items: 905 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionParameter' 906 type: array 907 script: 908 type: string 909 uuid: 910 type: string 911 version: 912 type: string 913 when: 914 items: 915 type: string 916 type: array 917 type: object 918 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExternalPlugin: 919 description: ExternalPlugin holds configuration for registering an external plugin. 920 properties: 921 endpoint: 922 description: Endpoint is the location of the external plugin. Defaults to 923 the name of the plugin, ie. "http://{{name}}". 924 type: string 925 events: 926 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 927 description: ReplaceableSliceOfStrings are the events that need to be demuxed 928 by the hook server to the external plugin. If no events are specified, everything 929 is sent. 930 name: 931 description: Name of the plugin. 932 type: string 933 required: 934 - name 935 type: object 936 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Fact: 937 description: |- 938 Fact represents observed facts. Apps will generate Facts about the system. A naming schema is required since each Fact has a name that's unique for the whole system. Apps should prefix their generated Facts with the name of the App, like <app-name>-<fact>. This makes that different Apps can't possibly have conflicting Fact names. 939 940 For an app generating facts on a pipeline, which will be have several different executions, we recommend <app>-<fact>-<pipeline>. 941 properties: 942 apiVersion: 943 description: 'APIVersion defines the versioned schema of this representation 944 of an object. Servers should convert recognized schemas to the latest internal 945 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 946 type: string 947 kind: 948 description: 'Kind is a string value representing the REST resource this object 949 represents. Servers may infer this from the endpoint the client submits 950 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 951 type: string 952 metadata: 953 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 954 description: |- 955 The Fact labels will be used to query the API for interesting Facts. The Apps responsible for creating Facts need to add the relevant labels. For example, creating Facts on a pipeline would create Facts with the following labels { 956 subjectkind: PipelineActivity 957 pipelineName: my-org-my-app-master-23 958 org: my-org 959 repo: my-app 960 branch: master 961 buildNumber: 23 962 } 963 spec: 964 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.FactSpec' 965 status: 966 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.FactStatus' 967 type: object 968 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.FactList: 969 description: FactList is a list of Fact resources 970 properties: 971 apiVersion: 972 description: 'APIVersion defines the versioned schema of this representation 973 of an object. Servers should convert recognized schemas to the latest internal 974 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 975 type: string 976 items: 977 items: 978 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Fact' 979 type: array 980 kind: 981 description: 'Kind is a string value representing the REST resource this object 982 represents. Servers may infer this from the endpoint the client submits 983 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 984 type: string 985 metadata: 986 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 987 required: 988 - metadata 989 - items 990 type: object 991 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.FactSpec: 992 description: FactSpec is the specification of a Fact 993 properties: 994 factType: 995 type: string 996 measurements: 997 items: 998 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Measurement' 999 type: array 1000 name: 1001 type: string 1002 original: 1003 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Original' 1004 statements: 1005 items: 1006 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Statement' 1007 type: array 1008 subject: 1009 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference' 1010 tags: 1011 items: 1012 type: string 1013 type: array 1014 required: 1015 - name 1016 - factType 1017 - subject 1018 type: object 1019 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.FactStatus: 1020 description: FactStatus is the status for an Fact resource 1021 properties: 1022 version: 1023 type: string 1024 type: object 1025 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitService: 1026 description: GitService represents a git provider so we can map the host name 1027 to a kinda of git service 1028 properties: 1029 apiVersion: 1030 description: 'APIVersion defines the versioned schema of this representation 1031 of an object. Servers should convert recognized schemas to the latest internal 1032 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1033 type: string 1034 kind: 1035 description: 'Kind is a string value representing the REST resource this object 1036 represents. Servers may infer this from the endpoint the client submits 1037 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1038 type: string 1039 metadata: 1040 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 1041 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 1042 spec: 1043 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitServiceSpec' 1044 type: object 1045 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitServiceList: 1046 description: GitServiceList is a list of GitService resources 1047 properties: 1048 apiVersion: 1049 description: 'APIVersion defines the versioned schema of this representation 1050 of an object. Servers should convert recognized schemas to the latest internal 1051 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1052 type: string 1053 items: 1054 items: 1055 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitService' 1056 type: array 1057 kind: 1058 description: 'Kind is a string value representing the REST resource this object 1059 represents. Servers may infer this from the endpoint the client submits 1060 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1061 type: string 1062 metadata: 1063 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 1064 required: 1065 - metadata 1066 - items 1067 type: object 1068 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitServiceSpec: 1069 description: GitServiceSpec is the specification of an GitService 1070 properties: 1071 gitKind: 1072 type: string 1073 name: 1074 type: string 1075 url: 1076 type: string 1077 type: object 1078 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitStatus: 1079 description: GitStatus the status of a git commit in terms of CI/CD 1080 properties: 1081 status: 1082 type: string 1083 url: 1084 type: string 1085 type: object 1086 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GlobalProtectionPolicy: 1087 description: GlobalProtectionPolicy defines the default branch protection policy 1088 for the scheduler 1089 properties: 1090 ProtectionPolicy: 1091 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ProtectionPolicy' 1092 protectTested: 1093 type: boolean 1094 type: object 1095 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.IssueLabel: 1096 properties: 1097 color: 1098 type: string 1099 name: 1100 type: string 1101 url: 1102 type: string 1103 type: object 1104 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.IssueSummary: 1105 description: IssueSummary is the summary of an issue 1106 properties: 1107 assignees: 1108 items: 1109 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 1110 type: array 1111 body: 1112 type: string 1113 closedBy: 1114 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 1115 creationTimestamp: 1116 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1117 id: 1118 type: string 1119 labels: 1120 items: 1121 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.IssueLabel' 1122 type: array 1123 message: 1124 type: string 1125 state: 1126 type: string 1127 title: 1128 type: string 1129 url: 1130 type: string 1131 user: 1132 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 1133 type: object 1134 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.JobBase: 1135 description: JobBase contains attributes common to all job types 1136 properties: 1137 agent: 1138 description: Agent that will take care of running this job. 1139 type: string 1140 cluster: 1141 description: 'Cluster is the alias of the cluster to run this job in. (Default: 1142 kube.DefaultClusterAlias)' 1143 type: string 1144 labels: 1145 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableMapOfStringString' 1146 description: ReplaceableMapOfStringString are added to jobs and pods created 1147 for this job. 1148 maxConcurrency: 1149 description: MaximumConcurrency of this job, 0 implies no limit. 1150 format: int32 1151 type: integer 1152 name: 1153 description: The name of the job. Must match regex [A-Za-z0-9-._]+ e.g. pull-test-infra-bazel-build 1154 type: string 1155 namespace: 1156 description: |- 1157 Namespace is the namespace in which pods schedule. 1158 empty: results in scheduler.DefaultNamespace 1159 type: string 1160 spec: 1161 $ref: '#/definitions/io.k8s.api.core.v1.PodSpec' 1162 description: Spec is the Kubernetes pod spec used if Agent is kubernetes. 1163 required: 1164 - name 1165 - agent 1166 type: object 1167 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Lgtm: 1168 description: Lgtm specifies a configuration for a single lgtm. The configuration 1169 for the lgtm plugin is defined as a list of these structures. 1170 properties: 1171 reviewActsAsLgtm: 1172 description: ReviewActsAsLgtm indicates that a Github review of "approve" 1173 or "request changes" acts as adding or removing the lgtm label 1174 type: boolean 1175 storeTreeHash: 1176 description: StoreTreeHash indicates if tree_hash should be stored inside 1177 a comment to detect squashed commits before removing lgtm labels 1178 type: boolean 1179 trustedTeamForStickyLgtm: 1180 description: |- 1181 WARNING: This disables the security mechanism that prevents a malicious member (or compromised GitHub account) from merging arbitrary code. Use with caution. 1182 1183 StickyLgtmTeam specifies the Github team whose members are trusted with sticky LGTM, which eliminates the need to re-lgtm minor fixes/updates. 1184 type: string 1185 type: object 1186 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Measurement: 1187 description: Measurement is a percentage or a count, something measured that the 1188 system will capture within a fact 1189 properties: 1190 measurementType: 1191 type: string 1192 measurementValue: 1193 format: int32 1194 type: integer 1195 name: 1196 type: string 1197 tags: 1198 items: 1199 type: string 1200 type: array 1201 required: 1202 - name 1203 - measurementType 1204 - measurementValue 1205 type: object 1206 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Merger: 1207 description: Merger defines the options used to merge the PR 1208 properties: 1209 blockerLabel: 1210 description: BlockerLabel is an optional label that is used to identify merge 1211 blocking Git Provider issues. Leave this blank to disable this feature and 1212 save 1 API token per sync loop. 1213 type: string 1214 maxGoroutines: 1215 description: MaxGoroutines is the maximum number of goroutines spawned inside 1216 the controller to handle org/repo:branch pools. Defaults to 20. Needs to 1217 be a positive number. 1218 format: int32 1219 type: integer 1220 mergeMethod: 1221 description: Override the default method of merge. Valid options are squash, 1222 rebase, and merge. 1223 type: string 1224 policy: 1225 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ContextPolicy' 1226 description: ContextOptions defines the default merge options. If not set 1227 it will infer the required and optional contexts from the jobs configured 1228 and use the Git Provider combined status; otherwise it may apply the branch 1229 protection setting or let user define their own options in case branch protection 1230 is not used. 1231 prStatusBaseUrl: 1232 description: PRStatusBaseURL is the base URL for the PR status page. This 1233 is used to link to a merge requirements overview in the status context. 1234 type: string 1235 squashLabel: 1236 description: SquashLabel is an optional label that is used to identify PRs 1237 that should always be squash merged. Leave this blank to disable this feature. 1238 type: string 1239 targetUrl: 1240 description: URL for status contexts. 1241 type: string 1242 type: object 1243 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Original: 1244 description: Original contains the report 1245 properties: 1246 mimetype: 1247 type: string 1248 tags: 1249 items: 1250 type: string 1251 type: array 1252 url: 1253 type: string 1254 type: object 1255 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Periodic: 1256 description: Periodic defines a job to be run periodically 1257 properties: 1258 JobBase: 1259 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.JobBase' 1260 cron: 1261 description: Cron representation of job trigger time 1262 type: string 1263 interval: 1264 description: Interval to wait between two runs of the job. 1265 type: string 1266 tags: 1267 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 1268 description: Tags for config entries 1269 required: 1270 - interval 1271 - cron 1272 type: object 1273 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Periodics: 1274 description: Periodics is a list of jobs to be run periodically 1275 properties: 1276 entries: 1277 description: Items are the post submit configurations 1278 items: 1279 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Periodic' 1280 type: array 1281 replace: 1282 description: Replace the existing entries 1283 type: boolean 1284 type: object 1285 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivity: 1286 description: PipelineActivity represents pipeline activity for a particular run 1287 of a pipeline 1288 properties: 1289 apiVersion: 1290 description: 'APIVersion defines the versioned schema of this representation 1291 of an object. Servers should convert recognized schemas to the latest internal 1292 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1293 type: string 1294 kind: 1295 description: 'Kind is a string value representing the REST resource this object 1296 represents. Servers may infer this from the endpoint the client submits 1297 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1298 type: string 1299 metadata: 1300 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 1301 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 1302 spec: 1303 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivitySpec' 1304 status: 1305 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivityStatus' 1306 type: object 1307 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivityList: 1308 description: PipelineActivityList is a list of PipelineActivity resources 1309 properties: 1310 apiVersion: 1311 description: 'APIVersion defines the versioned schema of this representation 1312 of an object. Servers should convert recognized schemas to the latest internal 1313 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1314 type: string 1315 items: 1316 items: 1317 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivity' 1318 type: array 1319 kind: 1320 description: 'Kind is a string value representing the REST resource this object 1321 represents. Servers may infer this from the endpoint the client submits 1322 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1323 type: string 1324 metadata: 1325 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 1326 required: 1327 - metadata 1328 - items 1329 type: object 1330 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivitySpec: 1331 description: PipelineActivitySpec is the specification of the pipeline activity 1332 properties: 1333 attachments: 1334 items: 1335 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Attachment' 1336 type: array 1337 author: 1338 type: string 1339 authorAvatarURL: 1340 type: string 1341 authorURL: 1342 type: string 1343 baseSHA: 1344 type: string 1345 batchPipelineActivity: 1346 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BatchPipelineActivity' 1347 build: 1348 type: string 1349 buildLogsUrl: 1350 type: string 1351 buildUrl: 1352 type: string 1353 completedTimestamp: 1354 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1355 context: 1356 type: string 1357 gitBranch: 1358 type: string 1359 gitOwner: 1360 type: string 1361 gitRepository: 1362 type: string 1363 gitUrl: 1364 type: string 1365 lastCommitMessage: 1366 type: string 1367 lastCommitSHA: 1368 type: string 1369 lastCommitURL: 1370 type: string 1371 pipeline: 1372 type: string 1373 postExtensions: 1374 items: 1375 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExtensionExecution' 1376 type: array 1377 pullTitle: 1378 type: string 1379 releaseNotesURL: 1380 type: string 1381 startedTimestamp: 1382 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1383 status: 1384 type: string 1385 steps: 1386 items: 1387 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivityStep' 1388 type: array 1389 version: 1390 type: string 1391 workflow: 1392 description: Deprecated - Workflow functionality was removed and is obsolete 1393 Keeping these fields to ensure backwards compatibility Should be removed 1394 when we increment spec version 1395 type: string 1396 workflowMessage: 1397 type: string 1398 workflowStatus: 1399 type: string 1400 type: object 1401 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivityStatus: 1402 description: PipelineActivityStatus is the status for an Environment resource 1403 properties: 1404 version: 1405 type: string 1406 type: object 1407 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineActivityStep: 1408 description: PipelineActivityStep represents a step in a pipeline activity 1409 properties: 1410 kind: 1411 type: string 1412 preview: 1413 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PreviewActivityStep' 1414 promote: 1415 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromoteActivityStep' 1416 stage: 1417 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.StageActivityStep' 1418 type: object 1419 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineExtension: 1420 description: PipelineExtension defines the image and command of an app which wants 1421 to modify/extend the pipeline 1422 properties: 1423 args: 1424 description: Arguments to the entrypoint. 1425 items: 1426 type: string 1427 type: array 1428 command: 1429 description: Entrypoint array. Not executed within a shell. 1430 type: string 1431 image: 1432 description: Docker image name. 1433 type: string 1434 name: 1435 description: Name of the container specified as a DNS_LABEL. 1436 type: string 1437 required: 1438 - name 1439 type: object 1440 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineStructure: 1441 description: PipelineStructure contains references to the Pipeline and PipelineRun, 1442 and a list of PipelineStructureStages in the pipeline. This allows us to map 1443 between a running Pod to its TaskRun, to the TaskRun's Task and PipelineRun, 1444 and finally from there to the stage and potential parent stages that the Pod 1445 is actually executing, for use with populating PipelineActivity and providing 1446 logs. 1447 properties: 1448 apiVersion: 1449 description: 'APIVersion defines the versioned schema of this representation 1450 of an object. Servers should convert recognized schemas to the latest internal 1451 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1452 type: string 1453 kind: 1454 description: 'Kind is a string value representing the REST resource this object 1455 represents. Servers may infer this from the endpoint the client submits 1456 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1457 type: string 1458 metadata: 1459 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 1460 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 1461 pipelineRef: 1462 type: string 1463 pipelineRunRef: 1464 type: string 1465 stages: 1466 items: 1467 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineStructureStage' 1468 type: array 1469 required: 1470 - pipelineRef 1471 - pipelineRunRef 1472 type: object 1473 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineStructureList: 1474 description: PipelineStructureList is a list of PipelineStructureList resources 1475 properties: 1476 apiVersion: 1477 description: 'APIVersion defines the versioned schema of this representation 1478 of an object. Servers should convert recognized schemas to the latest internal 1479 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1480 type: string 1481 items: 1482 items: 1483 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineStructure' 1484 type: array 1485 kind: 1486 description: 'Kind is a string value representing the REST resource this object 1487 represents. Servers may infer this from the endpoint the client submits 1488 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1489 type: string 1490 metadata: 1491 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 1492 required: 1493 - metadata 1494 - items 1495 type: object 1496 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PipelineStructureStage: 1497 description: PipelineStructureStage contains the stage's name, one of either a 1498 reference to the Task corresponding to the stage if it has steps, a list of 1499 sequential stage names nested within this stage, or a list of parallel stage 1500 names nested within this stage, and information on this stage's depth within 1501 the PipelineStructure as a whole, the name of its parent stage, if any, the 1502 name of the stage before it in execution order, if any, and the name of the 1503 stage after it in execution order, if any. 1504 properties: 1505 depth: 1506 format: byte 1507 type: integer 1508 name: 1509 type: string 1510 next: 1511 type: string 1512 parallel: 1513 items: 1514 type: string 1515 type: array 1516 parent: 1517 type: string 1518 previous: 1519 type: string 1520 stages: 1521 items: 1522 type: string 1523 type: array 1524 taskRef: 1525 description: Must have one of TaskRef+TaskRunRef, Stages, or Parallel 1526 type: string 1527 taskRunRef: 1528 description: Populated during pod discovery, not at initial creation time. 1529 type: string 1530 required: 1531 - name 1532 - depth 1533 type: object 1534 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Plugin: 1535 description: Plugin represents a binary plugin installed into this Jenkins X team 1536 properties: 1537 apiVersion: 1538 description: 'APIVersion defines the versioned schema of this representation 1539 of an object. Servers should convert recognized schemas to the latest internal 1540 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1541 type: string 1542 kind: 1543 description: 'Kind is a string value representing the REST resource this object 1544 represents. Servers may infer this from the endpoint the client submits 1545 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1546 type: string 1547 metadata: 1548 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 1549 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 1550 spec: 1551 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PluginSpec' 1552 type: object 1553 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PluginList: 1554 description: PluginList is a list of Plugins available for a team 1555 properties: 1556 apiVersion: 1557 description: 'APIVersion defines the versioned schema of this representation 1558 of an object. Servers should convert recognized schemas to the latest internal 1559 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1560 type: string 1561 items: 1562 items: 1563 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Plugin' 1564 type: array 1565 kind: 1566 description: 'Kind is a string value representing the REST resource this object 1567 represents. Servers may infer this from the endpoint the client submits 1568 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1569 type: string 1570 metadata: 1571 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 1572 required: 1573 - metadata 1574 - items 1575 type: object 1576 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PluginSpec: 1577 description: PluginSpec provides details of a binary plugin available for a team 1578 properties: 1579 binaries: 1580 items: 1581 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Binary' 1582 type: array 1583 description: 1584 type: string 1585 group: 1586 type: string 1587 name: 1588 type: string 1589 subCommand: 1590 type: string 1591 version: 1592 type: string 1593 type: object 1594 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Postsubmit: 1595 description: Postsubmit runs on push events. 1596 properties: 1597 Brancher: 1598 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Brancher' 1599 JobBase: 1600 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.JobBase' 1601 RegexpChangeMatcher: 1602 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.RegexpChangeMatcher' 1603 context: 1604 description: Context is the name of the GitHub status context for the job. 1605 type: string 1606 report: 1607 description: Report will comment and set status on GitHub. 1608 type: boolean 1609 required: 1610 - context 1611 type: object 1612 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Postsubmits: 1613 description: Postsubmits is a list of Postsubmit job configurations that can optionally 1614 completely replace the Postsubmit job configurations in the parent scheduler 1615 properties: 1616 entries: 1617 description: Items are the post submit configurations 1618 items: 1619 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Postsubmit' 1620 type: array 1621 replace: 1622 description: Replace the existing entries 1623 type: boolean 1624 type: object 1625 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Presubmit: 1626 description: Presubmit defines a job configuration for pull requests 1627 properties: 1628 Brancher: 1629 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Brancher' 1630 JobBase: 1631 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.JobBase' 1632 RegexpChangeMatcher: 1633 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.RegexpChangeMatcher' 1634 alwaysRun: 1635 description: AlwaysRun automatically for every PR, or only when a comment 1636 triggers it. By default true. 1637 type: boolean 1638 context: 1639 description: Context is the name of the Git Provider status context for the 1640 job. 1641 type: string 1642 context_options: 1643 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.RepoContextPolicy' 1644 description: ContextOptions defines the merge options. If not set it will 1645 infer the required and optional contexts from the jobs configured and use 1646 the Git Provider combined status; otherwise it may apply the branch protection 1647 setting or let user define their own options in case branch protection is 1648 not used. 1649 mergeMethod: 1650 description: Override the default method of merge. Valid options are squash, 1651 rebase, and merge. 1652 type: string 1653 optional: 1654 description: Optional indicates that the job's status context should not be 1655 required for merge. By default false. 1656 type: boolean 1657 policy: 1658 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ProtectionPolicies' 1659 queries: 1660 items: 1661 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Query' 1662 type: array 1663 report: 1664 description: Report enables reporting the job status on the git provider 1665 type: boolean 1666 rerunCommand: 1667 description: 'The RerunCommand to give users. Must match Trigger. Trigger 1668 must also be specified if this field is specified. (Default: `/test <job 1669 name>`)' 1670 type: string 1671 trigger: 1672 description: 'Trigger is the regular expression to trigger the job. e.g. `@k8s-bot 1673 e2e test this` RerunCommand must also be specified if this field is specified. 1674 (Default: `(?m)^/test (?:.*? )?<job name>(?: .*?)?$`)' 1675 type: string 1676 required: 1677 - alwaysRun 1678 - context 1679 - trigger 1680 - rerunCommand 1681 type: object 1682 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Presubmits: 1683 description: Presubmits is a list of Presubmit job configurations that can optionally 1684 completely replace the Presubmit job configurations in the parent scheduler 1685 properties: 1686 entries: 1687 description: Items are the Presubmit configurtations 1688 items: 1689 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Presubmit' 1690 type: array 1691 replace: 1692 description: Replace the existing entries 1693 type: boolean 1694 type: object 1695 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PreviewActivityStep: 1696 description: PreviewActivityStep is the step of creating a preview environment 1697 as part of a Pull Request pipeline 1698 properties: 1699 applicationURL: 1700 type: string 1701 completedTimestamp: 1702 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1703 description: 1704 type: string 1705 environment: 1706 type: string 1707 name: 1708 type: string 1709 pullRequestURL: 1710 type: string 1711 startedTimestamp: 1712 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1713 status: 1714 type: string 1715 type: object 1716 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PreviewGitSpec: 1717 description: PreviewGitSpec is the preview git branch/pull request details 1718 properties: 1719 appName: 1720 type: string 1721 applicationURL: 1722 type: string 1723 buildStatus: 1724 type: string 1725 buildStatusUrl: 1726 type: string 1727 description: 1728 type: string 1729 name: 1730 type: string 1731 title: 1732 type: string 1733 url: 1734 type: string 1735 user: 1736 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserSpec' 1737 type: object 1738 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromoteActivityStep: 1739 description: PromoteActivityStep is the step of promoting a version of an application 1740 to an environment 1741 properties: 1742 applicationURL: 1743 type: string 1744 completedTimestamp: 1745 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1746 description: 1747 type: string 1748 environment: 1749 type: string 1750 name: 1751 type: string 1752 pullRequest: 1753 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromotePullRequestStep' 1754 startedTimestamp: 1755 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1756 status: 1757 type: string 1758 update: 1759 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromoteUpdateStep' 1760 type: object 1761 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromotePullRequestStep: 1762 description: PromotePullRequestStep is the step for promoting a version to an 1763 environment by raising a Pull Request on the git repository of the environment 1764 properties: 1765 completedTimestamp: 1766 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1767 description: 1768 type: string 1769 mergeCommitSHA: 1770 type: string 1771 name: 1772 type: string 1773 pullRequestURL: 1774 type: string 1775 startedTimestamp: 1776 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1777 status: 1778 type: string 1779 type: object 1780 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromoteUpdateStep: 1781 description: PromoteUpdateStep is the step for updating a promotion after the 1782 Pull Request merges to master 1783 properties: 1784 completedTimestamp: 1785 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1786 description: 1787 type: string 1788 name: 1789 type: string 1790 startedTimestamp: 1791 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 1792 status: 1793 type: string 1794 statuses: 1795 items: 1796 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GitStatus' 1797 type: array 1798 type: object 1799 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromoteWorkflowStep: 1800 description: PromoteWorkflowStep is the step of promoting a version of an application 1801 to an environment 1802 properties: 1803 environment: 1804 type: string 1805 type: object 1806 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ProtectionPolicies: 1807 description: ProtectionPolicies defines the branch protection policies 1808 properties: 1809 ProtectionPolicy: 1810 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ProtectionPolicy' 1811 Replace: 1812 type: boolean 1813 entries: 1814 additionalProperties: 1815 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ProtectionPolicy' 1816 type: object 1817 type: object 1818 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ProtectionPolicy: 1819 description: ProtectionPolicy for merging. 1820 properties: 1821 enforceAdmins: 1822 description: Admins overrides whether protections apply to admins if set. 1823 type: boolean 1824 protect: 1825 description: Protect overrides whether branch protection is enabled if set. 1826 type: boolean 1827 requiredPullRequestReviews: 1828 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReviewPolicy' 1829 description: RequiredPullRequestReviews specifies approval/review criteria. 1830 requiredStatusChecks: 1831 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.BranchProtectionContextPolicy' 1832 description: RequiredStatusChecks configures github contexts 1833 restrictions: 1834 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Restrictions' 1835 description: Restrictions limits who can merge 1836 type: object 1837 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PullRequestInfo: 1838 description: PullRequestInfo contains information about a PR included in a batch, 1839 like its PR number, the last build number, and SHA 1840 properties: 1841 lastBuildNumberForCommit: 1842 description: LastBuildNumberForCommit is the number of the last successful 1843 build of this PR outside of a batch 1844 type: string 1845 lastBuildSHA: 1846 description: LastBuildSHA is the commit SHA in the last successful build of 1847 this PR outside of a batch. 1848 type: string 1849 pullRequestNumber: 1850 type: string 1851 type: object 1852 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Query: 1853 description: 'Query is turned into a Git Provider search query. See the docs for 1854 details: https://help.github.com/articles/searching-issues-and-pull-requests/' 1855 properties: 1856 excludedBranches: 1857 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 1858 includedBranches: 1859 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 1860 labels: 1861 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 1862 milestone: 1863 type: string 1864 missingLabels: 1865 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 1866 reviewApprovedRequired: 1867 type: boolean 1868 type: object 1869 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.QuickStartLocation: 1870 description: QuickStartLocation 1871 properties: 1872 excludes: 1873 items: 1874 type: string 1875 type: array 1876 gitKind: 1877 type: string 1878 gitUrl: 1879 type: string 1880 includes: 1881 items: 1882 type: string 1883 type: array 1884 owner: 1885 type: string 1886 type: object 1887 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.RegexpChangeMatcher: 1888 description: RegexpChangeMatcher is for code shared between jobs that run only 1889 when certain files are changed. 1890 properties: 1891 runIfChanged: 1892 description: RunIfChanged defines a regex used to select which subset of file 1893 changes should trigger this job. If any file in the changeset matches this 1894 regex, the job will be triggered 1895 type: string 1896 type: object 1897 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Release: 1898 description: Release represents a single version of an app that has been released 1899 properties: 1900 apiVersion: 1901 description: 'APIVersion defines the versioned schema of this representation 1902 of an object. Servers should convert recognized schemas to the latest internal 1903 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1904 type: string 1905 kind: 1906 description: 'Kind is a string value representing the REST resource this object 1907 represents. Servers may infer this from the endpoint the client submits 1908 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1909 type: string 1910 metadata: 1911 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 1912 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 1913 spec: 1914 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReleaseSpec' 1915 status: 1916 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReleaseStatus' 1917 type: object 1918 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReleaseList: 1919 description: ReleaseList is a list of Release resources 1920 properties: 1921 apiVersion: 1922 description: 'APIVersion defines the versioned schema of this representation 1923 of an object. Servers should convert recognized schemas to the latest internal 1924 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1925 type: string 1926 items: 1927 items: 1928 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Release' 1929 type: array 1930 kind: 1931 description: 'Kind is a string value representing the REST resource this object 1932 represents. Servers may infer this from the endpoint the client submits 1933 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1934 type: string 1935 metadata: 1936 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 1937 required: 1938 - metadata 1939 - items 1940 type: object 1941 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReleaseSpec: 1942 description: ReleaseSpec is the specification of the Release 1943 properties: 1944 commits: 1945 items: 1946 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CommitSummary' 1947 type: array 1948 dependencyUpdates: 1949 items: 1950 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.DependencyUpdate' 1951 type: array 1952 gitCloneUrl: 1953 type: string 1954 gitHttpUrl: 1955 type: string 1956 gitOwner: 1957 type: string 1958 gitRepository: 1959 type: string 1960 issues: 1961 items: 1962 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.IssueSummary' 1963 type: array 1964 name: 1965 type: string 1966 pullRequests: 1967 items: 1968 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.IssueSummary' 1969 type: array 1970 releaseNotesURL: 1971 type: string 1972 version: 1973 type: string 1974 type: object 1975 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReleaseStatus: 1976 description: ReleaseStatus is the status of a release 1977 properties: 1978 status: 1979 type: string 1980 type: object 1981 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableMapOfStringContextPolicy: 1982 description: ReplaceableMapOfStringContextPolicy is a map of context policies 1983 that can optionally completely replace any context policies defined in the parent 1984 scheduler 1985 properties: 1986 Items: 1987 additionalProperties: 1988 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ContextPolicy' 1989 type: object 1990 replace: 1991 type: boolean 1992 required: 1993 - Items 1994 type: object 1995 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableMapOfStringString: 1996 description: ReplaceableMapOfStringString is a map of strings that can optionally 1997 completely replace the map of strings in the parent scheduler 1998 properties: 1999 entries: 2000 additionalProperties: 2001 type: string 2002 type: object 2003 replace: 2004 description: Replace the existing entries 2005 type: boolean 2006 type: object 2007 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfExternalPlugins: 2008 description: ReplaceableSliceOfExternalPlugins is a list of external plugins that 2009 can optionally completely replace the plugins in any parent SchedulerSpec 2010 properties: 2011 Replace: 2012 type: boolean 2013 entries: 2014 items: 2015 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ExternalPlugin' 2016 type: array 2017 required: 2018 - Replace 2019 type: object 2020 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings: 2021 description: ReplaceableSliceOfStrings is a slice of strings that can optionally 2022 completely replace the slice of strings defined in the parent scheduler 2023 properties: 2024 entries: 2025 description: Items is the string values 2026 items: 2027 type: string 2028 type: array 2029 replace: 2030 description: Replace the existing entries 2031 type: boolean 2032 type: object 2033 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.RepoContextPolicy: 2034 description: RepoContextPolicy overrides the policy for repo, and any branch overrides. 2035 properties: 2036 ContextPolicy: 2037 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ContextPolicy' 2038 branches: 2039 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableMapOfStringContextPolicy' 2040 required: 2041 - ContextPolicy 2042 type: object 2043 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference: 2044 properties: 2045 apiVersion: 2046 description: API version of the referent. 2047 type: string 2048 kind: 2049 description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' 2050 type: string 2051 name: 2052 description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names' 2053 type: string 2054 uid: 2055 description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' 2056 type: string 2057 required: 2058 - kind 2059 - name 2060 type: object 2061 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Restrictions: 2062 description: Restrictions limits who can merge Users and Teams entries are appended 2063 to parent lists. 2064 properties: 2065 teams: 2066 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 2067 users: 2068 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 2069 required: 2070 - users 2071 - teams 2072 type: object 2073 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReviewPolicy: 2074 description: ReviewPolicy specifies git provider approval/review criteria. Any 2075 nil values inherit the policy from the parent, otherwise bool/ints are overridden. 2076 Non-empty lists are appended to parent lists. 2077 properties: 2078 dismissStaleReviews: 2079 description: DismissStale overrides whether new commits automatically dismiss 2080 old reviews if set 2081 type: boolean 2082 dismissalRestrictions: 2083 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Restrictions' 2084 description: Restrictions appends users/teams that are allowed to merge 2085 requireCodeOwnerReviews: 2086 description: RequireOwners overrides whether CODEOWNERS must approve PRs if 2087 set 2088 type: boolean 2089 requiredApprovingReviewCount: 2090 description: Approvals overrides the number of approvals required if set (set 2091 to 0 to disable) 2092 format: int32 2093 type: integer 2094 type: object 2095 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Scheduler: 2096 description: Scheduler is configuration for a pipeline scheduler 2097 properties: 2098 apiVersion: 2099 description: 'APIVersion defines the versioned schema of this representation 2100 of an object. Servers should convert recognized schemas to the latest internal 2101 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2102 type: string 2103 kind: 2104 description: 'Kind is a string value representing the REST resource this object 2105 represents. Servers may infer this from the endpoint the client submits 2106 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2107 type: string 2108 metadata: 2109 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2110 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 2111 spec: 2112 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SchedulerSpec' 2113 type: object 2114 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SchedulerAgent: 2115 description: SchedulerAgent defines the scheduler agent configuration 2116 properties: 2117 agent: 2118 description: Agent defines the agent used to schedule jobs, by default Prow 2119 type: string 2120 required: 2121 - agent 2122 type: object 2123 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SchedulerList: 2124 description: SchedulerList is a list of configurations for a pipeline scheduler 2125 properties: 2126 apiVersion: 2127 description: 'APIVersion defines the versioned schema of this representation 2128 of an object. Servers should convert recognized schemas to the latest internal 2129 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2130 type: string 2131 items: 2132 items: 2133 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Scheduler' 2134 type: array 2135 kind: 2136 description: 'Kind is a string value representing the REST resource this object 2137 represents. Servers may infer this from the endpoint the client submits 2138 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2139 type: string 2140 metadata: 2141 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 2142 required: 2143 - metadata 2144 - items 2145 type: object 2146 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SchedulerSpec: 2147 description: SchedulerSpec defines the pipeline scheduler (e.g. Prow) configuration 2148 properties: 2149 approve: 2150 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Approve' 2151 attachments: 2152 items: 2153 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Attachment' 2154 type: array 2155 configUpdater: 2156 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ConfigUpdater' 2157 externalPlugins: 2158 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfExternalPlugins' 2159 lgtm: 2160 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Lgtm' 2161 merger: 2162 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Merger' 2163 periodics: 2164 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Periodics' 2165 plugins: 2166 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ReplaceableSliceOfStrings' 2167 description: Plugins is a list of plugin names enabled for a repo 2168 policy: 2169 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.GlobalProtectionPolicy' 2170 postsubmits: 2171 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Postsubmits' 2172 presubmits: 2173 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Presubmits' 2174 schedulerAgent: 2175 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SchedulerAgent' 2176 trigger: 2177 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Trigger' 2178 welcome: 2179 items: 2180 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Welcome' 2181 type: array 2182 type: object 2183 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepository: 2184 description: SourceRepository is the metadata for an Application/Project/SourceRepository 2185 properties: 2186 apiVersion: 2187 description: 'APIVersion defines the versioned schema of this representation 2188 of an object. Servers should convert recognized schemas to the latest internal 2189 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2190 type: string 2191 kind: 2192 description: 'Kind is a string value representing the REST resource this object 2193 represents. Servers may infer this from the endpoint the client submits 2194 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2195 type: string 2196 metadata: 2197 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2198 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 2199 spec: 2200 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositorySpec' 2201 type: object 2202 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositoryGroup: 2203 description: SourceRepositoryGroup is the metadata for an Application/Project/SourceRepository 2204 properties: 2205 apiVersion: 2206 description: 'APIVersion defines the versioned schema of this representation 2207 of an object. Servers should convert recognized schemas to the latest internal 2208 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2209 type: string 2210 kind: 2211 description: 'Kind is a string value representing the REST resource this object 2212 represents. Servers may infer this from the endpoint the client submits 2213 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2214 type: string 2215 metadata: 2216 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2217 spec: 2218 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositoryGroupSpec' 2219 type: object 2220 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositoryGroupList: 2221 description: SourceRepositoryGroupList is a structure used by k8s to store lists 2222 of apps 2223 properties: 2224 apiVersion: 2225 description: 'APIVersion defines the versioned schema of this representation 2226 of an object. Servers should convert recognized schemas to the latest internal 2227 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2228 type: string 2229 items: 2230 items: 2231 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositoryGroup' 2232 type: array 2233 kind: 2234 description: 'Kind is a string value representing the REST resource this object 2235 represents. Servers may infer this from the endpoint the client submits 2236 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2237 type: string 2238 metadata: 2239 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 2240 required: 2241 - metadata 2242 - items 2243 type: object 2244 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositoryGroupSpec: 2245 description: SourceRepositoryGroupSpec is the metadata for an Application/Project/SourceRepository 2246 properties: 2247 apiVersion: 2248 description: 'APIVersion defines the versioned schema of this representation 2249 of an object. Servers should convert recognized schemas to the latest internal 2250 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2251 type: string 2252 kind: 2253 description: 'Kind is a string value representing the REST resource this object 2254 represents. Servers may infer this from the endpoint the client submits 2255 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2256 type: string 2257 metadata: 2258 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2259 repositories: 2260 items: 2261 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference' 2262 type: array 2263 scheduler: 2264 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference' 2265 required: 2266 - repositories 2267 - scheduler 2268 type: object 2269 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositoryList: 2270 description: SourceRepositoryList is a structure used by k8s to store lists of 2271 apps 2272 properties: 2273 apiVersion: 2274 description: 'APIVersion defines the versioned schema of this representation 2275 of an object. Servers should convert recognized schemas to the latest internal 2276 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2277 type: string 2278 items: 2279 items: 2280 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepository' 2281 type: array 2282 kind: 2283 description: 'Kind is a string value representing the REST resource this object 2284 represents. Servers may infer this from the endpoint the client submits 2285 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2286 type: string 2287 metadata: 2288 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 2289 required: 2290 - metadata 2291 - items 2292 type: object 2293 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.SourceRepositorySpec: 2294 description: SourceRepositorySpec provides details of the metadata for an App 2295 properties: 2296 description: 2297 type: string 2298 httpCloneURL: 2299 description: HTTPCloneURL is the git URL to clone this repository using HTTP/HTTPS 2300 type: string 2301 org: 2302 type: string 2303 provider: 2304 description: Provider stores the URL of the git provider such as https://github.com 2305 type: string 2306 providerKind: 2307 description: ProviderKind is the kind of provider (github / bitbucketcloud 2308 / bitbucketserver etc) 2309 type: string 2310 providerName: 2311 description: ProviderName is a logical name for the provider without any URL 2312 scheme which can be used in a label selector 2313 type: string 2314 repo: 2315 type: string 2316 scheduler: 2317 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference' 2318 description: Scheduler a reference to a custom scheduler otherwise we default 2319 to the Team's Scededuler 2320 sshCloneURL: 2321 description: SSHCloneURL is the git URL to clone this repository using SSH 2322 type: string 2323 url: 2324 description: URL is the web URL of the project page 2325 type: string 2326 type: object 2327 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.StageActivityStep: 2328 description: StageActivityStep represents a stage of zero to more sub steps in 2329 a jenkins pipeline 2330 properties: 2331 completedTimestamp: 2332 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2333 description: 2334 type: string 2335 name: 2336 type: string 2337 startedTimestamp: 2338 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2339 status: 2340 type: string 2341 steps: 2342 items: 2343 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.CoreActivityStep' 2344 type: array 2345 type: object 2346 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Statement: 2347 description: Statement represents a decision that was made, for example that a 2348 promotion was approved or denied 2349 properties: 2350 measurementValue: 2351 type: boolean 2352 name: 2353 type: string 2354 statementType: 2355 type: string 2356 tags: 2357 items: 2358 type: string 2359 type: array 2360 required: 2361 - name 2362 - statementType 2363 - measurementValue 2364 type: object 2365 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.StorageLocation: 2366 description: StorageLocation 2367 properties: 2368 bucketUrl: 2369 type: string 2370 classifier: 2371 type: string 2372 gitBranch: 2373 type: string 2374 gitUrl: 2375 type: string 2376 type: object 2377 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Team: 2378 description: Team represents a request to create an actual Team which is a group 2379 of users, a development environment and optional other environments 2380 properties: 2381 apiVersion: 2382 description: 'APIVersion defines the versioned schema of this representation 2383 of an object. Servers should convert recognized schemas to the latest internal 2384 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2385 type: string 2386 kind: 2387 description: 'Kind is a string value representing the REST resource this object 2388 represents. Servers may infer this from the endpoint the client submits 2389 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2390 type: string 2391 metadata: 2392 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2393 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 2394 spec: 2395 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamSpec' 2396 status: 2397 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamStatus' 2398 type: object 2399 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamList: 2400 description: TeamList is a list of TypeMeta resources 2401 properties: 2402 apiVersion: 2403 description: 'APIVersion defines the versioned schema of this representation 2404 of an object. Servers should convert recognized schemas to the latest internal 2405 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2406 type: string 2407 items: 2408 items: 2409 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Team' 2410 type: array 2411 kind: 2412 description: 'Kind is a string value representing the REST resource this object 2413 represents. Servers may infer this from the endpoint the client submits 2414 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2415 type: string 2416 metadata: 2417 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 2418 required: 2419 - metadata 2420 - items 2421 type: object 2422 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamSettings: 2423 description: TeamSettings the default settings for a team 2424 properties: 2425 appPrefixes: 2426 description: AppsPrefixes is the list of prefixes for appNames 2427 items: 2428 type: string 2429 type: array 2430 appsRepository: 2431 type: string 2432 askOnCreate: 2433 type: boolean 2434 bootRequirements: 2435 description: BootRequirements is a marshaled string of the jx-requirements.yml 2436 used in the most recent run for this cluster 2437 type: string 2438 branchPatterns: 2439 type: string 2440 buildPackName: 2441 type: string 2442 buildPackRef: 2443 type: string 2444 buildPackUrl: 2445 type: string 2446 defaultScheduler: 2447 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.ResourceReference' 2448 deployKind: 2449 description: DeployKind what kind of deployment ("default" uses regular Kubernetes 2450 Services and Deployments, "knative" uses the Knative Service resource instead) 2451 type: string 2452 deployOptions: 2453 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.DeployOptions' 2454 description: DeployOptions configures options for how to deploy applications 2455 by default such as using canary rollouts (progressive delivery) or using 2456 horizontal pod autoscaler 2457 dockerRegistryOrg: 2458 type: string 2459 envOrganisation: 2460 type: string 2461 forkBranchPatterns: 2462 type: string 2463 gitPublic: 2464 type: boolean 2465 gitServer: 2466 type: string 2467 helmBinary: 2468 type: string 2469 helmTemplate: 2470 type: boolean 2471 importMode: 2472 description: ImportMode indicates what kind of 2473 type: string 2474 kubeProvider: 2475 type: string 2476 noTiller: 2477 type: boolean 2478 organisation: 2479 type: string 2480 pipelineUserEmail: 2481 type: string 2482 pipelineUsername: 2483 type: string 2484 postPreviewJobs: 2485 items: 2486 $ref: '#/definitions/io.k8s.api.batch.v1.Job' 2487 type: array 2488 profile: 2489 description: Profile is the profile in use (see jx profile) 2490 type: string 2491 promotionEngine: 2492 type: string 2493 prowConfig: 2494 description: ProwConfig is the way we manage prow configurations 2495 type: string 2496 prowEngine: 2497 description: ProwEngine is the kind of prow engine used such as knative build 2498 or build pipeline 2499 type: string 2500 quickstartLocations: 2501 items: 2502 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.QuickStartLocation' 2503 type: array 2504 storageLocations: 2505 items: 2506 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.StorageLocation' 2507 type: array 2508 useGitOps: 2509 type: boolean 2510 versionStreamRef: 2511 description: VersionStreamRef contains the git ref (tag or branch) in the 2512 VersionStreamURL repository to use as the version stream 2513 type: string 2514 versionStreamUrl: 2515 description: VersionStreamURL contains the git clone URL for the Version Stream 2516 which is the set of versions to use for charts, images, packages etc 2517 type: string 2518 type: object 2519 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamSpec: 2520 description: TeamSpec is the specification of an Team 2521 properties: 2522 kind: 2523 type: string 2524 label: 2525 type: string 2526 members: 2527 items: 2528 type: string 2529 type: array 2530 type: object 2531 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.TeamStatus: 2532 description: TeamStatus is the status for an Team resource 2533 properties: 2534 message: 2535 type: string 2536 provisionStatus: 2537 type: string 2538 type: object 2539 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Trigger: 2540 description: |- 2541 Trigger specifies a configuration for a single trigger. 2542 2543 The configuration for the trigger plugin is defined as a list of these structures. 2544 properties: 2545 ignoreOkToTest: 2546 description: IgnoreOkToTest makes trigger ignore /ok-to-test comments. This 2547 is a security mitigation to only allow testing from trusted users. 2548 type: boolean 2549 joinOrgUrl: 2550 description: JoinOrgURL is a link that redirects users to a location where 2551 they should be able to read more about joining the organization in order 2552 to become trusted members. Defaults to the Github link of TrustedOrg. 2553 type: string 2554 onlyOrgMembers: 2555 description: OnlyOrgMembers requires PRs and/or /ok-to-test comments to come 2556 from org members. By default, trigger also include repo collaborators. 2557 type: boolean 2558 trustedOrg: 2559 description: TrustedOrg is the org whose members' PRs will be automatically 2560 built for PRs to the above repos. The default is the PR's org. 2561 type: string 2562 type: object 2563 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.User: 2564 description: User represents a git user so we have a cache to find by email address 2565 properties: 2566 apiVersion: 2567 description: 'APIVersion defines the versioned schema of this representation 2568 of an object. Servers should convert recognized schemas to the latest internal 2569 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2570 type: string 2571 kind: 2572 description: 'Kind is a string value representing the REST resource this object 2573 represents. Servers may infer this from the endpoint the client submits 2574 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2575 type: string 2576 metadata: 2577 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2578 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 2579 spec: 2580 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 2581 user: 2582 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails' 2583 description: Deprecated, use Spec 2584 type: object 2585 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserDetails: 2586 description: UserDetails containers details of a user 2587 properties: 2588 accountReference: 2589 items: 2590 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.AccountReference' 2591 type: array 2592 avatarUrl: 2593 type: string 2594 creationTimestamp: 2595 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2596 email: 2597 type: string 2598 externalUser: 2599 type: boolean 2600 login: 2601 type: string 2602 name: 2603 type: string 2604 serviceAccount: 2605 type: string 2606 url: 2607 type: string 2608 type: object 2609 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserList: 2610 description: UserList is a list of User resources 2611 properties: 2612 apiVersion: 2613 description: 'APIVersion defines the versioned schema of this representation 2614 of an object. Servers should convert recognized schemas to the latest internal 2615 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2616 type: string 2617 items: 2618 items: 2619 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.User' 2620 type: array 2621 kind: 2622 description: 'Kind is a string value representing the REST resource this object 2623 represents. Servers may infer this from the endpoint the client submits 2624 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2625 type: string 2626 metadata: 2627 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 2628 required: 2629 - metadata 2630 - items 2631 type: object 2632 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.UserSpec: 2633 description: UserSpec is the user details 2634 properties: 2635 imageUrl: 2636 type: string 2637 linkUrl: 2638 type: string 2639 name: 2640 type: string 2641 username: 2642 type: string 2643 type: object 2644 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Welcome: 2645 description: Welcome welcome plugin config 2646 properties: 2647 message_template: 2648 type: string 2649 type: object 2650 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Workflow: 2651 description: Workflow represents pipeline activity for a particular run of a pipeline 2652 properties: 2653 apiVersion: 2654 description: 'APIVersion defines the versioned schema of this representation 2655 of an object. Servers should convert recognized schemas to the latest internal 2656 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2657 type: string 2658 kind: 2659 description: 'Kind is a string value representing the REST resource this object 2660 represents. Servers may infer this from the endpoint the client submits 2661 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2662 type: string 2663 metadata: 2664 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2665 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' 2666 spec: 2667 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowSpec' 2668 status: 2669 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowStatus' 2670 type: object 2671 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowList: 2672 description: WorkflowList is a list of Workflow resources 2673 properties: 2674 apiVersion: 2675 description: 'APIVersion defines the versioned schema of this representation 2676 of an object. Servers should convert recognized schemas to the latest internal 2677 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2678 type: string 2679 items: 2680 items: 2681 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.Workflow' 2682 type: array 2683 kind: 2684 description: 'Kind is a string value representing the REST resource this object 2685 represents. Servers may infer this from the endpoint the client submits 2686 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2687 type: string 2688 metadata: 2689 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta' 2690 required: 2691 - metadata 2692 - items 2693 type: object 2694 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowPreconditions: 2695 description: WorkflowPreconditions is the trigger to start a step 2696 properties: 2697 environments: 2698 description: the names of the environments which need to have promoted before 2699 this step can be triggered 2700 items: 2701 type: string 2702 type: array 2703 type: object 2704 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowSpec: 2705 description: WorkflowSpec is the specification of the pipeline activity 2706 properties: 2707 pipeline: 2708 type: string 2709 steps: 2710 items: 2711 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowStep' 2712 type: array 2713 type: object 2714 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowStatus: 2715 description: WorkflowStatus is the status for an Environment resource 2716 properties: 2717 version: 2718 type: string 2719 type: object 2720 com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowStep: 2721 description: WorkflowStep represents a step in a pipeline activity 2722 properties: 2723 description: 2724 type: string 2725 kind: 2726 type: string 2727 name: 2728 type: string 2729 promote: 2730 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.PromoteWorkflowStep' 2731 trigger: 2732 $ref: '#/definitions/com.github.jenkins-x.jx.v2.pkg.apis.jenkins_io.v1.WorkflowPreconditions' 2733 type: object 2734 io.k8s.api.batch.v1.Job: 2735 description: Job represents the configuration of a single job. 2736 properties: 2737 apiVersion: 2738 description: 'APIVersion defines the versioned schema of this representation 2739 of an object. Servers should convert recognized schemas to the latest internal 2740 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 2741 type: string 2742 kind: 2743 description: 'Kind is a string value representing the REST resource this object 2744 represents. Servers may infer this from the endpoint the client submits 2745 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 2746 type: string 2747 metadata: 2748 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 2749 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' 2750 spec: 2751 $ref: '#/definitions/io.k8s.api.batch.v1.JobSpec' 2752 description: 'Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status' 2753 status: 2754 $ref: '#/definitions/io.k8s.api.batch.v1.JobStatus' 2755 description: 'Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status' 2756 type: object 2757 io.k8s.api.batch.v1.JobCondition: 2758 description: JobCondition describes current state of a job. 2759 properties: 2760 lastProbeTime: 2761 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2762 description: Last time the condition was checked. 2763 lastTransitionTime: 2764 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2765 description: Last time the condition transit from one status to another. 2766 message: 2767 description: Human readable message indicating details about last transition. 2768 type: string 2769 reason: 2770 description: (brief) reason for the condition's last transition. 2771 type: string 2772 status: 2773 description: Status of the condition, one of True, False, Unknown. 2774 type: string 2775 type: 2776 description: Type of job condition, Complete or Failed. 2777 type: string 2778 required: 2779 - type 2780 - status 2781 type: object 2782 io.k8s.api.batch.v1.JobSpec: 2783 description: JobSpec describes how the job execution will look like. 2784 properties: 2785 activeDeadlineSeconds: 2786 description: Specifies the duration in seconds relative to the startTime that 2787 the job may be active before the system tries to terminate it; value must 2788 be positive integer 2789 format: int64 2790 type: integer 2791 backoffLimit: 2792 description: Specifies the number of retries before marking this job failed. 2793 Defaults to 6 2794 format: int32 2795 type: integer 2796 completions: 2797 description: 'Specifies the desired number of successfully finished pods the 2798 job should be run with. Setting to nil means that the success of any pod 2799 signals the success of all pods, and allows parallelism to have any positive 2800 value. Setting to 1 means that parallelism is limited to 1 and the success 2801 of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/' 2802 format: int32 2803 type: integer 2804 manualSelector: 2805 description: 'manualSelector controls generation of pod labels and pod selectors. 2806 Leave `manualSelector` unset unless you are certain what you are doing. 2807 When false or unset, the system pick labels unique to this job and appends 2808 those labels to the pod template. When true, the user is responsible for 2809 picking unique labels and specifying the selector. Failure to pick a unique 2810 label may cause this and other jobs to not function correctly. However, 2811 You may see `manualSelector=true` in jobs that were created with the old 2812 `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector' 2813 type: boolean 2814 parallelism: 2815 description: 'Specifies the maximum desired number of pods the job should 2816 run at any given time. The actual number of pods running in steady state 2817 will be less than this number when ((.spec.completions - .status.successful) 2818 < .spec.parallelism), i.e. when the work left to do is less than max parallelism. 2819 More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/' 2820 format: int32 2821 type: integer 2822 selector: 2823 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector' 2824 description: 'A label query over pods that should match the pod count. Normally, 2825 the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors' 2826 template: 2827 $ref: '#/definitions/io.k8s.api.core.v1.PodTemplateSpec' 2828 description: 'Describes the pod that will be created when executing a job. 2829 More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/' 2830 ttlSecondsAfterFinished: 2831 description: ttlSecondsAfterFinished limits the lifetime of a Job that has 2832 finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished 2833 after the Job finishes, it is eligible to be automatically deleted. When 2834 the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will 2835 be honored. If this field is unset, the Job won't be automatically deleted. 2836 If this field is set to zero, the Job becomes eligible to be deleted immediately 2837 after it finishes. This field is alpha-level and is only honored by servers 2838 that enable the TTLAfterFinished feature. 2839 format: int32 2840 type: integer 2841 required: 2842 - template 2843 type: object 2844 io.k8s.api.batch.v1.JobStatus: 2845 description: JobStatus represents the current state of a Job. 2846 properties: 2847 active: 2848 description: The number of actively running pods. 2849 format: int32 2850 type: integer 2851 completionTime: 2852 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2853 description: Represents time when the job was completed. It is not guaranteed 2854 to be set in happens-before order across separate operations. It is represented 2855 in RFC3339 form and is in UTC. 2856 conditions: 2857 description: 'The latest available observations of an object''s current state. 2858 More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/' 2859 items: 2860 $ref: '#/definitions/io.k8s.api.batch.v1.JobCondition' 2861 type: array 2862 x-kubernetes-patch-merge-key: type 2863 x-kubernetes-patch-strategy: merge 2864 failed: 2865 description: The number of pods which reached phase Failed. 2866 format: int32 2867 type: integer 2868 startTime: 2869 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 2870 description: Represents time when the job was acknowledged by the job controller. 2871 It is not guaranteed to be set in happens-before order across separate operations. 2872 It is represented in RFC3339 form and is in UTC. 2873 succeeded: 2874 description: The number of pods which reached phase Succeeded. 2875 format: int32 2876 type: integer 2877 type: object 2878 io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource: 2879 description: |- 2880 Represents a Persistent Disk resource in AWS. 2881 2882 An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. 2883 properties: 2884 fsType: 2885 description: 'Filesystem type of the volume that you want to mount. Tip: Ensure 2886 that the filesystem type is supported by the host operating system. Examples: 2887 "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. 2888 More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore' 2889 type: string 2890 partition: 2891 description: 'The partition in the volume that you want to mount. If omitted, 2892 the default is to mount by volume name. Examples: For volume /dev/sda1, 2893 you specify the partition as "1". Similarly, the volume partition for /dev/sda 2894 is "0" (or you can leave the property empty).' 2895 format: int32 2896 type: integer 2897 readOnly: 2898 description: 'Specify "true" to force and set the ReadOnly property in VolumeMounts 2899 to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore' 2900 type: boolean 2901 volumeID: 2902 description: 'Unique ID of the persistent disk resource in AWS (Amazon EBS 2903 volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore' 2904 type: string 2905 required: 2906 - volumeID 2907 type: object 2908 io.k8s.api.core.v1.Affinity: 2909 description: Affinity is a group of affinity scheduling rules. 2910 properties: 2911 nodeAffinity: 2912 $ref: '#/definitions/io.k8s.api.core.v1.NodeAffinity' 2913 description: Describes node affinity scheduling rules for the pod. 2914 podAffinity: 2915 $ref: '#/definitions/io.k8s.api.core.v1.PodAffinity' 2916 description: Describes pod affinity scheduling rules (e.g. co-locate this 2917 pod in the same node, zone, etc. as some other pod(s)). 2918 podAntiAffinity: 2919 $ref: '#/definitions/io.k8s.api.core.v1.PodAntiAffinity' 2920 description: Describes pod anti-affinity scheduling rules (e.g. avoid putting 2921 this pod in the same node, zone, etc. as some other pod(s)). 2922 type: object 2923 io.k8s.api.core.v1.AzureDiskVolumeSource: 2924 description: AzureDisk represents an Azure Data Disk mount on the host and bind 2925 mount to the pod. 2926 properties: 2927 cachingMode: 2928 description: 'Host Caching mode: None, Read Only, Read Write.' 2929 type: string 2930 diskName: 2931 description: The Name of the data disk in the blob storage 2932 type: string 2933 diskURI: 2934 description: The URI the data disk in the blob storage 2935 type: string 2936 fsType: 2937 description: Filesystem type to mount. Must be a filesystem type supported 2938 by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred 2939 to be "ext4" if unspecified. 2940 type: string 2941 kind: 2942 description: 'Expected values Shared: multiple blob disks per storage account Dedicated: 2943 single blob disk per storage account Managed: azure managed data disk (only 2944 in managed availability set). defaults to shared' 2945 type: string 2946 readOnly: 2947 description: Defaults to false (read/write). ReadOnly here will force the 2948 ReadOnly setting in VolumeMounts. 2949 type: boolean 2950 required: 2951 - diskName 2952 - diskURI 2953 type: object 2954 io.k8s.api.core.v1.AzureFileVolumeSource: 2955 description: AzureFile represents an Azure File Service mount on the host and 2956 bind mount to the pod. 2957 properties: 2958 readOnly: 2959 description: Defaults to false (read/write). ReadOnly here will force the 2960 ReadOnly setting in VolumeMounts. 2961 type: boolean 2962 secretName: 2963 description: the name of secret that contains Azure Storage Account Name and 2964 Key 2965 type: string 2966 shareName: 2967 description: Share Name 2968 type: string 2969 required: 2970 - secretName 2971 - shareName 2972 type: object 2973 io.k8s.api.core.v1.CSIVolumeSource: 2974 description: Represents a source location of a volume to mount, managed by an 2975 external CSI driver 2976 properties: 2977 driver: 2978 description: Driver is the name of the CSI driver that handles this volume. 2979 Consult with your admin for the correct name as registered in the cluster. 2980 type: string 2981 fsType: 2982 description: Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, 2983 the empty value is passed to the associated CSI driver which will determine 2984 the default filesystem to apply. 2985 type: string 2986 nodePublishSecretRef: 2987 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 2988 description: NodePublishSecretRef is a reference to the secret object containing 2989 sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume 2990 and NodeUnpublishVolume calls. This field is optional, and may be empty 2991 if no secret is required. If the secret object contains more than one secret, 2992 all secret references are passed. 2993 readOnly: 2994 description: Specifies a read-only configuration for the volume. Defaults 2995 to false (read/write). 2996 type: boolean 2997 volumeAttributes: 2998 additionalProperties: 2999 type: string 3000 description: VolumeAttributes stores driver-specific properties that are passed 3001 to the CSI driver. Consult your driver's documentation for supported values. 3002 type: object 3003 required: 3004 - driver 3005 type: object 3006 io.k8s.api.core.v1.Capabilities: 3007 description: Adds and removes POSIX capabilities from running containers. 3008 properties: 3009 add: 3010 description: Added capabilities 3011 items: 3012 type: string 3013 type: array 3014 drop: 3015 description: Removed capabilities 3016 items: 3017 type: string 3018 type: array 3019 type: object 3020 io.k8s.api.core.v1.CephFSVolumeSource: 3021 description: Represents a Ceph Filesystem mount that lasts the lifetime of a pod 3022 Cephfs volumes do not support ownership management or SELinux relabeling. 3023 properties: 3024 monitors: 3025 description: 'Required: Monitors is a collection of Ceph monitors More info: 3026 https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' 3027 items: 3028 type: string 3029 type: array 3030 path: 3031 description: 'Optional: Used as the mounted root, rather than the full Ceph 3032 tree, default is /' 3033 type: string 3034 readOnly: 3035 description: 'Optional: Defaults to false (read/write). ReadOnly here will 3036 force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' 3037 type: boolean 3038 secretFile: 3039 description: 'Optional: SecretFile is the path to key ring for User, default 3040 is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' 3041 type: string 3042 secretRef: 3043 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 3044 description: 'Optional: SecretRef is reference to the authentication secret 3045 for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' 3046 user: 3047 description: 'Optional: User is the rados user name, default is admin More 3048 info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it' 3049 type: string 3050 required: 3051 - monitors 3052 type: object 3053 io.k8s.api.core.v1.CinderVolumeSource: 3054 description: Represents a cinder volume resource in Openstack. A Cinder volume 3055 must exist before mounting to a container. The volume must also be in the same 3056 region as the kubelet. Cinder volumes support ownership management and SELinux 3057 relabeling. 3058 properties: 3059 fsType: 3060 description: 'Filesystem type to mount. Must be a filesystem type supported 3061 by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly 3062 inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md' 3063 type: string 3064 readOnly: 3065 description: 'Optional: Defaults to false (read/write). ReadOnly here will 3066 force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md' 3067 type: boolean 3068 secretRef: 3069 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 3070 description: 'Optional: points to a secret object containing parameters used 3071 to connect to OpenStack.' 3072 volumeID: 3073 description: 'volume id used to identify the volume in cinder. More info: 3074 https://examples.k8s.io/mysql-cinder-pd/README.md' 3075 type: string 3076 required: 3077 - volumeID 3078 type: object 3079 io.k8s.api.core.v1.ConfigMapEnvSource: 3080 description: |- 3081 ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. 3082 3083 The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. 3084 properties: 3085 name: 3086 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 3087 type: string 3088 optional: 3089 description: Specify whether the ConfigMap must be defined 3090 type: boolean 3091 type: object 3092 io.k8s.api.core.v1.ConfigMapKeySelector: 3093 description: Selects a key from a ConfigMap. 3094 properties: 3095 key: 3096 description: The key to select. 3097 type: string 3098 name: 3099 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 3100 type: string 3101 optional: 3102 description: Specify whether the ConfigMap or its key must be defined 3103 type: boolean 3104 required: 3105 - key 3106 type: object 3107 io.k8s.api.core.v1.ConfigMapProjection: 3108 description: |- 3109 Adapts a ConfigMap into a projected volume. 3110 3111 The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. 3112 properties: 3113 items: 3114 description: If unspecified, each key-value pair in the Data field of the 3115 referenced ConfigMap will be projected into the volume as a file whose name 3116 is the key and content is the value. If specified, the listed keys will 3117 be projected into the specified paths, and unlisted keys will not be present. 3118 If a key is specified which is not present in the ConfigMap, the volume 3119 setup will error unless it is marked optional. Paths must be relative and 3120 may not contain the '..' path or start with '..'. 3121 items: 3122 $ref: '#/definitions/io.k8s.api.core.v1.KeyToPath' 3123 type: array 3124 name: 3125 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 3126 type: string 3127 optional: 3128 description: Specify whether the ConfigMap or its keys must be defined 3129 type: boolean 3130 type: object 3131 io.k8s.api.core.v1.ConfigMapVolumeSource: 3132 description: |- 3133 Adapts a ConfigMap into a volume. 3134 3135 The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. 3136 properties: 3137 defaultMode: 3138 description: 'Optional: mode bits to use on created files by default. Must 3139 be a value between 0 and 0777. Defaults to 0644. Directories within the 3140 path are not affected by this setting. This might be in conflict with other 3141 options that affect the file mode, like fsGroup, and the result can be other 3142 mode bits set.' 3143 format: int32 3144 type: integer 3145 items: 3146 description: If unspecified, each key-value pair in the Data field of the 3147 referenced ConfigMap will be projected into the volume as a file whose name 3148 is the key and content is the value. If specified, the listed keys will 3149 be projected into the specified paths, and unlisted keys will not be present. 3150 If a key is specified which is not present in the ConfigMap, the volume 3151 setup will error unless it is marked optional. Paths must be relative and 3152 may not contain the '..' path or start with '..'. 3153 items: 3154 $ref: '#/definitions/io.k8s.api.core.v1.KeyToPath' 3155 type: array 3156 name: 3157 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 3158 type: string 3159 optional: 3160 description: Specify whether the ConfigMap or its keys must be defined 3161 type: boolean 3162 type: object 3163 io.k8s.api.core.v1.Container: 3164 description: A single application container that you want to run within a pod. 3165 properties: 3166 args: 3167 description: 'Arguments to the entrypoint. The docker image''s CMD is used 3168 if this is not provided. Variable references $(VAR_NAME) are expanded using 3169 the container''s environment. If a variable cannot be resolved, the reference 3170 in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped 3171 with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, 3172 regardless of whether the variable exists or not. Cannot be updated. More 3173 info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell' 3174 items: 3175 type: string 3176 type: array 3177 command: 3178 description: 'Entrypoint array. Not executed within a shell. The docker image''s 3179 ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) 3180 are expanded using the container''s environment. If a variable cannot be 3181 resolved, the reference in the input string will be unchanged. The $(VAR_NAME) 3182 syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references 3183 will never be expanded, regardless of whether the variable exists or not. 3184 Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell' 3185 items: 3186 type: string 3187 type: array 3188 env: 3189 description: List of environment variables to set in the container. Cannot 3190 be updated. 3191 items: 3192 $ref: '#/definitions/io.k8s.api.core.v1.EnvVar' 3193 type: array 3194 x-kubernetes-patch-merge-key: name 3195 x-kubernetes-patch-strategy: merge 3196 envFrom: 3197 description: List of sources to populate environment variables in the container. 3198 The keys defined within a source must be a C_IDENTIFIER. All invalid keys 3199 will be reported as an event when the container is starting. When a key 3200 exists in multiple sources, the value associated with the last source will 3201 take precedence. Values defined by an Env with a duplicate key will take 3202 precedence. Cannot be updated. 3203 items: 3204 $ref: '#/definitions/io.k8s.api.core.v1.EnvFromSource' 3205 type: array 3206 image: 3207 description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images 3208 This field is optional to allow higher level config management to default 3209 or override container images in workload controllers like Deployments and 3210 StatefulSets.' 3211 type: string 3212 imagePullPolicy: 3213 description: 'Image pull policy. One of Always, Never, IfNotPresent. Defaults 3214 to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot 3215 be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images' 3216 type: string 3217 lifecycle: 3218 $ref: '#/definitions/io.k8s.api.core.v1.Lifecycle' 3219 description: Actions that the management system should take in response to 3220 container lifecycle events. Cannot be updated. 3221 livenessProbe: 3222 $ref: '#/definitions/io.k8s.api.core.v1.Probe' 3223 description: 'Periodic probe of container liveness. Container will be restarted 3224 if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes' 3225 name: 3226 description: Name of the container specified as a DNS_LABEL. Each container 3227 in a pod must have a unique name (DNS_LABEL). Cannot be updated. 3228 type: string 3229 ports: 3230 description: List of ports to expose from the container. Exposing a port here 3231 gives the system additional information about the network connections a 3232 container uses, but is primarily informational. Not specifying a port here 3233 DOES NOT prevent that port from being exposed. Any port which is listening 3234 on the default "0.0.0.0" address inside a container will be accessible from 3235 the network. Cannot be updated. 3236 items: 3237 $ref: '#/definitions/io.k8s.api.core.v1.ContainerPort' 3238 type: array 3239 x-kubernetes-list-map-keys: 3240 - containerPort 3241 - protocol 3242 x-kubernetes-list-type: map 3243 x-kubernetes-patch-merge-key: containerPort 3244 x-kubernetes-patch-strategy: merge 3245 readinessProbe: 3246 $ref: '#/definitions/io.k8s.api.core.v1.Probe' 3247 description: 'Periodic probe of container service readiness. Container will 3248 be removed from service endpoints if the probe fails. Cannot be updated. 3249 More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes' 3250 resources: 3251 $ref: '#/definitions/io.k8s.api.core.v1.ResourceRequirements' 3252 description: 'Compute Resources required by this container. Cannot be updated. 3253 More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' 3254 securityContext: 3255 $ref: '#/definitions/io.k8s.api.core.v1.SecurityContext' 3256 description: 'Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ 3257 More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/' 3258 startupProbe: 3259 $ref: '#/definitions/io.k8s.api.core.v1.Probe' 3260 description: 'StartupProbe indicates that the Pod has successfully initialized. 3261 If specified, no other probes are executed until this completes successfully. 3262 If this probe fails, the Pod will be restarted, just as if the livenessProbe 3263 failed. This can be used to provide different probe parameters at the beginning 3264 of a Pod''s lifecycle, when it might take a long time to load data or warm 3265 a cache, than during steady-state operation. This cannot be updated. This 3266 is an alpha feature enabled by the StartupProbe feature flag. More info: 3267 https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes' 3268 stdin: 3269 description: Whether this container should allocate a buffer for stdin in 3270 the container runtime. If this is not set, reads from stdin in the container 3271 will always result in EOF. Default is false. 3272 type: boolean 3273 stdinOnce: 3274 description: Whether the container runtime should close the stdin channel 3275 after it has been opened by a single attach. When stdin is true the stdin 3276 stream will remain open across multiple attach sessions. If stdinOnce is 3277 set to true, stdin is opened on container start, is empty until the first 3278 client attaches to stdin, and then remains open and accepts data until the 3279 client disconnects, at which time stdin is closed and remains closed until 3280 the container is restarted. If this flag is false, a container processes 3281 that reads from stdin will never receive an EOF. Default is false 3282 type: boolean 3283 terminationMessagePath: 3284 description: 'Optional: Path at which the file to which the container''s termination 3285 message will be written is mounted into the container''s filesystem. Message 3286 written is intended to be brief final status, such as an assertion failure 3287 message. Will be truncated by the node if greater than 4096 bytes. The total 3288 message length across all containers will be limited to 12kb. Defaults to 3289 /dev/termination-log. Cannot be updated.' 3290 type: string 3291 terminationMessagePolicy: 3292 description: Indicate how the termination message should be populated. File 3293 will use the contents of terminationMessagePath to populate the container 3294 status message on both success and failure. FallbackToLogsOnError will use 3295 the last chunk of container log output if the termination message file is 3296 empty and the container exited with an error. The log output is limited 3297 to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot 3298 be updated. 3299 type: string 3300 tty: 3301 description: Whether this container should allocate a TTY for itself, also 3302 requires 'stdin' to be true. Default is false. 3303 type: boolean 3304 volumeDevices: 3305 description: volumeDevices is the list of block devices to be used by the 3306 container. This is a beta feature. 3307 items: 3308 $ref: '#/definitions/io.k8s.api.core.v1.VolumeDevice' 3309 type: array 3310 x-kubernetes-patch-merge-key: devicePath 3311 x-kubernetes-patch-strategy: merge 3312 volumeMounts: 3313 description: Pod volumes to mount into the container's filesystem. Cannot 3314 be updated. 3315 items: 3316 $ref: '#/definitions/io.k8s.api.core.v1.VolumeMount' 3317 type: array 3318 x-kubernetes-patch-merge-key: mountPath 3319 x-kubernetes-patch-strategy: merge 3320 workingDir: 3321 description: Container's working directory. If not specified, the container 3322 runtime's default will be used, which might be configured in the container 3323 image. Cannot be updated. 3324 type: string 3325 required: 3326 - name 3327 type: object 3328 io.k8s.api.core.v1.ContainerPort: 3329 description: ContainerPort represents a network port in a single container. 3330 properties: 3331 containerPort: 3332 description: Number of port to expose on the pod's IP address. This must be 3333 a valid port number, 0 < x < 65536. 3334 format: int32 3335 type: integer 3336 hostIP: 3337 description: What host IP to bind the external port to. 3338 type: string 3339 hostPort: 3340 description: Number of port to expose on the host. If specified, this must 3341 be a valid port number, 0 < x < 65536. If HostNetwork is specified, this 3342 must match ContainerPort. Most containers do not need this. 3343 format: int32 3344 type: integer 3345 name: 3346 description: If specified, this must be an IANA_SVC_NAME and unique within 3347 the pod. Each named port in a pod must have a unique name. Name for the 3348 port that can be referred to by services. 3349 type: string 3350 protocol: 3351 description: Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP". 3352 type: string 3353 required: 3354 - containerPort 3355 type: object 3356 io.k8s.api.core.v1.DownwardAPIProjection: 3357 description: Represents downward API info for projecting into a projected volume. 3358 Note that this is identical to a downwardAPI volume source without the default 3359 mode. 3360 properties: 3361 items: 3362 description: Items is a list of DownwardAPIVolume file 3363 items: 3364 $ref: '#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile' 3365 type: array 3366 type: object 3367 io.k8s.api.core.v1.DownwardAPIVolumeFile: 3368 description: DownwardAPIVolumeFile represents information to create the file containing 3369 the pod field 3370 properties: 3371 fieldRef: 3372 $ref: '#/definitions/io.k8s.api.core.v1.ObjectFieldSelector' 3373 description: 'Required: Selects a field of the pod: only annotations, labels, 3374 name and namespace are supported.' 3375 mode: 3376 description: 'Optional: mode bits to use on this file, must be a value between 3377 0 and 0777. If not specified, the volume defaultMode will be used. This 3378 might be in conflict with other options that affect the file mode, like 3379 fsGroup, and the result can be other mode bits set.' 3380 format: int32 3381 type: integer 3382 path: 3383 description: 'Required: Path is the relative path name of the file to be 3384 created. Must not be absolute or contain the ''..'' path. Must be utf-8 3385 encoded. The first item of the relative path must not start with ''..''' 3386 type: string 3387 resourceFieldRef: 3388 $ref: '#/definitions/io.k8s.api.core.v1.ResourceFieldSelector' 3389 description: 'Selects a resource of the container: only resources limits and 3390 requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are 3391 currently supported.' 3392 required: 3393 - path 3394 type: object 3395 io.k8s.api.core.v1.DownwardAPIVolumeSource: 3396 description: DownwardAPIVolumeSource represents a volume containing downward API 3397 info. Downward API volumes support ownership management and SELinux relabeling. 3398 properties: 3399 defaultMode: 3400 description: 'Optional: mode bits to use on created files by default. Must 3401 be a value between 0 and 0777. Defaults to 0644. Directories within the 3402 path are not affected by this setting. This might be in conflict with other 3403 options that affect the file mode, like fsGroup, and the result can be other 3404 mode bits set.' 3405 format: int32 3406 type: integer 3407 items: 3408 description: Items is a list of downward API volume file 3409 items: 3410 $ref: '#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile' 3411 type: array 3412 type: object 3413 io.k8s.api.core.v1.EmptyDirVolumeSource: 3414 description: Represents an empty directory for a pod. Empty directory volumes 3415 support ownership management and SELinux relabeling. 3416 properties: 3417 medium: 3418 description: 'What type of storage medium should back this directory. The 3419 default is "" which means to use the node''s default medium. Must be an 3420 empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' 3421 type: string 3422 sizeLimit: 3423 $ref: '#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity' 3424 description: 'Total amount of local storage required for this EmptyDir volume. 3425 The size limit is also applicable for memory medium. The maximum usage on 3426 memory medium EmptyDir would be the minimum value between the SizeLimit 3427 specified here and the sum of memory limits of all containers in a pod. 3428 The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' 3429 type: object 3430 io.k8s.api.core.v1.EnvFromSource: 3431 description: EnvFromSource represents the source of a set of ConfigMaps 3432 properties: 3433 configMapRef: 3434 $ref: '#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource' 3435 description: The ConfigMap to select from 3436 prefix: 3437 description: An optional identifier to prepend to each key in the ConfigMap. 3438 Must be a C_IDENTIFIER. 3439 type: string 3440 secretRef: 3441 $ref: '#/definitions/io.k8s.api.core.v1.SecretEnvSource' 3442 description: The Secret to select from 3443 type: object 3444 io.k8s.api.core.v1.EnvVar: 3445 description: EnvVar represents an environment variable present in a Container. 3446 properties: 3447 name: 3448 description: Name of the environment variable. Must be a C_IDENTIFIER. 3449 type: string 3450 value: 3451 description: 'Variable references $(VAR_NAME) are expanded using the previous 3452 defined environment variables in the container and any service environment 3453 variables. If a variable cannot be resolved, the reference in the input 3454 string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double 3455 $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless 3456 of whether the variable exists or not. Defaults to "".' 3457 type: string 3458 valueFrom: 3459 $ref: '#/definitions/io.k8s.api.core.v1.EnvVarSource' 3460 description: Source for the environment variable's value. Cannot be used if 3461 value is not empty. 3462 required: 3463 - name 3464 type: object 3465 io.k8s.api.core.v1.EnvVarSource: 3466 description: EnvVarSource represents a source for the value of an EnvVar. 3467 properties: 3468 configMapKeyRef: 3469 $ref: '#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector' 3470 description: Selects a key of a ConfigMap. 3471 fieldRef: 3472 $ref: '#/definitions/io.k8s.api.core.v1.ObjectFieldSelector' 3473 description: 'Selects a field of the pod: supports metadata.name, metadata.namespace, 3474 metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, 3475 status.hostIP, status.podIP.' 3476 resourceFieldRef: 3477 $ref: '#/definitions/io.k8s.api.core.v1.ResourceFieldSelector' 3478 description: 'Selects a resource of the container: only resources limits and 3479 requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, 3480 requests.memory and requests.ephemeral-storage) are currently supported.' 3481 secretKeyRef: 3482 $ref: '#/definitions/io.k8s.api.core.v1.SecretKeySelector' 3483 description: Selects a key of a secret in the pod's namespace 3484 type: object 3485 io.k8s.api.core.v1.EphemeralContainer: 3486 description: An EphemeralContainer is a container that may be added temporarily 3487 to an existing pod for user-initiated activities such as debugging. Ephemeral 3488 containers have no resource or scheduling guarantees, and they will not be restarted 3489 when they exit or when a pod is removed or restarted. If an ephemeral container 3490 causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral 3491 containers may not be added by directly updating the pod spec. They must be 3492 added via the pod's ephemeralcontainers subresource, and they will appear in 3493 the pod spec once added. This is an alpha feature enabled by the EphemeralContainers 3494 feature flag. 3495 properties: 3496 args: 3497 description: 'Arguments to the entrypoint. The docker image''s CMD is used 3498 if this is not provided. Variable references $(VAR_NAME) are expanded using 3499 the container''s environment. If a variable cannot be resolved, the reference 3500 in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped 3501 with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, 3502 regardless of whether the variable exists or not. Cannot be updated. More 3503 info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell' 3504 items: 3505 type: string 3506 type: array 3507 command: 3508 description: 'Entrypoint array. Not executed within a shell. The docker image''s 3509 ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) 3510 are expanded using the container''s environment. If a variable cannot be 3511 resolved, the reference in the input string will be unchanged. The $(VAR_NAME) 3512 syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references 3513 will never be expanded, regardless of whether the variable exists or not. 3514 Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell' 3515 items: 3516 type: string 3517 type: array 3518 env: 3519 description: List of environment variables to set in the container. Cannot 3520 be updated. 3521 items: 3522 $ref: '#/definitions/io.k8s.api.core.v1.EnvVar' 3523 type: array 3524 x-kubernetes-patch-merge-key: name 3525 x-kubernetes-patch-strategy: merge 3526 envFrom: 3527 description: List of sources to populate environment variables in the container. 3528 The keys defined within a source must be a C_IDENTIFIER. All invalid keys 3529 will be reported as an event when the container is starting. When a key 3530 exists in multiple sources, the value associated with the last source will 3531 take precedence. Values defined by an Env with a duplicate key will take 3532 precedence. Cannot be updated. 3533 items: 3534 $ref: '#/definitions/io.k8s.api.core.v1.EnvFromSource' 3535 type: array 3536 image: 3537 description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images' 3538 type: string 3539 imagePullPolicy: 3540 description: 'Image pull policy. One of Always, Never, IfNotPresent. Defaults 3541 to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot 3542 be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images' 3543 type: string 3544 lifecycle: 3545 $ref: '#/definitions/io.k8s.api.core.v1.Lifecycle' 3546 description: Lifecycle is not allowed for ephemeral containers. 3547 livenessProbe: 3548 $ref: '#/definitions/io.k8s.api.core.v1.Probe' 3549 description: Probes are not allowed for ephemeral containers. 3550 name: 3551 description: Name of the ephemeral container specified as a DNS_LABEL. This 3552 name must be unique among all containers, init containers and ephemeral 3553 containers. 3554 type: string 3555 ports: 3556 description: Ports are not allowed for ephemeral containers. 3557 items: 3558 $ref: '#/definitions/io.k8s.api.core.v1.ContainerPort' 3559 type: array 3560 readinessProbe: 3561 $ref: '#/definitions/io.k8s.api.core.v1.Probe' 3562 description: Probes are not allowed for ephemeral containers. 3563 resources: 3564 $ref: '#/definitions/io.k8s.api.core.v1.ResourceRequirements' 3565 description: Resources are not allowed for ephemeral containers. Ephemeral 3566 containers use spare resources already allocated to the pod. 3567 securityContext: 3568 $ref: '#/definitions/io.k8s.api.core.v1.SecurityContext' 3569 description: SecurityContext is not allowed for ephemeral containers. 3570 startupProbe: 3571 $ref: '#/definitions/io.k8s.api.core.v1.Probe' 3572 description: Probes are not allowed for ephemeral containers. 3573 stdin: 3574 description: Whether this container should allocate a buffer for stdin in 3575 the container runtime. If this is not set, reads from stdin in the container 3576 will always result in EOF. Default is false. 3577 type: boolean 3578 stdinOnce: 3579 description: Whether the container runtime should close the stdin channel 3580 after it has been opened by a single attach. When stdin is true the stdin 3581 stream will remain open across multiple attach sessions. If stdinOnce is 3582 set to true, stdin is opened on container start, is empty until the first 3583 client attaches to stdin, and then remains open and accepts data until the 3584 client disconnects, at which time stdin is closed and remains closed until 3585 the container is restarted. If this flag is false, a container processes 3586 that reads from stdin will never receive an EOF. Default is false 3587 type: boolean 3588 targetContainerName: 3589 description: If set, the name of the container from PodSpec that this ephemeral 3590 container targets. The ephemeral container will be run in the namespaces 3591 (IPC, PID, etc) of this container. If not set then the ephemeral container 3592 is run in whatever namespaces are shared for the pod. Note that the container 3593 runtime must support this feature. 3594 type: string 3595 terminationMessagePath: 3596 description: 'Optional: Path at which the file to which the container''s termination 3597 message will be written is mounted into the container''s filesystem. Message 3598 written is intended to be brief final status, such as an assertion failure 3599 message. Will be truncated by the node if greater than 4096 bytes. The total 3600 message length across all containers will be limited to 12kb. Defaults to 3601 /dev/termination-log. Cannot be updated.' 3602 type: string 3603 terminationMessagePolicy: 3604 description: Indicate how the termination message should be populated. File 3605 will use the contents of terminationMessagePath to populate the container 3606 status message on both success and failure. FallbackToLogsOnError will use 3607 the last chunk of container log output if the termination message file is 3608 empty and the container exited with an error. The log output is limited 3609 to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot 3610 be updated. 3611 type: string 3612 tty: 3613 description: Whether this container should allocate a TTY for itself, also 3614 requires 'stdin' to be true. Default is false. 3615 type: boolean 3616 volumeDevices: 3617 description: volumeDevices is the list of block devices to be used by the 3618 container. This is a beta feature. 3619 items: 3620 $ref: '#/definitions/io.k8s.api.core.v1.VolumeDevice' 3621 type: array 3622 x-kubernetes-patch-merge-key: devicePath 3623 x-kubernetes-patch-strategy: merge 3624 volumeMounts: 3625 description: Pod volumes to mount into the container's filesystem. Cannot 3626 be updated. 3627 items: 3628 $ref: '#/definitions/io.k8s.api.core.v1.VolumeMount' 3629 type: array 3630 x-kubernetes-patch-merge-key: mountPath 3631 x-kubernetes-patch-strategy: merge 3632 workingDir: 3633 description: Container's working directory. If not specified, the container 3634 runtime's default will be used, which might be configured in the container 3635 image. Cannot be updated. 3636 type: string 3637 required: 3638 - name 3639 type: object 3640 io.k8s.api.core.v1.ExecAction: 3641 description: ExecAction describes a "run in container" action. 3642 properties: 3643 command: 3644 description: Command is the command line to execute inside the container, 3645 the working directory for the command is root ('/') in the container's 3646 filesystem. The command is simply exec'd, it is not run inside a shell, 3647 so traditional shell instructions ('|', etc) won't work. To use a shell, 3648 you need to explicitly call out to that shell. Exit status of 0 is treated 3649 as live/healthy and non-zero is unhealthy. 3650 items: 3651 type: string 3652 type: array 3653 type: object 3654 io.k8s.api.core.v1.FCVolumeSource: 3655 description: Represents a Fibre Channel volume. Fibre Channel volumes can only 3656 be mounted as read/write once. Fibre Channel volumes support ownership management 3657 and SELinux relabeling. 3658 properties: 3659 fsType: 3660 description: Filesystem type to mount. Must be a filesystem type supported 3661 by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred 3662 to be "ext4" if unspecified. 3663 type: string 3664 lun: 3665 description: 'Optional: FC target lun number' 3666 format: int32 3667 type: integer 3668 readOnly: 3669 description: 'Optional: Defaults to false (read/write). ReadOnly here will 3670 force the ReadOnly setting in VolumeMounts.' 3671 type: boolean 3672 targetWWNs: 3673 description: 'Optional: FC target worldwide names (WWNs)' 3674 items: 3675 type: string 3676 type: array 3677 wwids: 3678 description: 'Optional: FC volume world wide identifiers (wwids) Either wwids 3679 or combination of targetWWNs and lun must be set, but not both simultaneously.' 3680 items: 3681 type: string 3682 type: array 3683 type: object 3684 io.k8s.api.core.v1.FlexVolumeSource: 3685 description: FlexVolume represents a generic volume resource that is provisioned/attached 3686 using an exec based plugin. 3687 properties: 3688 driver: 3689 description: Driver is the name of the driver to use for this volume. 3690 type: string 3691 fsType: 3692 description: Filesystem type to mount. Must be a filesystem type supported 3693 by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem 3694 depends on FlexVolume script. 3695 type: string 3696 options: 3697 additionalProperties: 3698 type: string 3699 description: 'Optional: Extra command options if any.' 3700 type: object 3701 readOnly: 3702 description: 'Optional: Defaults to false (read/write). ReadOnly here will 3703 force the ReadOnly setting in VolumeMounts.' 3704 type: boolean 3705 secretRef: 3706 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 3707 description: 'Optional: SecretRef is reference to the secret object containing 3708 sensitive information to pass to the plugin scripts. This may be empty if 3709 no secret object is specified. If the secret object contains more than one 3710 secret, all secrets are passed to the plugin scripts.' 3711 required: 3712 - driver 3713 type: object 3714 io.k8s.api.core.v1.FlockerVolumeSource: 3715 description: Represents a Flocker volume mounted by the Flocker agent. One and 3716 only one of datasetName and datasetUUID should be set. Flocker volumes do not 3717 support ownership management or SELinux relabeling. 3718 properties: 3719 datasetName: 3720 description: Name of the dataset stored as metadata -> name on the dataset 3721 for Flocker should be considered as deprecated 3722 type: string 3723 datasetUUID: 3724 description: UUID of the dataset. This is unique identifier of a Flocker dataset 3725 type: string 3726 type: object 3727 io.k8s.api.core.v1.GCEPersistentDiskVolumeSource: 3728 description: |- 3729 Represents a Persistent Disk resource in Google Compute Engine. 3730 3731 A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. 3732 properties: 3733 fsType: 3734 description: 'Filesystem type of the volume that you want to mount. Tip: Ensure 3735 that the filesystem type is supported by the host operating system. Examples: 3736 "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. 3737 More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk' 3738 type: string 3739 partition: 3740 description: 'The partition in the volume that you want to mount. If omitted, 3741 the default is to mount by volume name. Examples: For volume /dev/sda1, 3742 you specify the partition as "1". Similarly, the volume partition for /dev/sda 3743 is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk' 3744 format: int32 3745 type: integer 3746 pdName: 3747 description: 'Unique name of the PD resource in GCE. Used to identify the 3748 disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk' 3749 type: string 3750 readOnly: 3751 description: 'ReadOnly here will force the ReadOnly setting in VolumeMounts. 3752 Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk' 3753 type: boolean 3754 required: 3755 - pdName 3756 type: object 3757 io.k8s.api.core.v1.GitRepoVolumeSource: 3758 description: |- 3759 Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. 3760 3761 DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. 3762 properties: 3763 directory: 3764 description: Target directory name. Must not contain or start with '..'. If 3765 '.' is supplied, the volume directory will be the git repository. Otherwise, 3766 if specified, the volume will contain the git repository in the subdirectory 3767 with the given name. 3768 type: string 3769 repository: 3770 description: Repository URL 3771 type: string 3772 revision: 3773 description: Commit hash for the specified revision. 3774 type: string 3775 required: 3776 - repository 3777 type: object 3778 io.k8s.api.core.v1.GlusterfsVolumeSource: 3779 description: Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs 3780 volumes do not support ownership management or SELinux relabeling. 3781 properties: 3782 endpoints: 3783 description: 'EndpointsName is the endpoint name that details Glusterfs topology. 3784 More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod' 3785 type: string 3786 path: 3787 description: 'Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod' 3788 type: string 3789 readOnly: 3790 description: 'ReadOnly here will force the Glusterfs volume to be mounted 3791 with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod' 3792 type: boolean 3793 required: 3794 - endpoints 3795 - path 3796 type: object 3797 io.k8s.api.core.v1.HTTPGetAction: 3798 description: HTTPGetAction describes an action based on HTTP Get requests. 3799 properties: 3800 host: 3801 description: Host name to connect to, defaults to the pod IP. You probably 3802 want to set "Host" in httpHeaders instead. 3803 type: string 3804 httpHeaders: 3805 description: Custom headers to set in the request. HTTP allows repeated headers. 3806 items: 3807 $ref: '#/definitions/io.k8s.api.core.v1.HTTPHeader' 3808 type: array 3809 path: 3810 description: Path to access on the HTTP server. 3811 type: string 3812 port: 3813 $ref: '#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString' 3814 description: Name or number of the port to access on the container. Number 3815 must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. 3816 scheme: 3817 description: Scheme to use for connecting to the host. Defaults to HTTP. 3818 type: string 3819 required: 3820 - port 3821 type: object 3822 io.k8s.api.core.v1.HTTPHeader: 3823 description: HTTPHeader describes a custom header to be used in HTTP probes 3824 properties: 3825 name: 3826 description: The header field name 3827 type: string 3828 value: 3829 description: The header field value 3830 type: string 3831 required: 3832 - name 3833 - value 3834 type: object 3835 io.k8s.api.core.v1.Handler: 3836 description: Handler defines a specific action that should be taken 3837 properties: 3838 exec: 3839 $ref: '#/definitions/io.k8s.api.core.v1.ExecAction' 3840 description: One and only one of the following should be specified. Exec specifies 3841 the action to take. 3842 httpGet: 3843 $ref: '#/definitions/io.k8s.api.core.v1.HTTPGetAction' 3844 description: HTTPGet specifies the http request to perform. 3845 tcpSocket: 3846 $ref: '#/definitions/io.k8s.api.core.v1.TCPSocketAction' 3847 description: TCPSocket specifies an action involving a TCP port. TCP hooks 3848 not yet supported 3849 type: object 3850 io.k8s.api.core.v1.HostAlias: 3851 description: HostAlias holds the mapping between IP and hostnames that will be 3852 injected as an entry in the pod's hosts file. 3853 properties: 3854 hostnames: 3855 description: Hostnames for the above IP address. 3856 items: 3857 type: string 3858 type: array 3859 ip: 3860 description: IP address of the host file entry. 3861 type: string 3862 type: object 3863 io.k8s.api.core.v1.HostPathVolumeSource: 3864 description: Represents a host path mapped into a pod. Host path volumes do not 3865 support ownership management or SELinux relabeling. 3866 properties: 3867 path: 3868 description: 'Path of the directory on the host. If the path is a symlink, 3869 it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath' 3870 type: string 3871 type: 3872 description: 'Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath' 3873 type: string 3874 required: 3875 - path 3876 type: object 3877 io.k8s.api.core.v1.ISCSIVolumeSource: 3878 description: Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write 3879 once. ISCSI volumes support ownership management and SELinux relabeling. 3880 properties: 3881 chapAuthDiscovery: 3882 description: whether support iSCSI Discovery CHAP authentication 3883 type: boolean 3884 chapAuthSession: 3885 description: whether support iSCSI Session CHAP authentication 3886 type: boolean 3887 fsType: 3888 description: 'Filesystem type of the volume that you want to mount. Tip: Ensure 3889 that the filesystem type is supported by the host operating system. Examples: 3890 "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. 3891 More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi' 3892 type: string 3893 initiatorName: 3894 description: Custom iSCSI Initiator Name. If initiatorName is specified with 3895 iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume 3896 name> will be created for the connection. 3897 type: string 3898 iqn: 3899 description: Target iSCSI Qualified Name. 3900 type: string 3901 iscsiInterface: 3902 description: iSCSI Interface Name that uses an iSCSI transport. Defaults to 3903 'default' (tcp). 3904 type: string 3905 lun: 3906 description: iSCSI Target Lun number. 3907 format: int32 3908 type: integer 3909 portals: 3910 description: iSCSI Target Portal List. The portal is either an IP or ip_addr:port 3911 if the port is other than default (typically TCP ports 860 and 3260). 3912 items: 3913 type: string 3914 type: array 3915 readOnly: 3916 description: ReadOnly here will force the ReadOnly setting in VolumeMounts. 3917 Defaults to false. 3918 type: boolean 3919 secretRef: 3920 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 3921 description: CHAP Secret for iSCSI target and initiator authentication 3922 targetPortal: 3923 description: iSCSI Target Portal. The Portal is either an IP or ip_addr:port 3924 if the port is other than default (typically TCP ports 860 and 3260). 3925 type: string 3926 required: 3927 - targetPortal 3928 - iqn 3929 - lun 3930 type: object 3931 io.k8s.api.core.v1.KeyToPath: 3932 description: Maps a string key to a path within a volume. 3933 properties: 3934 key: 3935 description: The key to project. 3936 type: string 3937 mode: 3938 description: 'Optional: mode bits to use on this file, must be a value between 3939 0 and 0777. If not specified, the volume defaultMode will be used. This 3940 might be in conflict with other options that affect the file mode, like 3941 fsGroup, and the result can be other mode bits set.' 3942 format: int32 3943 type: integer 3944 path: 3945 description: The relative path of the file to map the key to. May not be an 3946 absolute path. May not contain the path element '..'. May not start with 3947 the string '..'. 3948 type: string 3949 required: 3950 - key 3951 - path 3952 type: object 3953 io.k8s.api.core.v1.Lifecycle: 3954 description: Lifecycle describes actions that the management system should take 3955 in response to container lifecycle events. For the PostStart and PreStop lifecycle 3956 handlers, management of the container blocks until the action is complete, unless 3957 the container process fails, in which case the handler is aborted. 3958 properties: 3959 postStart: 3960 $ref: '#/definitions/io.k8s.api.core.v1.Handler' 3961 description: 'PostStart is called immediately after a container is created. 3962 If the handler fails, the container is terminated and restarted according 3963 to its restart policy. Other management of the container blocks until the 3964 hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks' 3965 preStop: 3966 $ref: '#/definitions/io.k8s.api.core.v1.Handler' 3967 description: 'PreStop is called immediately before a container is terminated 3968 due to an API request or management event such as liveness/startup probe 3969 failure, preemption, resource contention, etc. The handler is not called 3970 if the container crashes or exits. The reason for termination is passed 3971 to the handler. The Pod''s termination grace period countdown begins before 3972 the PreStop hooked is executed. Regardless of the outcome of the handler, 3973 the container will eventually terminate within the Pod''s termination grace 3974 period. Other management of the container blocks until the hook completes 3975 or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks' 3976 type: object 3977 io.k8s.api.core.v1.LocalObjectReference: 3978 description: LocalObjectReference contains enough information to let you locate 3979 the referenced object inside the same namespace. 3980 properties: 3981 name: 3982 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 3983 type: string 3984 type: object 3985 io.k8s.api.core.v1.NFSVolumeSource: 3986 description: Represents an NFS mount that lasts the lifetime of a pod. NFS volumes 3987 do not support ownership management or SELinux relabeling. 3988 properties: 3989 path: 3990 description: 'Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs' 3991 type: string 3992 readOnly: 3993 description: 'ReadOnly here will force the NFS export to be mounted with read-only 3994 permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs' 3995 type: boolean 3996 server: 3997 description: 'Server is the hostname or IP address of the NFS server. More 3998 info: https://kubernetes.io/docs/concepts/storage/volumes#nfs' 3999 type: string 4000 required: 4001 - server 4002 - path 4003 type: object 4004 io.k8s.api.core.v1.NodeAffinity: 4005 description: Node affinity is a group of node affinity scheduling rules. 4006 properties: 4007 preferredDuringSchedulingIgnoredDuringExecution: 4008 description: The scheduler will prefer to schedule pods to nodes that satisfy 4009 the affinity expressions specified by this field, but it may choose a node 4010 that violates one or more of the expressions. The node that is most preferred 4011 is the one with the greatest sum of weights, i.e. for each node that meets 4012 all of the scheduling requirements (resource request, requiredDuringScheduling 4013 affinity expressions, etc.), compute a sum by iterating through the elements 4014 of this field and adding "weight" to the sum if the node matches the corresponding 4015 matchExpressions; the node(s) with the highest sum are the most preferred. 4016 items: 4017 $ref: '#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm' 4018 type: array 4019 requiredDuringSchedulingIgnoredDuringExecution: 4020 $ref: '#/definitions/io.k8s.api.core.v1.NodeSelector' 4021 description: If the affinity requirements specified by this field are not 4022 met at scheduling time, the pod will not be scheduled onto the node. If 4023 the affinity requirements specified by this field cease to be met at some 4024 point during pod execution (e.g. due to an update), the system may or may 4025 not try to eventually evict the pod from its node. 4026 type: object 4027 io.k8s.api.core.v1.NodeSelector: 4028 description: A node selector represents the union of the results of one or more 4029 label queries over a set of nodes; that is, it represents the OR of the selectors 4030 represented by the node selector terms. 4031 properties: 4032 nodeSelectorTerms: 4033 description: Required. A list of node selector terms. The terms are ORed. 4034 items: 4035 $ref: '#/definitions/io.k8s.api.core.v1.NodeSelectorTerm' 4036 type: array 4037 required: 4038 - nodeSelectorTerms 4039 type: object 4040 io.k8s.api.core.v1.NodeSelectorRequirement: 4041 description: A node selector requirement is a selector that contains values, a 4042 key, and an operator that relates the key and values. 4043 properties: 4044 key: 4045 description: The label key that the selector applies to. 4046 type: string 4047 operator: 4048 description: Represents a key's relationship to a set of values. Valid operators 4049 are In, NotIn, Exists, DoesNotExist. Gt, and Lt. 4050 type: string 4051 values: 4052 description: An array of string values. If the operator is In or NotIn, the 4053 values array must be non-empty. If the operator is Exists or DoesNotExist, 4054 the values array must be empty. If the operator is Gt or Lt, the values 4055 array must have a single element, which will be interpreted as an integer. 4056 This array is replaced during a strategic merge patch. 4057 items: 4058 type: string 4059 type: array 4060 required: 4061 - key 4062 - operator 4063 type: object 4064 io.k8s.api.core.v1.NodeSelectorTerm: 4065 description: A null or empty node selector term matches no objects. The requirements 4066 of them are ANDed. The TopologySelectorTerm type implements a subset of the 4067 NodeSelectorTerm. 4068 properties: 4069 matchExpressions: 4070 description: A list of node selector requirements by node's labels. 4071 items: 4072 $ref: '#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement' 4073 type: array 4074 matchFields: 4075 description: A list of node selector requirements by node's fields. 4076 items: 4077 $ref: '#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement' 4078 type: array 4079 type: object 4080 io.k8s.api.core.v1.ObjectFieldSelector: 4081 description: ObjectFieldSelector selects an APIVersioned field of an object. 4082 properties: 4083 apiVersion: 4084 description: Version of the schema the FieldPath is written in terms of, defaults 4085 to "v1". 4086 type: string 4087 fieldPath: 4088 description: Path of the field to select in the specified API version. 4089 type: string 4090 required: 4091 - fieldPath 4092 type: object 4093 io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource: 4094 description: PersistentVolumeClaimVolumeSource references the user's PVC in the 4095 same namespace. This volume finds the bound PV and mounts that volume for the 4096 pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another 4097 type of volume that is owned by someone else (the system). 4098 properties: 4099 claimName: 4100 description: 'ClaimName is the name of a PersistentVolumeClaim in the same 4101 namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims' 4102 type: string 4103 readOnly: 4104 description: Will force the ReadOnly setting in VolumeMounts. Default false. 4105 type: boolean 4106 required: 4107 - claimName 4108 type: object 4109 io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource: 4110 description: Represents a Photon Controller persistent disk resource. 4111 properties: 4112 fsType: 4113 description: Filesystem type to mount. Must be a filesystem type supported 4114 by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred 4115 to be "ext4" if unspecified. 4116 type: string 4117 pdID: 4118 description: ID that identifies Photon Controller persistent disk 4119 type: string 4120 required: 4121 - pdID 4122 type: object 4123 io.k8s.api.core.v1.PodAffinity: 4124 description: Pod affinity is a group of inter pod affinity scheduling rules. 4125 properties: 4126 preferredDuringSchedulingIgnoredDuringExecution: 4127 description: The scheduler will prefer to schedule pods to nodes that satisfy 4128 the affinity expressions specified by this field, but it may choose a node 4129 that violates one or more of the expressions. The node that is most preferred 4130 is the one with the greatest sum of weights, i.e. for each node that meets 4131 all of the scheduling requirements (resource request, requiredDuringScheduling 4132 affinity expressions, etc.), compute a sum by iterating through the elements 4133 of this field and adding "weight" to the sum if the node has pods which 4134 matches the corresponding podAffinityTerm; the node(s) with the highest 4135 sum are the most preferred. 4136 items: 4137 $ref: '#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm' 4138 type: array 4139 requiredDuringSchedulingIgnoredDuringExecution: 4140 description: If the affinity requirements specified by this field are not 4141 met at scheduling time, the pod will not be scheduled onto the node. If 4142 the affinity requirements specified by this field cease to be met at some 4143 point during pod execution (e.g. due to a pod label update), the system 4144 may or may not try to eventually evict the pod from its node. When there 4145 are multiple elements, the lists of nodes corresponding to each podAffinityTerm 4146 are intersected, i.e. all terms must be satisfied. 4147 items: 4148 $ref: '#/definitions/io.k8s.api.core.v1.PodAffinityTerm' 4149 type: array 4150 type: object 4151 io.k8s.api.core.v1.PodAffinityTerm: 4152 description: Defines a set of pods (namely those matching the labelSelector relative 4153 to the given namespace(s)) that this pod should be co-located (affinity) or 4154 not co-located (anti-affinity) with, where co-located is defined as running 4155 on a node whose value of the label with key <topologyKey> matches that of any 4156 node on which a pod of the set of pods is running 4157 properties: 4158 labelSelector: 4159 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector' 4160 description: A label query over a set of resources, in this case pods. 4161 namespaces: 4162 description: namespaces specifies which namespaces the labelSelector applies 4163 to (matches against); null or empty list means "this pod's namespace" 4164 items: 4165 type: string 4166 type: array 4167 topologyKey: 4168 description: This pod should be co-located (affinity) or not co-located (anti-affinity) 4169 with the pods matching the labelSelector in the specified namespaces, where 4170 co-located is defined as running on a node whose value of the label with 4171 key topologyKey matches that of any node on which any of the selected pods 4172 is running. Empty topologyKey is not allowed. 4173 type: string 4174 required: 4175 - topologyKey 4176 type: object 4177 io.k8s.api.core.v1.PodAntiAffinity: 4178 description: Pod anti affinity is a group of inter pod anti affinity scheduling 4179 rules. 4180 properties: 4181 preferredDuringSchedulingIgnoredDuringExecution: 4182 description: The scheduler will prefer to schedule pods to nodes that satisfy 4183 the anti-affinity expressions specified by this field, but it may choose 4184 a node that violates one or more of the expressions. The node that is most 4185 preferred is the one with the greatest sum of weights, i.e. for each node 4186 that meets all of the scheduling requirements (resource request, requiredDuringScheduling 4187 anti-affinity expressions, etc.), compute a sum by iterating through the 4188 elements of this field and adding "weight" to the sum if the node has pods 4189 which matches the corresponding podAffinityTerm; the node(s) with the highest 4190 sum are the most preferred. 4191 items: 4192 $ref: '#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm' 4193 type: array 4194 requiredDuringSchedulingIgnoredDuringExecution: 4195 description: If the anti-affinity requirements specified by this field are 4196 not met at scheduling time, the pod will not be scheduled onto the node. 4197 If the anti-affinity requirements specified by this field cease to be met 4198 at some point during pod execution (e.g. due to a pod label update), the 4199 system may or may not try to eventually evict the pod from its node. When 4200 there are multiple elements, the lists of nodes corresponding to each podAffinityTerm 4201 are intersected, i.e. all terms must be satisfied. 4202 items: 4203 $ref: '#/definitions/io.k8s.api.core.v1.PodAffinityTerm' 4204 type: array 4205 type: object 4206 io.k8s.api.core.v1.PodDNSConfig: 4207 description: PodDNSConfig defines the DNS parameters of a pod in addition to those 4208 generated from DNSPolicy. 4209 properties: 4210 nameservers: 4211 description: A list of DNS name server IP addresses. This will be appended 4212 to the base nameservers generated from DNSPolicy. Duplicated nameservers 4213 will be removed. 4214 items: 4215 type: string 4216 type: array 4217 options: 4218 description: A list of DNS resolver options. This will be merged with the 4219 base options generated from DNSPolicy. Duplicated entries will be removed. 4220 Resolution options given in Options will override those that appear in the 4221 base DNSPolicy. 4222 items: 4223 $ref: '#/definitions/io.k8s.api.core.v1.PodDNSConfigOption' 4224 type: array 4225 searches: 4226 description: A list of DNS search domains for host-name lookup. This will 4227 be appended to the base search paths generated from DNSPolicy. Duplicated 4228 search paths will be removed. 4229 items: 4230 type: string 4231 type: array 4232 type: object 4233 io.k8s.api.core.v1.PodDNSConfigOption: 4234 description: PodDNSConfigOption defines DNS resolver options of a pod. 4235 properties: 4236 name: 4237 description: Required. 4238 type: string 4239 value: 4240 type: string 4241 type: object 4242 io.k8s.api.core.v1.PodReadinessGate: 4243 description: PodReadinessGate contains the reference to a pod condition 4244 properties: 4245 conditionType: 4246 description: ConditionType refers to a condition in the pod's condition list 4247 with matching type. 4248 type: string 4249 required: 4250 - conditionType 4251 type: object 4252 io.k8s.api.core.v1.PodSecurityContext: 4253 description: PodSecurityContext holds pod-level security attributes and common 4254 container settings. Some fields are also present in container.securityContext. Field 4255 values of container.securityContext take precedence over field values of PodSecurityContext. 4256 properties: 4257 fsGroup: 4258 description: |- 4259 A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 4260 4261 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- 4262 4263 If unset, the Kubelet will not modify the ownership and permissions of any volume. 4264 format: int64 4265 type: integer 4266 runAsGroup: 4267 description: The GID to run the entrypoint of the container process. Uses 4268 runtime default if unset. May also be set in SecurityContext. If set in 4269 both SecurityContext and PodSecurityContext, the value specified in SecurityContext 4270 takes precedence for that container. 4271 format: int64 4272 type: integer 4273 runAsNonRoot: 4274 description: Indicates that the container must run as a non-root user. If 4275 true, the Kubelet will validate the image at runtime to ensure that it does 4276 not run as UID 0 (root) and fail to start the container if it does. If unset 4277 or false, no such validation will be performed. May also be set in SecurityContext. If 4278 set in both SecurityContext and PodSecurityContext, the value specified 4279 in SecurityContext takes precedence. 4280 type: boolean 4281 runAsUser: 4282 description: The UID to run the entrypoint of the container process. Defaults 4283 to user specified in image metadata if unspecified. May also be set in SecurityContext. If 4284 set in both SecurityContext and PodSecurityContext, the value specified 4285 in SecurityContext takes precedence for that container. 4286 format: int64 4287 type: integer 4288 seLinuxOptions: 4289 $ref: '#/definitions/io.k8s.api.core.v1.SELinuxOptions' 4290 description: The SELinux context to be applied to all containers. If unspecified, 4291 the container runtime will allocate a random SELinux context for each container. May 4292 also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, 4293 the value specified in SecurityContext takes precedence for that container. 4294 supplementalGroups: 4295 description: A list of groups applied to the first process run in each container, 4296 in addition to the container's primary GID. If unspecified, no groups will 4297 be added to any container. 4298 items: 4299 format: int64 4300 type: integer 4301 type: array 4302 sysctls: 4303 description: Sysctls hold a list of namespaced sysctls used for the pod. Pods 4304 with unsupported sysctls (by the container runtime) might fail to launch. 4305 items: 4306 $ref: '#/definitions/io.k8s.api.core.v1.Sysctl' 4307 type: array 4308 windowsOptions: 4309 $ref: '#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions' 4310 description: The Windows specific settings applied to all containers. If unspecified, 4311 the options within a container's SecurityContext will be used. If set in 4312 both SecurityContext and PodSecurityContext, the value specified in SecurityContext 4313 takes precedence. 4314 type: object 4315 io.k8s.api.core.v1.PodSpec: 4316 description: PodSpec is a description of a pod. 4317 properties: 4318 activeDeadlineSeconds: 4319 description: Optional duration in seconds the pod may be active on the node 4320 relative to StartTime before the system will actively try to mark it failed 4321 and kill associated containers. Value must be a positive integer. 4322 format: int64 4323 type: integer 4324 affinity: 4325 $ref: '#/definitions/io.k8s.api.core.v1.Affinity' 4326 description: If specified, the pod's scheduling constraints 4327 automountServiceAccountToken: 4328 description: AutomountServiceAccountToken indicates whether a service account 4329 token should be automatically mounted. 4330 type: boolean 4331 containers: 4332 description: List of containers belonging to the pod. Containers cannot currently 4333 be added or removed. There must be at least one container in a Pod. Cannot 4334 be updated. 4335 items: 4336 $ref: '#/definitions/io.k8s.api.core.v1.Container' 4337 type: array 4338 x-kubernetes-patch-merge-key: name 4339 x-kubernetes-patch-strategy: merge 4340 dnsConfig: 4341 $ref: '#/definitions/io.k8s.api.core.v1.PodDNSConfig' 4342 description: Specifies the DNS parameters of a pod. Parameters specified here 4343 will be merged to the generated DNS configuration based on DNSPolicy. 4344 dnsPolicy: 4345 description: Set DNS policy for the pod. Defaults to "ClusterFirst". Valid 4346 values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. 4347 DNS parameters given in DNSConfig will be merged with the policy selected 4348 with DNSPolicy. To have DNS options set along with hostNetwork, you have 4349 to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. 4350 type: string 4351 enableServiceLinks: 4352 description: 'EnableServiceLinks indicates whether information about services 4353 should be injected into pod''s environment variables, matching the syntax 4354 of Docker links. Optional: Defaults to true.' 4355 type: boolean 4356 ephemeralContainers: 4357 description: List of ephemeral containers run in this pod. Ephemeral containers 4358 may be run in an existing pod to perform user-initiated actions such as 4359 debugging. This list cannot be specified when creating a pod, and it cannot 4360 be modified by updating the pod spec. In order to add an ephemeral container 4361 to an existing pod, use the pod's ephemeralcontainers subresource. This 4362 field is alpha-level and is only honored by servers that enable the EphemeralContainers 4363 feature. 4364 items: 4365 $ref: '#/definitions/io.k8s.api.core.v1.EphemeralContainer' 4366 type: array 4367 x-kubernetes-patch-merge-key: name 4368 x-kubernetes-patch-strategy: merge 4369 hostAliases: 4370 description: HostAliases is an optional list of hosts and IPs that will be 4371 injected into the pod's hosts file if specified. This is only valid for 4372 non-hostNetwork pods. 4373 items: 4374 $ref: '#/definitions/io.k8s.api.core.v1.HostAlias' 4375 type: array 4376 x-kubernetes-patch-merge-key: ip 4377 x-kubernetes-patch-strategy: merge 4378 hostIPC: 4379 description: 'Use the host''s ipc namespace. Optional: Default to false.' 4380 type: boolean 4381 hostNetwork: 4382 description: Host networking requested for this pod. Use the host's network 4383 namespace. If this option is set, the ports that will be used must be specified. 4384 Default to false. 4385 type: boolean 4386 hostPID: 4387 description: 'Use the host''s pid namespace. Optional: Default to false.' 4388 type: boolean 4389 hostname: 4390 description: Specifies the hostname of the Pod If not specified, the pod's 4391 hostname will be set to a system-defined value. 4392 type: string 4393 imagePullSecrets: 4394 description: 'ImagePullSecrets is an optional list of references to secrets 4395 in the same namespace to use for pulling any of the images used by this 4396 PodSpec. If specified, these secrets will be passed to individual puller 4397 implementations for them to use. For example, in the case of docker, only 4398 DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod' 4399 items: 4400 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 4401 type: array 4402 x-kubernetes-patch-merge-key: name 4403 x-kubernetes-patch-strategy: merge 4404 initContainers: 4405 description: 'List of initialization containers belonging to the pod. Init 4406 containers are executed in order prior to containers being started. If any 4407 init container fails, the pod is considered to have failed and is handled 4408 according to its restartPolicy. The name for an init container or normal 4409 container must be unique among all containers. Init containers may not have 4410 Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. 4411 The resourceRequirements of an init container are taken into account during 4412 scheduling by finding the highest request/limit for each resource type, 4413 and then using the max of of that value or the sum of the normal containers. 4414 Limits are applied to init containers in a similar fashion. Init containers 4415 cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/' 4416 items: 4417 $ref: '#/definitions/io.k8s.api.core.v1.Container' 4418 type: array 4419 x-kubernetes-patch-merge-key: name 4420 x-kubernetes-patch-strategy: merge 4421 nodeName: 4422 description: NodeName is a request to schedule this pod onto a specific node. 4423 If it is non-empty, the scheduler simply schedules this pod onto that node, 4424 assuming that it fits resource requirements. 4425 type: string 4426 nodeSelector: 4427 additionalProperties: 4428 type: string 4429 description: 'NodeSelector is a selector which must be true for the pod to 4430 fit on a node. Selector which must match a node''s labels for the pod to 4431 be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/' 4432 type: object 4433 overhead: 4434 additionalProperties: 4435 $ref: '#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity' 4436 description: 'Overhead represents the resource overhead associated with running 4437 a pod for a given RuntimeClass. This field will be autopopulated at admission 4438 time by the RuntimeClass admission controller. If the RuntimeClass admission 4439 controller is enabled, overhead must not be set in Pod create requests. 4440 The RuntimeClass admission controller will reject Pod create requests which 4441 have the overhead already set. If RuntimeClass is configured and selected 4442 in the PodSpec, Overhead will be set to the value defined in the corresponding 4443 RuntimeClass, otherwise it will remain unset and treated as zero. More info: 4444 https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This 4445 field is alpha-level as of Kubernetes v1.16, and is only honored by servers 4446 that enable the PodOverhead feature.' 4447 type: object 4448 preemptionPolicy: 4449 description: PreemptionPolicy is the Policy for preempting pods with lower 4450 priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority 4451 if unset. This field is alpha-level and is only honored by servers that 4452 enable the NonPreemptingPriority feature. 4453 type: string 4454 priority: 4455 description: The priority value. Various system components use this field 4456 to find the priority of the pod. When Priority Admission Controller is enabled, 4457 it prevents users from setting this field. The admission controller populates 4458 this field from PriorityClassName. The higher the value, the higher the 4459 priority. 4460 format: int32 4461 type: integer 4462 priorityClassName: 4463 description: If specified, indicates the pod's priority. "system-node-critical" 4464 and "system-cluster-critical" are two special keywords which indicate the 4465 highest priorities with the former being the highest priority. Any other 4466 name must be defined by creating a PriorityClass object with that name. 4467 If not specified, the pod priority will be default or zero if there is no 4468 default. 4469 type: string 4470 readinessGates: 4471 description: 'If specified, all readiness gates will be evaluated for pod 4472 readiness. A pod is ready when all its containers are ready AND all conditions 4473 specified in the readiness gates have status equal to "True" More info: 4474 https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md' 4475 items: 4476 $ref: '#/definitions/io.k8s.api.core.v1.PodReadinessGate' 4477 type: array 4478 restartPolicy: 4479 description: 'Restart policy for all containers within the pod. One of Always, 4480 OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy' 4481 type: string 4482 runtimeClassName: 4483 description: 'RuntimeClassName refers to a RuntimeClass object in the node.k8s.io 4484 group, which should be used to run this pod. If no RuntimeClass resource 4485 matches the named class, the pod will not be run. If unset or empty, the 4486 "legacy" RuntimeClass will be used, which is an implicit class with an empty 4487 definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md 4488 This is a beta feature as of Kubernetes v1.14.' 4489 type: string 4490 schedulerName: 4491 description: If specified, the pod will be dispatched by specified scheduler. 4492 If not specified, the pod will be dispatched by default scheduler. 4493 type: string 4494 securityContext: 4495 $ref: '#/definitions/io.k8s.api.core.v1.PodSecurityContext' 4496 description: 'SecurityContext holds pod-level security attributes and common 4497 container settings. Optional: Defaults to empty. See type description for 4498 default values of each field.' 4499 serviceAccount: 4500 description: 'DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. 4501 Deprecated: Use serviceAccountName instead.' 4502 type: string 4503 serviceAccountName: 4504 description: 'ServiceAccountName is the name of the ServiceAccount to use 4505 to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/' 4506 type: string 4507 shareProcessNamespace: 4508 description: 'Share a single process namespace between all of the containers 4509 in a pod. When this is set containers will be able to view and signal processes 4510 from other containers in the same pod, and the first process in each container 4511 will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both 4512 be set. Optional: Default to false. This field is beta-level and may be 4513 disabled with the PodShareProcessNamespace feature.' 4514 type: boolean 4515 subdomain: 4516 description: If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod 4517 namespace>.svc.<cluster domain>". If not specified, the pod will not have 4518 a domainname at all. 4519 type: string 4520 terminationGracePeriodSeconds: 4521 description: Optional duration in seconds the pod needs to terminate gracefully. 4522 May be decreased in delete request. Value must be non-negative integer. 4523 The value zero indicates delete immediately. If this value is nil, the default 4524 grace period will be used instead. The grace period is the duration in seconds 4525 after the processes running in the pod are sent a termination signal and 4526 the time when the processes are forcibly halted with a kill signal. Set 4527 this value longer than the expected cleanup time for your process. Defaults 4528 to 30 seconds. 4529 format: int64 4530 type: integer 4531 tolerations: 4532 description: If specified, the pod's tolerations. 4533 items: 4534 $ref: '#/definitions/io.k8s.api.core.v1.Toleration' 4535 type: array 4536 topologySpreadConstraints: 4537 description: TopologySpreadConstraints describes how a group of pods ought 4538 to spread across topology domains. Scheduler will schedule pods in a way 4539 which abides by the constraints. This field is alpha-level and is only honored 4540 by clusters that enables the EvenPodsSpread feature. All topologySpreadConstraints 4541 are ANDed. 4542 items: 4543 $ref: '#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint' 4544 type: array 4545 x-kubernetes-list-map-keys: 4546 - topologyKey 4547 - whenUnsatisfiable 4548 x-kubernetes-list-type: map 4549 x-kubernetes-patch-merge-key: topologyKey 4550 x-kubernetes-patch-strategy: merge 4551 volumes: 4552 description: 'List of volumes that can be mounted by containers belonging 4553 to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes' 4554 items: 4555 $ref: '#/definitions/io.k8s.api.core.v1.Volume' 4556 type: array 4557 x-kubernetes-patch-merge-key: name 4558 x-kubernetes-patch-strategy: merge,retainKeys 4559 required: 4560 - containers 4561 type: object 4562 io.k8s.api.core.v1.PodTemplateSpec: 4563 description: PodTemplateSpec describes the data a pod should have when created 4564 from a template 4565 properties: 4566 metadata: 4567 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 4568 description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' 4569 spec: 4570 $ref: '#/definitions/io.k8s.api.core.v1.PodSpec' 4571 description: 'Specification of the desired behavior of the pod. More info: 4572 https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status' 4573 type: object 4574 io.k8s.api.core.v1.PortworxVolumeSource: 4575 description: PortworxVolumeSource represents a Portworx volume resource. 4576 properties: 4577 fsType: 4578 description: FSType represents the filesystem type to mount Must be a filesystem 4579 type supported by the host operating system. Ex. "ext4", "xfs". Implicitly 4580 inferred to be "ext4" if unspecified. 4581 type: string 4582 readOnly: 4583 description: Defaults to false (read/write). ReadOnly here will force the 4584 ReadOnly setting in VolumeMounts. 4585 type: boolean 4586 volumeID: 4587 description: VolumeID uniquely identifies a Portworx volume 4588 type: string 4589 required: 4590 - volumeID 4591 type: object 4592 io.k8s.api.core.v1.PreferredSchedulingTerm: 4593 description: An empty preferred scheduling term matches all objects with implicit 4594 weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects 4595 (i.e. is also a no-op). 4596 properties: 4597 preference: 4598 $ref: '#/definitions/io.k8s.api.core.v1.NodeSelectorTerm' 4599 description: A node selector term, associated with the corresponding weight. 4600 weight: 4601 description: Weight associated with matching the corresponding nodeSelectorTerm, 4602 in the range 1-100. 4603 format: int32 4604 type: integer 4605 required: 4606 - weight 4607 - preference 4608 type: object 4609 io.k8s.api.core.v1.Probe: 4610 description: Probe describes a health check to be performed against a container 4611 to determine whether it is alive or ready to receive traffic. 4612 properties: 4613 exec: 4614 $ref: '#/definitions/io.k8s.api.core.v1.ExecAction' 4615 description: One and only one of the following should be specified. Exec specifies 4616 the action to take. 4617 failureThreshold: 4618 description: Minimum consecutive failures for the probe to be considered failed 4619 after having succeeded. Defaults to 3. Minimum value is 1. 4620 format: int32 4621 type: integer 4622 httpGet: 4623 $ref: '#/definitions/io.k8s.api.core.v1.HTTPGetAction' 4624 description: HTTPGet specifies the http request to perform. 4625 initialDelaySeconds: 4626 description: 'Number of seconds after the container has started before liveness 4627 probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes' 4628 format: int32 4629 type: integer 4630 periodSeconds: 4631 description: How often (in seconds) to perform the probe. Default to 10 seconds. 4632 Minimum value is 1. 4633 format: int32 4634 type: integer 4635 successThreshold: 4636 description: Minimum consecutive successes for the probe to be considered 4637 successful after having failed. Defaults to 1. Must be 1 for liveness and 4638 startup. Minimum value is 1. 4639 format: int32 4640 type: integer 4641 tcpSocket: 4642 $ref: '#/definitions/io.k8s.api.core.v1.TCPSocketAction' 4643 description: TCPSocket specifies an action involving a TCP port. TCP hooks 4644 not yet supported 4645 timeoutSeconds: 4646 description: 'Number of seconds after which the probe times out. Defaults 4647 to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes' 4648 format: int32 4649 type: integer 4650 type: object 4651 io.k8s.api.core.v1.ProjectedVolumeSource: 4652 description: Represents a projected volume source 4653 properties: 4654 defaultMode: 4655 description: Mode bits to use on created files by default. Must be a value 4656 between 0 and 0777. Directories within the path are not affected by this 4657 setting. This might be in conflict with other options that affect the file 4658 mode, like fsGroup, and the result can be other mode bits set. 4659 format: int32 4660 type: integer 4661 sources: 4662 description: list of volume projections 4663 items: 4664 $ref: '#/definitions/io.k8s.api.core.v1.VolumeProjection' 4665 type: array 4666 required: 4667 - sources 4668 type: object 4669 io.k8s.api.core.v1.QuobyteVolumeSource: 4670 description: Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte 4671 volumes do not support ownership management or SELinux relabeling. 4672 properties: 4673 group: 4674 description: Group to map volume access to Default is no group 4675 type: string 4676 readOnly: 4677 description: ReadOnly here will force the Quobyte volume to be mounted with 4678 read-only permissions. Defaults to false. 4679 type: boolean 4680 registry: 4681 description: Registry represents a single or multiple Quobyte Registry services 4682 specified as a string as host:port pair (multiple entries are separated 4683 with commas) which acts as the central registry for volumes 4684 type: string 4685 tenant: 4686 description: Tenant owning the given Quobyte volume in the Backend Used with 4687 dynamically provisioned Quobyte volumes, value is set by the plugin 4688 type: string 4689 user: 4690 description: User to map volume access to Defaults to serivceaccount user 4691 type: string 4692 volume: 4693 description: Volume is a string that references an already created Quobyte 4694 volume by name. 4695 type: string 4696 required: 4697 - registry 4698 - volume 4699 type: object 4700 io.k8s.api.core.v1.RBDVolumeSource: 4701 description: Represents a Rados Block Device mount that lasts the lifetime of 4702 a pod. RBD volumes support ownership management and SELinux relabeling. 4703 properties: 4704 fsType: 4705 description: 'Filesystem type of the volume that you want to mount. Tip: Ensure 4706 that the filesystem type is supported by the host operating system. Examples: 4707 "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. 4708 More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd' 4709 type: string 4710 image: 4711 description: 'The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4712 type: string 4713 keyring: 4714 description: 'Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. 4715 More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4716 type: string 4717 monitors: 4718 description: 'A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4719 items: 4720 type: string 4721 type: array 4722 pool: 4723 description: 'The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4724 type: string 4725 readOnly: 4726 description: 'ReadOnly here will force the ReadOnly setting in VolumeMounts. 4727 Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4728 type: boolean 4729 secretRef: 4730 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 4731 description: 'SecretRef is name of the authentication secret for RBDUser. 4732 If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4733 user: 4734 description: 'The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it' 4735 type: string 4736 required: 4737 - monitors 4738 - image 4739 type: object 4740 io.k8s.api.core.v1.ResourceFieldSelector: 4741 description: ResourceFieldSelector represents container resources (cpu, memory) 4742 and their output format 4743 properties: 4744 containerName: 4745 description: 'Container name: required for volumes, optional for env vars' 4746 type: string 4747 divisor: 4748 $ref: '#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity' 4749 description: Specifies the output format of the exposed resources, defaults 4750 to "1" 4751 resource: 4752 description: 'Required: resource to select' 4753 type: string 4754 required: 4755 - resource 4756 type: object 4757 io.k8s.api.core.v1.ResourceRequirements: 4758 description: ResourceRequirements describes the compute resource requirements. 4759 properties: 4760 limits: 4761 additionalProperties: 4762 $ref: '#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity' 4763 description: 'Limits describes the maximum amount of compute resources allowed. 4764 More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' 4765 type: object 4766 requests: 4767 additionalProperties: 4768 $ref: '#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity' 4769 description: 'Requests describes the minimum amount of compute resources required. 4770 If Requests is omitted for a container, it defaults to Limits if that is 4771 explicitly specified, otherwise to an implementation-defined value. More 4772 info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' 4773 type: object 4774 type: object 4775 io.k8s.api.core.v1.SELinuxOptions: 4776 description: SELinuxOptions are the labels to be applied to the container 4777 properties: 4778 level: 4779 description: Level is SELinux level label that applies to the container. 4780 type: string 4781 role: 4782 description: Role is a SELinux role label that applies to the container. 4783 type: string 4784 type: 4785 description: Type is a SELinux type label that applies to the container. 4786 type: string 4787 user: 4788 description: User is a SELinux user label that applies to the container. 4789 type: string 4790 type: object 4791 io.k8s.api.core.v1.ScaleIOVolumeSource: 4792 description: ScaleIOVolumeSource represents a persistent ScaleIO volume 4793 properties: 4794 fsType: 4795 description: Filesystem type to mount. Must be a filesystem type supported 4796 by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". 4797 type: string 4798 gateway: 4799 description: The host address of the ScaleIO API Gateway. 4800 type: string 4801 protectionDomain: 4802 description: The name of the ScaleIO Protection Domain for the configured 4803 storage. 4804 type: string 4805 readOnly: 4806 description: Defaults to false (read/write). ReadOnly here will force the 4807 ReadOnly setting in VolumeMounts. 4808 type: boolean 4809 secretRef: 4810 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 4811 description: SecretRef references to the secret for ScaleIO user and other 4812 sensitive information. If this is not provided, Login operation will fail. 4813 sslEnabled: 4814 description: Flag to enable/disable SSL communication with Gateway, default 4815 false 4816 type: boolean 4817 storageMode: 4818 description: Indicates whether the storage for a volume should be ThickProvisioned 4819 or ThinProvisioned. Default is ThinProvisioned. 4820 type: string 4821 storagePool: 4822 description: The ScaleIO Storage Pool associated with the protection domain. 4823 type: string 4824 system: 4825 description: The name of the storage system as configured in ScaleIO. 4826 type: string 4827 volumeName: 4828 description: The name of a volume already created in the ScaleIO system that 4829 is associated with this volume source. 4830 type: string 4831 required: 4832 - gateway 4833 - system 4834 - secretRef 4835 type: object 4836 io.k8s.api.core.v1.SecretEnvSource: 4837 description: |- 4838 SecretEnvSource selects a Secret to populate the environment variables with. 4839 4840 The contents of the target Secret's Data field will represent the key-value pairs as environment variables. 4841 properties: 4842 name: 4843 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 4844 type: string 4845 optional: 4846 description: Specify whether the Secret must be defined 4847 type: boolean 4848 type: object 4849 io.k8s.api.core.v1.SecretKeySelector: 4850 description: SecretKeySelector selects a key of a Secret. 4851 properties: 4852 key: 4853 description: The key of the secret to select from. Must be a valid secret 4854 key. 4855 type: string 4856 name: 4857 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 4858 type: string 4859 optional: 4860 description: Specify whether the Secret or its key must be defined 4861 type: boolean 4862 required: 4863 - key 4864 type: object 4865 io.k8s.api.core.v1.SecretProjection: 4866 description: |- 4867 Adapts a secret into a projected volume. 4868 4869 The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. 4870 properties: 4871 items: 4872 description: If unspecified, each key-value pair in the Data field of the 4873 referenced Secret will be projected into the volume as a file whose name 4874 is the key and content is the value. If specified, the listed keys will 4875 be projected into the specified paths, and unlisted keys will not be present. 4876 If a key is specified which is not present in the Secret, the volume setup 4877 will error unless it is marked optional. Paths must be relative and may 4878 not contain the '..' path or start with '..'. 4879 items: 4880 $ref: '#/definitions/io.k8s.api.core.v1.KeyToPath' 4881 type: array 4882 name: 4883 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 4884 type: string 4885 optional: 4886 description: Specify whether the Secret or its key must be defined 4887 type: boolean 4888 type: object 4889 io.k8s.api.core.v1.SecretVolumeSource: 4890 description: |- 4891 Adapts a Secret into a volume. 4892 4893 The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. 4894 properties: 4895 defaultMode: 4896 description: 'Optional: mode bits to use on created files by default. Must 4897 be a value between 0 and 0777. Defaults to 0644. Directories within the 4898 path are not affected by this setting. This might be in conflict with other 4899 options that affect the file mode, like fsGroup, and the result can be other 4900 mode bits set.' 4901 format: int32 4902 type: integer 4903 items: 4904 description: If unspecified, each key-value pair in the Data field of the 4905 referenced Secret will be projected into the volume as a file whose name 4906 is the key and content is the value. If specified, the listed keys will 4907 be projected into the specified paths, and unlisted keys will not be present. 4908 If a key is specified which is not present in the Secret, the volume setup 4909 will error unless it is marked optional. Paths must be relative and may 4910 not contain the '..' path or start with '..'. 4911 items: 4912 $ref: '#/definitions/io.k8s.api.core.v1.KeyToPath' 4913 type: array 4914 optional: 4915 description: Specify whether the Secret or its keys must be defined 4916 type: boolean 4917 secretName: 4918 description: 'Name of the secret in the pod''s namespace to use. More info: 4919 https://kubernetes.io/docs/concepts/storage/volumes#secret' 4920 type: string 4921 type: object 4922 io.k8s.api.core.v1.SecurityContext: 4923 description: SecurityContext holds security configuration that will be applied 4924 to a container. Some fields are present in both SecurityContext and PodSecurityContext. When 4925 both are set, the values in SecurityContext take precedence. 4926 properties: 4927 allowPrivilegeEscalation: 4928 description: 'AllowPrivilegeEscalation controls whether a process can gain 4929 more privileges than its parent process. This bool directly controls if 4930 the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation 4931 is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN' 4932 type: boolean 4933 capabilities: 4934 $ref: '#/definitions/io.k8s.api.core.v1.Capabilities' 4935 description: The capabilities to add/drop when running containers. Defaults 4936 to the default set of capabilities granted by the container runtime. 4937 privileged: 4938 description: Run container in privileged mode. Processes in privileged containers 4939 are essentially equivalent to root on the host. Defaults to false. 4940 type: boolean 4941 procMount: 4942 description: procMount denotes the type of proc mount to use for the containers. 4943 The default is DefaultProcMount which uses the container runtime defaults 4944 for readonly paths and masked paths. This requires the ProcMountType feature 4945 flag to be enabled. 4946 type: string 4947 readOnlyRootFilesystem: 4948 description: Whether this container has a read-only root filesystem. Default 4949 is false. 4950 type: boolean 4951 runAsGroup: 4952 description: The GID to run the entrypoint of the container process. Uses 4953 runtime default if unset. May also be set in PodSecurityContext. If set 4954 in both SecurityContext and PodSecurityContext, the value specified in SecurityContext 4955 takes precedence. 4956 format: int64 4957 type: integer 4958 runAsNonRoot: 4959 description: Indicates that the container must run as a non-root user. If 4960 true, the Kubelet will validate the image at runtime to ensure that it does 4961 not run as UID 0 (root) and fail to start the container if it does. If unset 4962 or false, no such validation will be performed. May also be set in PodSecurityContext. If 4963 set in both SecurityContext and PodSecurityContext, the value specified 4964 in SecurityContext takes precedence. 4965 type: boolean 4966 runAsUser: 4967 description: The UID to run the entrypoint of the container process. Defaults 4968 to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If 4969 set in both SecurityContext and PodSecurityContext, the value specified 4970 in SecurityContext takes precedence. 4971 format: int64 4972 type: integer 4973 seLinuxOptions: 4974 $ref: '#/definitions/io.k8s.api.core.v1.SELinuxOptions' 4975 description: The SELinux context to be applied to the container. If unspecified, 4976 the container runtime will allocate a random SELinux context for each container. May 4977 also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, 4978 the value specified in SecurityContext takes precedence. 4979 windowsOptions: 4980 $ref: '#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions' 4981 description: The Windows specific settings applied to all containers. If unspecified, 4982 the options from the PodSecurityContext will be used. If set in both SecurityContext 4983 and PodSecurityContext, the value specified in SecurityContext takes precedence. 4984 type: object 4985 io.k8s.api.core.v1.ServiceAccountTokenProjection: 4986 description: ServiceAccountTokenProjection represents a projected service account 4987 token volume. This projection can be used to insert a service account token 4988 into the pods runtime filesystem for use against APIs (Kubernetes API Server 4989 or otherwise). 4990 properties: 4991 audience: 4992 description: Audience is the intended audience of the token. A recipient of 4993 a token must identify itself with an identifier specified in the audience 4994 of the token, and otherwise should reject the token. The audience defaults 4995 to the identifier of the apiserver. 4996 type: string 4997 expirationSeconds: 4998 description: ExpirationSeconds is the requested duration of validity of the 4999 service account token. As the token approaches expiration, the kubelet volume 5000 plugin will proactively rotate the service account token. The kubelet will 5001 start trying to rotate the token if the token is older than 80 percent of 5002 its time to live or if the token is older than 24 hours.Defaults to 1 hour 5003 and must be at least 10 minutes. 5004 format: int64 5005 type: integer 5006 path: 5007 description: Path is the path relative to the mount point of the file to project 5008 the token into. 5009 type: string 5010 required: 5011 - path 5012 type: object 5013 io.k8s.api.core.v1.StorageOSVolumeSource: 5014 description: Represents a StorageOS persistent volume resource. 5015 properties: 5016 fsType: 5017 description: Filesystem type to mount. Must be a filesystem type supported 5018 by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred 5019 to be "ext4" if unspecified. 5020 type: string 5021 readOnly: 5022 description: Defaults to false (read/write). ReadOnly here will force the 5023 ReadOnly setting in VolumeMounts. 5024 type: boolean 5025 secretRef: 5026 $ref: '#/definitions/io.k8s.api.core.v1.LocalObjectReference' 5027 description: SecretRef specifies the secret to use for obtaining the StorageOS 5028 API credentials. If not specified, default values will be attempted. 5029 volumeName: 5030 description: VolumeName is the human-readable name of the StorageOS volume. Volume 5031 names are only unique within a namespace. 5032 type: string 5033 volumeNamespace: 5034 description: VolumeNamespace specifies the scope of the volume within StorageOS. If 5035 no namespace is specified then the Pod's namespace will be used. This allows 5036 the Kubernetes name scoping to be mirrored within StorageOS for tighter 5037 integration. Set VolumeName to any name to override the default behaviour. 5038 Set to "default" if you are not using namespaces within StorageOS. Namespaces 5039 that do not pre-exist within StorageOS will be created. 5040 type: string 5041 type: object 5042 io.k8s.api.core.v1.Sysctl: 5043 description: Sysctl defines a kernel parameter to be set 5044 properties: 5045 name: 5046 description: Name of a property to set 5047 type: string 5048 value: 5049 description: Value of a property to set 5050 type: string 5051 required: 5052 - name 5053 - value 5054 type: object 5055 io.k8s.api.core.v1.TCPSocketAction: 5056 description: TCPSocketAction describes an action based on opening a socket 5057 properties: 5058 host: 5059 description: 'Optional: Host name to connect to, defaults to the pod IP.' 5060 type: string 5061 port: 5062 $ref: '#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString' 5063 description: Number or name of the port to access on the container. Number 5064 must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. 5065 required: 5066 - port 5067 type: object 5068 io.k8s.api.core.v1.Toleration: 5069 description: The pod this Toleration is attached to tolerates any taint that matches 5070 the triple <key,value,effect> using the matching operator <operator>. 5071 properties: 5072 effect: 5073 description: Effect indicates the taint effect to match. Empty means match 5074 all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule 5075 and NoExecute. 5076 type: string 5077 key: 5078 description: Key is the taint key that the toleration applies to. Empty means 5079 match all taint keys. If the key is empty, operator must be Exists; this 5080 combination means to match all values and all keys. 5081 type: string 5082 operator: 5083 description: Operator represents a key's relationship to the value. Valid 5084 operators are Exists and Equal. Defaults to Equal. Exists is equivalent 5085 to wildcard for value, so that a pod can tolerate all taints of a particular 5086 category. 5087 type: string 5088 tolerationSeconds: 5089 description: TolerationSeconds represents the period of time the toleration 5090 (which must be of effect NoExecute, otherwise this field is ignored) tolerates 5091 the taint. By default, it is not set, which means tolerate the taint forever 5092 (do not evict). Zero and negative values will be treated as 0 (evict immediately) 5093 by the system. 5094 format: int64 5095 type: integer 5096 value: 5097 description: Value is the taint value the toleration matches to. If the operator 5098 is Exists, the value should be empty, otherwise just a regular string. 5099 type: string 5100 type: object 5101 io.k8s.api.core.v1.TopologySpreadConstraint: 5102 description: TopologySpreadConstraint specifies how to spread matching pods among 5103 the given topology. 5104 properties: 5105 labelSelector: 5106 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector' 5107 description: LabelSelector is used to find matching pods. Pods that match 5108 this label selector are counted to determine the number of pods in their 5109 corresponding topology domain. 5110 maxSkew: 5111 description: 'MaxSkew describes the degree to which pods may be unevenly distributed. 5112 It''s the maximum permitted difference between the number of matching pods 5113 in any two topology domains of a given topology type. For example, in a 5114 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector 5115 spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if 5116 MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; 5117 scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) 5118 violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto 5119 any zone. It''s a required field. Default value is 1 and 0 is not allowed.' 5120 format: int32 5121 type: integer 5122 topologyKey: 5123 description: TopologyKey is the key of node labels. Nodes that have a label 5124 with this key and identical values are considered to be in the same topology. 5125 We consider each <key, value> as a "bucket", and try to put balanced number 5126 of pods into each bucket. It's a required field. 5127 type: string 5128 whenUnsatisfiable: 5129 description: 'WhenUnsatisfiable indicates how to deal with a pod if it doesn''t 5130 satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler 5131 not to schedule it - ScheduleAnyway tells the scheduler to still schedule 5132 it It''s considered as "Unsatisfiable" if and only if placing incoming pod 5133 on any topology violates "MaxSkew". For example, in a 3-zone cluster, MaxSkew 5134 is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 5135 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set 5136 to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to 5137 become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). 5138 In other words, the cluster can still be imbalanced, but scheduler won''t 5139 make it *more* imbalanced. It''s a required field.' 5140 type: string 5141 required: 5142 - maxSkew 5143 - topologyKey 5144 - whenUnsatisfiable 5145 type: object 5146 io.k8s.api.core.v1.Volume: 5147 description: Volume represents a named volume in a pod that may be accessed by 5148 any container in the pod. 5149 properties: 5150 awsElasticBlockStore: 5151 $ref: '#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource' 5152 description: 'AWSElasticBlockStore represents an AWS Disk resource that is 5153 attached to a kubelet''s host machine and then exposed to the pod. More 5154 info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore' 5155 azureDisk: 5156 $ref: '#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource' 5157 description: AzureDisk represents an Azure Data Disk mount on the host and 5158 bind mount to the pod. 5159 azureFile: 5160 $ref: '#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource' 5161 description: AzureFile represents an Azure File Service mount on the host 5162 and bind mount to the pod. 5163 cephfs: 5164 $ref: '#/definitions/io.k8s.api.core.v1.CephFSVolumeSource' 5165 description: CephFS represents a Ceph FS mount on the host that shares a pod's 5166 lifetime 5167 cinder: 5168 $ref: '#/definitions/io.k8s.api.core.v1.CinderVolumeSource' 5169 description: 'Cinder represents a cinder volume attached and mounted on kubelets 5170 host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md' 5171 configMap: 5172 $ref: '#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource' 5173 description: ConfigMap represents a configMap that should populate this volume 5174 csi: 5175 $ref: '#/definitions/io.k8s.api.core.v1.CSIVolumeSource' 5176 description: CSI (Container Storage Interface) represents storage that is 5177 handled by an external CSI driver (Alpha feature). 5178 downwardAPI: 5179 $ref: '#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource' 5180 description: DownwardAPI represents downward API about the pod that should 5181 populate this volume 5182 emptyDir: 5183 $ref: '#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource' 5184 description: 'EmptyDir represents a temporary directory that shares a pod''s 5185 lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' 5186 fc: 5187 $ref: '#/definitions/io.k8s.api.core.v1.FCVolumeSource' 5188 description: FC represents a Fibre Channel resource that is attached to a 5189 kubelet's host machine and then exposed to the pod. 5190 flexVolume: 5191 $ref: '#/definitions/io.k8s.api.core.v1.FlexVolumeSource' 5192 description: FlexVolume represents a generic volume resource that is provisioned/attached 5193 using an exec based plugin. 5194 flocker: 5195 $ref: '#/definitions/io.k8s.api.core.v1.FlockerVolumeSource' 5196 description: Flocker represents a Flocker volume attached to a kubelet's host 5197 machine. This depends on the Flocker control service being running 5198 gcePersistentDisk: 5199 $ref: '#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource' 5200 description: 'GCEPersistentDisk represents a GCE Disk resource that is attached 5201 to a kubelet''s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk' 5202 gitRepo: 5203 $ref: '#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource' 5204 description: 'GitRepo represents a git repository at a particular revision. 5205 DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, 5206 mount an EmptyDir into an InitContainer that clones the repo using git, 5207 then mount the EmptyDir into the Pod''s container.' 5208 glusterfs: 5209 $ref: '#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource' 5210 description: 'Glusterfs represents a Glusterfs mount on the host that shares 5211 a pod''s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md' 5212 hostPath: 5213 $ref: '#/definitions/io.k8s.api.core.v1.HostPathVolumeSource' 5214 description: 'HostPath represents a pre-existing file or directory on the 5215 host machine that is directly exposed to the container. This is generally 5216 used for system agents or other privileged things that are allowed to see 5217 the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath' 5218 iscsi: 5219 $ref: '#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource' 5220 description: 'ISCSI represents an ISCSI Disk resource that is attached to 5221 a kubelet''s host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md' 5222 name: 5223 description: 'Volume''s name. Must be a DNS_LABEL and unique within the pod. 5224 More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 5225 type: string 5226 nfs: 5227 $ref: '#/definitions/io.k8s.api.core.v1.NFSVolumeSource' 5228 description: 'NFS represents an NFS mount on the host that shares a pod''s 5229 lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs' 5230 persistentVolumeClaim: 5231 $ref: '#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource' 5232 description: 'PersistentVolumeClaimVolumeSource represents a reference to 5233 a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims' 5234 photonPersistentDisk: 5235 $ref: '#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource' 5236 description: PhotonPersistentDisk represents a PhotonController persistent 5237 disk attached and mounted on kubelets host machine 5238 portworxVolume: 5239 $ref: '#/definitions/io.k8s.api.core.v1.PortworxVolumeSource' 5240 description: PortworxVolume represents a portworx volume attached and mounted 5241 on kubelets host machine 5242 projected: 5243 $ref: '#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource' 5244 description: Items for all in one resources secrets, configmaps, and downward 5245 API 5246 quobyte: 5247 $ref: '#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource' 5248 description: Quobyte represents a Quobyte mount on the host that shares a 5249 pod's lifetime 5250 rbd: 5251 $ref: '#/definitions/io.k8s.api.core.v1.RBDVolumeSource' 5252 description: 'RBD represents a Rados Block Device mount on the host that shares 5253 a pod''s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md' 5254 scaleIO: 5255 $ref: '#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource' 5256 description: ScaleIO represents a ScaleIO persistent volume attached and mounted 5257 on Kubernetes nodes. 5258 secret: 5259 $ref: '#/definitions/io.k8s.api.core.v1.SecretVolumeSource' 5260 description: 'Secret represents a secret that should populate this volume. 5261 More info: https://kubernetes.io/docs/concepts/storage/volumes#secret' 5262 storageos: 5263 $ref: '#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource' 5264 description: StorageOS represents a StorageOS volume attached and mounted 5265 on Kubernetes nodes. 5266 vsphereVolume: 5267 $ref: '#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource' 5268 description: VsphereVolume represents a vSphere volume attached and mounted 5269 on kubelets host machine 5270 required: 5271 - name 5272 type: object 5273 io.k8s.api.core.v1.VolumeDevice: 5274 description: volumeDevice describes a mapping of a raw block device within a container. 5275 properties: 5276 devicePath: 5277 description: devicePath is the path inside of the container that the device 5278 will be mapped to. 5279 type: string 5280 name: 5281 description: name must match the name of a persistentVolumeClaim in the pod 5282 type: string 5283 required: 5284 - name 5285 - devicePath 5286 type: object 5287 io.k8s.api.core.v1.VolumeMount: 5288 description: VolumeMount describes a mounting of a Volume within a container. 5289 properties: 5290 mountPath: 5291 description: Path within the container at which the volume should be mounted. Must 5292 not contain ':'. 5293 type: string 5294 mountPropagation: 5295 description: mountPropagation determines how mounts are propagated from the 5296 host to container and the other way around. When not set, MountPropagationNone 5297 is used. This field is beta in 1.10. 5298 type: string 5299 name: 5300 description: This must match the Name of a Volume. 5301 type: string 5302 readOnly: 5303 description: Mounted read-only if true, read-write otherwise (false or unspecified). 5304 Defaults to false. 5305 type: boolean 5306 subPath: 5307 description: Path within the volume from which the container's volume should 5308 be mounted. Defaults to "" (volume's root). 5309 type: string 5310 subPathExpr: 5311 description: Expanded path within the volume from which the container's volume 5312 should be mounted. Behaves similarly to SubPath but environment variable 5313 references $(VAR_NAME) are expanded using the container's environment. Defaults 5314 to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. This 5315 field is beta in 1.15. 5316 type: string 5317 required: 5318 - name 5319 - mountPath 5320 type: object 5321 io.k8s.api.core.v1.VolumeProjection: 5322 description: Projection that may be projected along with other supported volume 5323 types 5324 properties: 5325 configMap: 5326 $ref: '#/definitions/io.k8s.api.core.v1.ConfigMapProjection' 5327 description: information about the configMap data to project 5328 downwardAPI: 5329 $ref: '#/definitions/io.k8s.api.core.v1.DownwardAPIProjection' 5330 description: information about the downwardAPI data to project 5331 secret: 5332 $ref: '#/definitions/io.k8s.api.core.v1.SecretProjection' 5333 description: information about the secret data to project 5334 serviceAccountToken: 5335 $ref: '#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection' 5336 description: information about the serviceAccountToken data to project 5337 type: object 5338 io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource: 5339 description: Represents a vSphere volume resource. 5340 properties: 5341 fsType: 5342 description: Filesystem type to mount. Must be a filesystem type supported 5343 by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred 5344 to be "ext4" if unspecified. 5345 type: string 5346 storagePolicyID: 5347 description: Storage Policy Based Management (SPBM) profile ID associated 5348 with the StoragePolicyName. 5349 type: string 5350 storagePolicyName: 5351 description: Storage Policy Based Management (SPBM) profile name. 5352 type: string 5353 volumePath: 5354 description: Path that identifies vSphere volume vmdk 5355 type: string 5356 required: 5357 - volumePath 5358 type: object 5359 io.k8s.api.core.v1.WeightedPodAffinityTerm: 5360 description: The weights of all of the matched WeightedPodAffinityTerm fields 5361 are added per-node to find the most preferred node(s) 5362 properties: 5363 podAffinityTerm: 5364 $ref: '#/definitions/io.k8s.api.core.v1.PodAffinityTerm' 5365 description: Required. A pod affinity term, associated with the corresponding 5366 weight. 5367 weight: 5368 description: weight associated with matching the corresponding podAffinityTerm, 5369 in the range 1-100. 5370 format: int32 5371 type: integer 5372 required: 5373 - weight 5374 - podAffinityTerm 5375 type: object 5376 io.k8s.api.core.v1.WindowsSecurityContextOptions: 5377 description: WindowsSecurityContextOptions contain Windows-specific options and 5378 credentials. 5379 properties: 5380 gmsaCredentialSpec: 5381 description: GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) 5382 inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName 5383 field. This field is alpha-level and is only honored by servers that enable 5384 the WindowsGMSA feature flag. 5385 type: string 5386 gmsaCredentialSpecName: 5387 description: GMSACredentialSpecName is the name of the GMSA credential spec 5388 to use. This field is alpha-level and is only honored by servers that enable 5389 the WindowsGMSA feature flag. 5390 type: string 5391 runAsUserName: 5392 description: The UserName in Windows to run the entrypoint of the container 5393 process. Defaults to the user specified in image metadata if unspecified. 5394 May also be set in PodSecurityContext. If set in both SecurityContext and 5395 PodSecurityContext, the value specified in SecurityContext takes precedence. 5396 This field is alpha-level and it is only honored by servers that enable 5397 the WindowsRunAsUserName feature flag. 5398 type: string 5399 type: object 5400 io.k8s.api.rbac.v1.PolicyRule: 5401 description: PolicyRule holds information that describes a policy rule, but does 5402 not contain information about who the rule applies to or which namespace the 5403 rule applies to. 5404 properties: 5405 apiGroups: 5406 description: APIGroups is the name of the APIGroup that contains the resources. If 5407 multiple API groups are specified, any action requested against one of the 5408 enumerated resources in any API group will be allowed. 5409 items: 5410 type: string 5411 type: array 5412 nonResourceURLs: 5413 description: NonResourceURLs is a set of partial urls that a user should have 5414 access to. *s are allowed, but only as the full, final step in the path 5415 Since non-resource URLs are not namespaced, this field is only applicable 5416 for ClusterRoles referenced from a ClusterRoleBinding. Rules can either 5417 apply to API resources (such as "pods" or "secrets") or non-resource URL 5418 paths (such as "/api"), but not both. 5419 items: 5420 type: string 5421 type: array 5422 resourceNames: 5423 description: ResourceNames is an optional white list of names that the rule 5424 applies to. An empty set means that everything is allowed. 5425 items: 5426 type: string 5427 type: array 5428 resources: 5429 description: Resources is a list of resources this rule applies to. ResourceAll 5430 represents all resources. 5431 items: 5432 type: string 5433 type: array 5434 verbs: 5435 description: Verbs is a list of Verbs that apply to ALL the ResourceKinds 5436 and AttributeRestrictions contained in this rule. VerbAll represents all 5437 kinds. 5438 items: 5439 type: string 5440 type: array 5441 required: 5442 - verbs 5443 type: object 5444 io.k8s.api.rbac.v1.Role: 5445 description: Role is a namespaced, logical grouping of PolicyRules that can be 5446 referenced as a unit by a RoleBinding. 5447 properties: 5448 apiVersion: 5449 description: 'APIVersion defines the versioned schema of this representation 5450 of an object. Servers should convert recognized schemas to the latest internal 5451 value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 5452 type: string 5453 kind: 5454 description: 'Kind is a string value representing the REST resource this object 5455 represents. Servers may infer this from the endpoint the client submits 5456 requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 5457 type: string 5458 metadata: 5459 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta' 5460 description: Standard object's metadata. 5461 rules: 5462 description: Rules holds all the PolicyRules for this Role 5463 items: 5464 $ref: '#/definitions/io.k8s.api.rbac.v1.PolicyRule' 5465 type: array 5466 type: object 5467 io.k8s.api.rbac.v1.RoleRef: 5468 description: RoleRef contains information that points to the role being used 5469 properties: 5470 apiGroup: 5471 description: APIGroup is the group for the resource being referenced 5472 type: string 5473 kind: 5474 description: Kind is the type of resource being referenced 5475 type: string 5476 name: 5477 description: Name is the name of resource being referenced 5478 type: string 5479 required: 5480 - apiGroup 5481 - kind 5482 - name 5483 type: object 5484 io.k8s.api.rbac.v1.Subject: 5485 description: Subject contains a reference to the object or user identities a role 5486 binding applies to. This can either hold a direct API object reference, or 5487 a value for non-objects such as user and group names. 5488 properties: 5489 apiGroup: 5490 description: APIGroup holds the API group of the referenced subject. Defaults 5491 to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" 5492 for User and Group subjects. 5493 type: string 5494 kind: 5495 description: Kind of object being referenced. Values defined by this API group 5496 are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized 5497 the kind value, the Authorizer should report an error. 5498 type: string 5499 name: 5500 description: Name of the object being referenced. 5501 type: string 5502 namespace: 5503 description: Namespace of the referenced object. If the object kind is non-namespace, 5504 such as "User" or "Group", and this value is not empty the Authorizer should 5505 report an error. 5506 type: string 5507 required: 5508 - kind 5509 - name 5510 type: object 5511 io.k8s.apimachinery.pkg.api.resource.Quantity: 5512 description: |- 5513 Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. 5514 5515 The serialization format is: 5516 5517 <quantity> ::= <signedNumber><suffix> 5518 (Note that <suffix> may be empty, from the "" case in <decimalSI>.) 5519 <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei 5520 (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) 5521 <decimalSI> ::= m | "" | k | M | G | T | P | E 5522 (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) 5523 <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber> 5524 5525 No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. 5526 5527 When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. 5528 5529 Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: 5530 a. No precision is lost 5531 b. No fractional digits will be emitted 5532 c. The exponent (or suffix) is as large as possible. 5533 The sign will be omitted unless the number is negative. 5534 5535 Examples: 5536 1.5 will be serialized as "1500m" 5537 1.5Gi will be serialized as "1536Mi" 5538 5539 Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. 5540 5541 Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) 5542 5543 This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. 5544 type: string 5545 io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1: 5546 description: |- 5547 FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. 5548 5549 Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. 5550 5551 The exact format is defined in sigs.k8s.io/structured-merge-diff 5552 type: object 5553 io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector: 5554 description: A label selector is a label query over a set of resources. The result 5555 of matchLabels and matchExpressions are ANDed. An empty label selector matches 5556 all objects. A null label selector matches no objects. 5557 properties: 5558 matchExpressions: 5559 description: matchExpressions is a list of label selector requirements. The 5560 requirements are ANDed. 5561 items: 5562 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement' 5563 type: array 5564 matchLabels: 5565 additionalProperties: 5566 type: string 5567 description: matchLabels is a map of {key,value} pairs. A single {key,value} 5568 in the matchLabels map is equivalent to an element of matchExpressions, 5569 whose key field is "key", the operator is "In", and the values array contains 5570 only "value". The requirements are ANDed. 5571 type: object 5572 type: object 5573 io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement: 5574 description: A label selector requirement is a selector that contains values, 5575 a key, and an operator that relates the key and values. 5576 properties: 5577 key: 5578 description: key is the label key that the selector applies to. 5579 type: string 5580 x-kubernetes-patch-merge-key: key 5581 x-kubernetes-patch-strategy: merge 5582 operator: 5583 description: operator represents a key's relationship to a set of values. 5584 Valid operators are In, NotIn, Exists and DoesNotExist. 5585 type: string 5586 values: 5587 description: values is an array of string values. If the operator is In or 5588 NotIn, the values array must be non-empty. If the operator is Exists or 5589 DoesNotExist, the values array must be empty. This array is replaced during 5590 a strategic merge patch. 5591 items: 5592 type: string 5593 type: array 5594 required: 5595 - key 5596 - operator 5597 type: object 5598 io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta: 5599 description: ListMeta describes metadata that synthetic resources must have, including 5600 lists and various status objects. A resource may have only one of {ObjectMeta, 5601 ListMeta}. 5602 properties: 5603 continue: 5604 description: continue may be set if the user set a limit on the number of 5605 items returned, and indicates that the server has more data available. The 5606 value is opaque and may be used to issue another request to the endpoint 5607 that served this list to retrieve the next set of available objects. Continuing 5608 a consistent list may not be possible if the server configuration has changed 5609 or more than a few minutes have passed. The resourceVersion field returned 5610 when using this continue value will be identical to the value in the first 5611 response, unless you have received this token from an error message. 5612 type: string 5613 remainingItemCount: 5614 description: remainingItemCount is the number of subsequent items in the list 5615 which are not included in this list response. If the list request contained 5616 label or field selectors, then the number of remaining items is unknown 5617 and the field will be left unset and omitted during serialization. If the 5618 list is complete (either because it is not chunking or because this is the 5619 last chunk), then there are no more remaining items and this field will 5620 be left unset and omitted during serialization. Servers older than v1.15 5621 do not set this field. The intended use of the remainingItemCount is *estimating* 5622 the size of a collection. Clients should not rely on the remainingItemCount 5623 to be set or to be exact. 5624 format: int64 5625 type: integer 5626 resourceVersion: 5627 description: 'String that identifies the server''s internal version of this 5628 object that can be used by clients to determine when objects have changed. 5629 Value must be treated as opaque by clients and passed unmodified back to 5630 the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' 5631 type: string 5632 selfLink: 5633 description: |- 5634 selfLink is a URL representing this object. Populated by the system. Read-only. 5635 5636 DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. 5637 type: string 5638 type: object 5639 io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry: 5640 description: ManagedFieldsEntry is a workflow-id, a FieldSet and the group version 5641 of the resource that the fieldset applies to. 5642 properties: 5643 apiVersion: 5644 description: APIVersion defines the version of this resource that this field 5645 set applies to. The format is "group/version" just like the top-level APIVersion 5646 field. It is necessary to track the version of a field set because it cannot 5647 be automatically converted. 5648 type: string 5649 fieldsType: 5650 description: 'FieldsType is the discriminator for the different fields format 5651 and version. There is currently only one possible value: "FieldsV1"' 5652 type: string 5653 fieldsV1: 5654 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1' 5655 description: FieldsV1 holds the first JSON version format as described in 5656 the "FieldsV1" type. 5657 manager: 5658 description: Manager is an identifier of the workflow managing these fields. 5659 type: string 5660 operation: 5661 description: Operation is the type of operation which lead to this ManagedFieldsEntry 5662 being created. The only valid values for this field are 'Apply' and 'Update'. 5663 type: string 5664 time: 5665 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 5666 description: Time is timestamp of when these fields were set. It should always 5667 be empty if Operation is 'Apply' 5668 type: object 5669 io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta: 5670 description: ObjectMeta is metadata that all persisted resources must have, which 5671 includes all objects users must create. 5672 properties: 5673 annotations: 5674 additionalProperties: 5675 type: string 5676 description: 'Annotations is an unstructured key value map stored with a resource 5677 that may be set by external tools to store and retrieve arbitrary metadata. 5678 They are not queryable and should be preserved when modifying objects. More 5679 info: http://kubernetes.io/docs/user-guide/annotations' 5680 type: object 5681 clusterName: 5682 description: The name of the cluster which the object belongs to. This is 5683 used to distinguish resources with same name and namespace in different 5684 clusters. This field is not set anywhere right now and apiserver is going 5685 to ignore it if set in create or update request. 5686 type: string 5687 creationTimestamp: 5688 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 5689 description: |- 5690 CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. 5691 5692 Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata 5693 deletionGracePeriodSeconds: 5694 description: Number of seconds allowed for this object to gracefully terminate 5695 before it will be removed from the system. Only set when deletionTimestamp 5696 is also set. May only be shortened. Read-only. 5697 format: int64 5698 type: integer 5699 deletionTimestamp: 5700 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time' 5701 description: |- 5702 DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. 5703 5704 Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata 5705 finalizers: 5706 description: Must be empty before the object is deleted from the registry. 5707 Each entry is an identifier for the responsible component that will remove 5708 the entry from the list. If the deletionTimestamp of the object is non-nil, 5709 entries in this list can only be removed. 5710 items: 5711 type: string 5712 type: array 5713 x-kubernetes-patch-strategy: merge 5714 generateName: 5715 description: |- 5716 GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. 5717 5718 If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). 5719 5720 Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency 5721 type: string 5722 generation: 5723 description: A sequence number representing a specific generation of the desired 5724 state. Populated by the system. Read-only. 5725 format: int64 5726 type: integer 5727 labels: 5728 additionalProperties: 5729 type: string 5730 description: 'Map of string keys and values that can be used to organize and 5731 categorize (scope and select) objects. May match selectors of replication 5732 controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' 5733 type: object 5734 managedFields: 5735 description: ManagedFields maps workflow-id and version to the set of fields 5736 that are managed by that workflow. This is mostly for internal housekeeping, 5737 and users typically shouldn't need to set or understand this field. A workflow 5738 can be the user's name, a controller's name, or the name of a specific apply 5739 path like "ci-cd". The set of fields is always in the version that the workflow 5740 used when modifying the object. 5741 items: 5742 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry' 5743 type: array 5744 name: 5745 description: 'Name must be unique within a namespace. Is required when creating 5746 resources, although some resources may allow a client to request the generation 5747 of an appropriate name automatically. Name is primarily intended for creation 5748 idempotence and configuration definition. Cannot be updated. More info: 5749 http://kubernetes.io/docs/user-guide/identifiers#names' 5750 type: string 5751 namespace: 5752 description: |- 5753 Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. 5754 5755 Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces 5756 type: string 5757 ownerReferences: 5758 description: List of objects depended by this object. If ALL objects in the 5759 list have been deleted, this object will be garbage collected. If this object 5760 is managed by a controller, then an entry in this list will point to this 5761 controller, with the controller field set to true. There cannot be more 5762 than one managing controller. 5763 items: 5764 $ref: '#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference' 5765 type: array 5766 x-kubernetes-patch-merge-key: uid 5767 x-kubernetes-patch-strategy: merge 5768 resourceVersion: 5769 description: |- 5770 An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. 5771 5772 Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency 5773 type: string 5774 selfLink: 5775 description: |- 5776 SelfLink is a URL representing this object. Populated by the system. Read-only. 5777 5778 DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. 5779 type: string 5780 uid: 5781 description: |- 5782 UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. 5783 5784 Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids 5785 type: string 5786 type: object 5787 io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference: 5788 description: OwnerReference contains enough information to let you identify an 5789 owning object. An owning object must be in the same namespace as the dependent, 5790 or be cluster-scoped, so there is no namespace field. 5791 properties: 5792 apiVersion: 5793 description: API version of the referent. 5794 type: string 5795 blockOwnerDeletion: 5796 description: If true, AND if the owner has the "foregroundDeletion" finalizer, 5797 then the owner cannot be deleted from the key-value store until this reference 5798 is removed. Defaults to false. To set this field, a user needs "delete" 5799 permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. 5800 type: boolean 5801 controller: 5802 description: If true, this reference points to the managing controller. 5803 type: boolean 5804 kind: 5805 description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 5806 type: string 5807 name: 5808 description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names' 5809 type: string 5810 uid: 5811 description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' 5812 type: string 5813 required: 5814 - apiVersion 5815 - kind 5816 - name 5817 - uid 5818 type: object 5819 io.k8s.apimachinery.pkg.apis.meta.v1.Time: 5820 description: Time is a wrapper around time.Time which supports correct marshaling 5821 to YAML and JSON. Wrappers are provided for many of the factory methods that 5822 the time package offers. 5823 format: date-time 5824 type: string 5825 io.k8s.apimachinery.pkg.util.intstr.IntOrString: 5826 description: IntOrString is a type that can hold an int32 or a string. When used 5827 in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner 5828 type. This allows you to have, for example, a JSON field that can accept a 5829 name or number. 5830 format: int-or-string 5831 type: string 5832 info: 5833 title: Jenkins X 5834 version: "2.0" 5835 paths: {} 5836 swagger: "2.0"