From 3ea6c2d11472a89ed7fef88350627836dc12c629 Mon Sep 17 00:00:00 2001 From: ayushsatyam146 Date: Tue, 4 Jun 2024 14:15:48 +0530 Subject: [PATCH] Updating `kodata/release.yaml` to v0.13.0 release version We currently have a v0.12.x version in-tree which includes the webhook rolebindings. We are updating the `kodata/release.yaml` with the latest v0.13.0 release. Signed-off by : Ayush Satyam --- controllers/shipwrightbuild_controller.go | 4 +- kodata/release.yaml | 268 +++++++++++++--------- 2 files changed, 160 insertions(+), 112 deletions(-) diff --git a/controllers/shipwrightbuild_controller.go b/controllers/shipwrightbuild_controller.go index bc02d059..70f9272e 100644 --- a/controllers/shipwrightbuild_controller.go +++ b/controllers/shipwrightbuild_controller.go @@ -253,12 +253,14 @@ func (r *ShipwrightBuildReconciler) Reconcile(ctx context.Context, req ctrl.Requ return RequeueWithError(err) } + // Builds 0.12.0 created a ClusterRole and ClusterRolebinding for the Build API conversion webhook. + // These were removed in v0.13.0 - when upgrading, these should be removed if present. err = deleteObjectsIfPresent(ctx, r.Client, []client.Object{ &rbacv1.ClusterRoleBinding{ObjectMeta: metav1.ObjectMeta{Name: "shipwright-build-webhook"}}, &rbacv1.ClusterRole{ObjectMeta: metav1.ObjectMeta{Name: "shipwright-build-webhook"}}, }) if err != nil { - logger.Error(err, "deleting'shipwright-build-webhook' role and cluster role binding") + logger.Error(err, "deleting shipwright-build-webhook ClusterRole and ClusterRoleBinding") return RequeueWithError(err) } diff --git a/kodata/release.yaml b/kodata/release.yaml index fcc1b408..90793ede 100644 --- a/kodata/release.yaml +++ b/kodata/release.yaml @@ -75,32 +75,6 @@ rules: resources: ['serviceaccounts'] verbs: ['get', 'list', 'watch', 'create', 'update', 'delete'] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: shipwright-build-webhook -rules: - - apiGroups: - - "" - resources: - - pods - - events - - configmaps - - secrets - - limitranges - - namespaces - - services - verbs: - - '*' - - apiGroups: - - admissionregistration.k8s.io - - admissionregistration.k8s.io/v1beta1 - resources: - - validatingwebhookconfigurations - verbs: - - '*' - --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 @@ -129,21 +103,6 @@ roleRef: name: shipwright-build-controller apiGroup: rbac.authorization.k8s.io ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: shipwright-build-webhook - namespace: shipwright-build -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: shipwright-build-webhook -subjects: - - kind: ServiceAccount - name: shipwright-build-webhook - namespace: shipwright-build - --- apiVersion: v1 kind: ServiceAccount @@ -193,7 +152,7 @@ spec: serviceAccountName: shipwright-build-controller containers: - name: shipwright-build - image: ghcr.io/shipwright-io/build/shipwright-build-controller:v0.12.0@sha256:ac0382011b8da676cdf77fbd607cd6287348f666a245b174ee213e87364f8c45 + image: ghcr.io/shipwright-io/build/shipwright-build-controller:v0.13.0@sha256:1f0a762f579d9e1722f0524dd570817090d56bbf23bca88d7c09e3b8f0b5801b env: - name: WATCH_NAMESPACE valueFrom: @@ -210,15 +169,15 @@ spec: - name: CONTROLLER_NAME value: "shipwright-build" - name: GIT_CONTAINER_IMAGE - value: ghcr.io/shipwright-io/build/git:v0.12.0@sha256:06b90698211ace92f86304e0f5d440d85c15af637c2ef3dfb84b5a5800c373e7 + value: ghcr.io/shipwright-io/build/git:v0.13.0@sha256:88c69b955621d3029f049c3cb714c21a6c573563a199cd1159e2fdcc48eb1145 - name: GIT_ENABLE_REWRITE_RULE value: "false" - name: IMAGE_PROCESSING_CONTAINER_IMAGE - value: ghcr.io/shipwright-io/build/image-processing:v0.12.0@sha256:9543eaa193b0e720a658f4c10801681af0486294838dab0de4afa15dda4cf9e0 + value: ghcr.io/shipwright-io/build/image-processing:v0.13.0@sha256:a8290360b5d774bdf5d4b6abd1c0a73810b74b7fb5cf1aa54a38c089123458c2 - name: BUNDLE_CONTAINER_IMAGE - value: ghcr.io/shipwright-io/build/bundle:v0.12.0@sha256:cc89d1b4631e335062856ceb537d2c4003424a79ac6d344905b9e1ac5ec58626 + value: ghcr.io/shipwright-io/build/bundle:v0.13.0@sha256:17b2a2adab6300ac0dcda6d2897cdcf9ae1482e5e42254cc24bc9805bac7d26d - name: WAITER_CONTAINER_IMAGE - value: ghcr.io/shipwright-io/build/waiter:v0.12.0@sha256:442feead12d55ebf6ab4d0a77abbc7e075d9d885daee95cedb14981262b30a09 + value: ghcr.io/shipwright-io/build/waiter:v0.13.0@sha256:5d9e124f117dd1b0e6bf3ac1e83370ffc454ab6e2e7f83edd38208004c799dab ports: - containerPort: 8383 name: metrics-port @@ -269,12 +228,13 @@ spec: labels: name: shp-build-webhook spec: + automountServiceAccountToken: false securityContext: runAsNonRoot: true serviceAccountName: shipwright-build-webhook containers: - name: shp-build-webhook - image: ghcr.io/shipwright-io/build/shipwright-build-webhook:v0.12.0@sha256:3a8995ab201890369ce88241a50ff0442c3044a4263791b107b36c96488e7b3e + image: ghcr.io/shipwright-io/build/shipwright-build-webhook:v0.13.0@sha256:27a15838b3297dbf739e1a524cf510b87896923bb6b599ac9a6a043a9b483e2d volumeMounts: - name: webhook-certs mountPath: /etc/webhook/certs @@ -345,7 +305,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.4 + controller-gen.kubebuilder.io/version: v0.12.1 name: buildruns.shipwright.io spec: conversion: @@ -444,6 +404,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -561,6 +524,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -1068,7 +1034,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -1159,7 +1125,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -1886,6 +1852,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -2280,7 +2249,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -2371,7 +2340,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -3016,6 +2985,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -3133,6 +3105,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -3640,7 +3615,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -3731,7 +3706,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -4446,6 +4421,10 @@ spec: name: description: Name is the name of source type: string + timestamp: + description: Timestamp holds the timestamp of the source, which depends on the actual source type and could range from being the commit timestamp or the fileystem timestamp of the most recent source file in the working directory + format: date-time + type: string required: - name type: object @@ -4459,7 +4438,7 @@ spec: - spec type: object served: true - storage: true + storage: false subresources: status: {} - additionalPrinterColumns: @@ -4502,7 +4481,7 @@ spec: description: 'Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names' type: string spec: - description: Build refers to an embedded build specification + description: Spec refers to an embedded build specification properties: env: description: Env contains additional environment variables that should be passed to the build container @@ -4610,6 +4589,9 @@ spec: pushSecret: description: Describes the secret name for pushing a container image. type: string + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -4732,7 +4714,7 @@ spec: description: ContextDir is a path to subfolder in the repo. Optional. type: string git: - description: GitSource + description: Git contains the details for the source of type Git properties: cloneSecret: description: CloneSecret references a Secret that contains credentials to access the repository. @@ -4743,9 +4725,11 @@ spec: url: description: URL describes the URL of the Git repository. type: string + required: + - url type: object local: - description: LocalSource + description: Local contains the details for the source of type Local properties: name: description: Name of the local step @@ -4755,7 +4739,7 @@ spec: type: string type: object ociArtifact: - description: OCIArtifact + description: OCIArtifact contains the details for the source of type OCIArtifact properties: image: description: Image reference, i.e. quay.io/org/image:tag @@ -4770,8 +4754,10 @@ spec: - image type: object type: - description: Type is the BuildSource qualifier, the type of the data-source. + description: Type is the BuildSource qualifier, the type of the source. type: string + required: + - type type: object strategy: description: Strategy references the BuildStrategy to use to build the container image. @@ -5103,7 +5089,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -5194,7 +5180,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -5807,7 +5793,6 @@ spec: type: array required: - output - - source - strategy type: object type: object @@ -5917,6 +5902,9 @@ spec: pushSecret: description: Describes the secret name for pushing a container image. type: string + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -6028,7 +6016,7 @@ spec: description: Source refers to the location where the source code is, this could only be a local source properties: local: - description: LocalSource + description: Local contains the details for the source of type Local properties: name: description: Name of the local step @@ -6038,8 +6026,10 @@ spec: type: string type: object type: - description: Type is the BuildRunSource qualifier, the type of the data-source. Only LocalType is supported. + description: Type is the BuildRunSource qualifier, the type of the source. Only Local is supported. type: string + required: + - type type: object state: description: State is used for canceling a buildrun (and maybe more later on). @@ -6297,7 +6287,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -6388,7 +6378,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -7114,6 +7104,9 @@ spec: pushSecret: description: Describes the secret name for pushing a container image. type: string + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -7236,7 +7229,7 @@ spec: description: ContextDir is a path to subfolder in the repo. Optional. type: string git: - description: GitSource + description: Git contains the details for the source of type Git properties: cloneSecret: description: CloneSecret references a Secret that contains credentials to access the repository. @@ -7247,9 +7240,11 @@ spec: url: description: URL describes the URL of the Git repository. type: string + required: + - url type: object local: - description: LocalSource + description: Local contains the details for the source of type Local properties: name: description: Name of the local step @@ -7259,7 +7254,7 @@ spec: type: string type: object ociArtifact: - description: OCIArtifact + description: OCIArtifact contains the details for the source of type OCIArtifact properties: image: description: Image reference, i.e. quay.io/org/image:tag @@ -7274,8 +7269,10 @@ spec: - image type: object type: - description: Type is the BuildSource qualifier, the type of the data-source. + description: Type is the BuildSource qualifier, the type of the source. type: string + required: + - type type: object strategy: description: Strategy references the BuildStrategy to use to build the container image. @@ -7607,7 +7604,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -7698,7 +7695,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -8311,7 +8308,6 @@ spec: type: array required: - output - - source - strategy type: object completionTime: @@ -8397,6 +8393,10 @@ spec: description: Digest hold the image digest result type: string type: object + timestamp: + description: Timestamp holds the timestamp of the source, which depends on the actual source type and could range from being the commit timestamp or the fileystem timestamp of the most recent source file in the working directory + format: date-time + type: string type: object startTime: description: StartTime is the time the build is actually started. @@ -8410,7 +8410,7 @@ spec: - spec type: object served: true - storage: false + storage: true subresources: status: {} @@ -8419,7 +8419,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.4 + controller-gen.kubebuilder.io/version: v0.12.1 name: builds.shipwright.io spec: conversion: @@ -8504,6 +8504,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -8621,6 +8624,9 @@ spec: type: string description: Labels references the additional labels to be applied on the image type: object + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -9128,7 +9134,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -9219,7 +9225,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -9852,7 +9858,7 @@ spec: - spec type: object served: true - storage: true + storage: false subresources: status: {} - additionalPrinterColumns: @@ -9998,6 +10004,9 @@ spec: pushSecret: description: Describes the secret name for pushing a container image. type: string + timestamp: + description: 'Timestamp references the optional image timestamp to be set, valid values are: - "Zero", to set 00:00:00 UTC on 1 January 1970 - "SourceTimestamp", to set the source timestamp dereived from the input source - "BuildTimestamp", to set the timestamp of the current build itself - Parsable integer number defined as the epoch seconds - or nil/empty to not set any specific timestamp' + type: string required: - image type: object @@ -10120,7 +10129,7 @@ spec: description: ContextDir is a path to subfolder in the repo. Optional. type: string git: - description: GitSource + description: Git contains the details for the source of type Git properties: cloneSecret: description: CloneSecret references a Secret that contains credentials to access the repository. @@ -10131,9 +10140,11 @@ spec: url: description: URL describes the URL of the Git repository. type: string + required: + - url type: object local: - description: LocalSource + description: Local contains the details for the source of type Local properties: name: description: Name of the local step @@ -10143,7 +10154,7 @@ spec: type: string type: object ociArtifact: - description: OCIArtifact + description: OCIArtifact contains the details for the source of type OCIArtifact properties: image: description: Image reference, i.e. quay.io/org/image:tag @@ -10158,8 +10169,10 @@ spec: - image type: object type: - description: Type is the BuildSource qualifier, the type of the data-source. + description: Type is the BuildSource qualifier, the type of the source. type: string + required: + - type type: object strategy: description: Strategy references the BuildStrategy to use to build the container image. @@ -10491,7 +10504,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -10582,7 +10595,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -11195,7 +11208,6 @@ spec: type: array required: - output - - source - strategy type: object status: @@ -11215,7 +11227,7 @@ spec: - spec type: object served: true - storage: false + storage: true subresources: status: {} @@ -11224,7 +11236,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.4 + controller-gen.kubebuilder.io/version: v0.12.1 name: buildstrategies.shipwright.io spec: conversion: @@ -11551,7 +11563,7 @@ spec: format: int32 type: integer grpc: - description: GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. + description: GRPC specifies an action involving a GRPC port. properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. @@ -11687,7 +11699,7 @@ spec: format: int32 type: integer grpc: - description: GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. + description: GRPC specifies an action involving a GRPC port. properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. @@ -11772,6 +11784,23 @@ spec: format: int32 type: integer type: object + resizePolicy: + description: Resources resize policy for the container. + items: + description: ContainerResizePolicy represents resource resize policy for the container. + properties: + resourceName: + description: 'Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.' + type: string + restartPolicy: + description: Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic resources: description: 'Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' properties: @@ -11806,7 +11835,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object securityContext: @@ -11913,7 +11942,7 @@ spec: format: int32 type: integer grpc: - description: GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. + description: GRPC specifies an action involving a GRPC port. properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. @@ -12356,7 +12385,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -12447,7 +12476,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -13067,7 +13096,7 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: status: {} - name: v1beta1 @@ -13268,7 +13297,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object securityContext: @@ -13644,7 +13673,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -13735,7 +13764,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -14355,7 +14384,7 @@ spec: type: object type: object served: true - storage: false + storage: true subresources: status: {} @@ -14364,7 +14393,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.4 + controller-gen.kubebuilder.io/version: v0.12.1 name: clusterbuildstrategies.shipwright.io spec: conversion: @@ -14691,7 +14720,7 @@ spec: format: int32 type: integer grpc: - description: GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. + description: GRPC specifies an action involving a GRPC port. properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. @@ -14827,7 +14856,7 @@ spec: format: int32 type: integer grpc: - description: GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. + description: GRPC specifies an action involving a GRPC port. properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. @@ -14912,6 +14941,23 @@ spec: format: int32 type: integer type: object + resizePolicy: + description: Resources resize policy for the container. + items: + description: ContainerResizePolicy represents resource resize policy for the container. + properties: + resourceName: + description: 'Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.' + type: string + restartPolicy: + description: Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic resources: description: 'Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' properties: @@ -14946,7 +14992,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object securityContext: @@ -15053,7 +15099,7 @@ spec: format: int32 type: integer grpc: - description: GRPC specifies an action involving a GRPC port. This is a beta field and requires enabling GRPCContainerProbe feature gate. + description: GRPC specifies an action involving a GRPC port. properties: port: description: Port number of the gRPC service. Number must be in the range 1 to 65535. @@ -15496,7 +15542,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -15587,7 +15633,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -16207,7 +16253,7 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: status: {} - name: v1beta1 @@ -16408,7 +16454,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object securityContext: @@ -16784,7 +16830,7 @@ spec: anyOf: - type: integer - type: string - description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir' + description: 'sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir' pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object @@ -16875,7 +16921,7 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object selector: @@ -17495,7 +17541,7 @@ spec: type: object type: object served: true - storage: false + storage: true subresources: status: {}