You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by cc...@apache.org on 2023/08/09 23:54:21 UTC

[yunikorn-release] branch master updated: [YUNIKORN-1904] Remove crds (#156)

This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-release.git


The following commit(s) were added to refs/heads/master by this push:
     new e9877ba  [YUNIKORN-1904] Remove crds (#156)
e9877ba is described below

commit e9877bae9f1503bc1b057be2199576e23f70576b
Author: Frank Yang <ya...@gmail.com>
AuthorDate: Wed Aug 9 18:54:04 2023 -0500

    [YUNIKORN-1904] Remove crds (#156)
    
    Closes: #156
    
    Signed-off-by: Craig Condit <cc...@apache.org>
---
 .../templates/crds/application-definition.yaml     | 116 ---------------------
 1 file changed, 116 deletions(-)

diff --git a/helm-charts/yunikorn/templates/crds/application-definition.yaml b/helm-charts/yunikorn/templates/crds/application-definition.yaml
deleted file mode 100644
index 6b1d733..0000000
--- a/helm-charts/yunikorn/templates/crds/application-definition.yaml
+++ /dev/null
@@ -1,116 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Deprecated in v1.16 in favor of apiextensions.k8s.io/v1
-apiVersion: apiextensions.k8s.io/v1
-kind: CustomResourceDefinition
-metadata:
-  # name must match the spec fields below, and be in the form: <plural>.<group>
-  name: applications.yunikorn.apache.org
-spec:
-  # group name to use for REST API: /apis/<group>/<version>
-  group: yunikorn.apache.org
-  # either Namespaced or Cluster
-  scope: Namespaced
-  names:
-    # plural name to be used in the URL: /apis/<group>/<version>/<plural>
-    plural: applications
-    # singular name to be used as an alias on the CLI and for display
-    singular: application
-    # kind is normally the CamelCased singular type. Your resource manifests use this.
-    kind: Application
-    # shortNames allow shorter string to match your resource on the CLI
-    shortNames:
-      - app
-    # list of versions supported by this CustomResourceDefinition
-  versions:
-    - name: v1alpha1
-      # Each version can be enabled/disabled by Served flag.
-      served: true
-      # One and only one version must be marked as the storage version.
-      storage: true
-      schema:
-        openAPIV3Schema:
-          type: object
-          properties:
-            spec:
-              type: object
-              properties:
-                schedulingPolicy:
-                  type: object
-                  properties:
-                    type:
-                      type: string
-                    parameters:
-                      type: object
-                      additionalProperties:
-                        type: string
-                queue:
-                  type: string
-                  pattern: '^[a-zA-Z0-9_-]{1,64}([.]{1}[a-zA-Z0-9_-]{1,64})*$'
-                taskGroups:
-                  type: array
-                  items:
-                    type: object
-                    properties:
-                      name:
-                        type: string
-                      minMember:
-                        type: integer
-                      minResource:
-                        type: object
-                        additionalProperties:
-                          anyOf:
-                            - type: integer
-                            - 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
-                      nodeSelector:
-                        type: object
-                        additionalProperties:
-                          type: string
-                      tolerations:
-                        type: array
-                        items:
-                          type: object
-                          properties:
-                            effect:
-                              type: string
-                            key:
-                              type: string
-                            operator:
-                              type: string
-                            value:
-                              type: string
-                            tolerationSeconds:
-                              format: int64
-                              type: integer
-            status:
-              type: object
-              properties:
-                appID:
-                  type: string
-                appstatus:
-                  type: string
-                message:
-                  type: string
-                lastupdate:
-                  type: string
-      # subresources describes the subresources for custom resources.
-      subresources:
-        # status enables the status subresource.
-        status: {}


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org