Skip to content

Commit

Permalink
update ks-core helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ks-ci-bot committed Nov 6, 2023
1 parent c57b00c commit 7e93b92
Show file tree
Hide file tree
Showing 59 changed files with 926 additions and 1,599 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: (unknown)
name: applicationreleases.application.kubesphere.io
spec:
group: application.kubesphere.io
names:
kind: ApplicationRelease
listKind: ApplicationReleaseList
plural: applicationreleases
shortNames:
- apprls
singular: applicationrelease
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.AppID
name: App Name
type: string
- jsonPath: .metadata.labels.kubesphere\.io/workspace
name: Workspace
type: string
- jsonPath: .metadata.labels.kubesphere\.io/cluster
name: Cluster
type: string
- jsonPath: .metadata.labels.kubesphere\.io/namespace
name: Namespace
type: string
- jsonPath: .status.state
name: State
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2
schema:
openAPIV3Schema:
description: ApplicationRelease is the Schema for the applicationreleases
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ApplicationReleaseSpec defines the desired state of ApplicationRelease
properties:
app_id:
type: string
app_type:
type: string
appVersion_id:
type: string
values:
format: byte
type: string
required:
- appVersion_id
- app_id
type: object
status:
description: ApplicationReleaseStatus defines the observed state of ApplicationRelease
properties:
jobName:
description: JobName for installation and upgrade
type: string
lastDeployed:
description: last deploy time or upgrade time
format: date-time
type: string
lastUpdate:
description: last update time
format: date-time
type: string
message:
description: A human readable message indicating details about why
the release is in this state.
type: string
specHash:
description: current release spec hash This is used to compare whether
the spec has been modified to determine if an upgrade is needed.
type: string
state:
description: current state
type: string
version:
description: current release version
type: integer
required:
- state
type: object
type: object
served: true
storage: true
subresources:
status: {}
86 changes: 86 additions & 0 deletions src/test/ks-core/crds/application.kubesphere.io_applications.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: (unknown)
name: applications.application.kubesphere.io
spec:
group: application.kubesphere.io
names:
kind: Application
listKind: ApplicationList
plural: applications
shortNames:
- app
singular: application
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.displayName.en
name: application name
type: string
- jsonPath: .metadata.labels.kubesphere\.io/workspace
name: workspace
type: string
- jsonPath: .status.state
name: State
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2
schema:
openAPIV3Schema:
description: Application is the Schema for the applications API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ApplicationSpec defines the desired state of Application
properties:
appHome:
type: string
appType:
type: string
description:
additionalProperties:
type: string
type: object
displayName:
additionalProperties:
type: string
type: object
icon:
type: string
required:
- displayName
type: object
status:
description: ApplicationStatus defines the observed state of Application
properties:
state:
description: 'the state of the helm application: draft, submitted,
passed, rejected, suspended, active'
type: string
updateTime:
format: date-time
type: string
required:
- updateTime
type: object
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: (unknown)
name: applicationversions.application.kubesphere.io
spec:
group: application.kubesphere.io
names:
kind: ApplicationVersion
listKind: ApplicationVersionList
plural: applicationversions
shortNames:
- appver
singular: applicationversion
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.displayName.en
name: application name
type: string
- jsonPath: .status.state
name: State
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2
schema:
openAPIV3Schema:
description: ApplicationVersion is the Schema for the applicationversions
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ApplicationVersionSpec defines the desired state of ApplicationVersion
properties:
appType:
type: string
created:
format: date-time
type: string
description:
additionalProperties:
type: string
type: object
digest:
type: string
displayName:
additionalProperties:
type: string
type: object
home:
type: string
icon:
type: string
sources:
items:
type: string
type: array
version:
type: string
required:
- displayName
- version
type: object
status:
description: ApplicationVersionStatus defines the observed state of ApplicationVersion
properties:
message:
type: string
state:
type: string
user_name:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,32 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: (unknown)
creationTimestamp: null
name: applicationclasses.appstore.kubesphere.io
name: categories.application.kubesphere.io
spec:
group: appstore.kubesphere.io
group: application.kubesphere.io
names:
kind: ApplicationClass
listKind: ApplicationClassList
plural: applicationclasses
singular: applicationclass
kind: Category
listKind: CategoryList
plural: categories
shortNames:
- appctg
singular: category
scope: Cluster
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .spec.DisplayName.en
name: name
type: string
- jsonPath: .status.total
name: total
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2
schema:
openAPIV3Schema:
description: Category is the Schema for the categories API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -31,41 +43,34 @@ spec:
type: string
metadata:
type: object
parameters:
additionalProperties:
type: string
type: object
provisioner:
type: string
spec:
description: CategorySpec defines the desired state of HelmRepo
properties:
appVersion:
type: string
description:
type: string
additionalProperties:
type: string
type: object
displayName:
additionalProperties:
type: string
type: object
icon:
type: string
maintainers:
items:
properties:
email:
description: Email is an optional email address to contact the
named maintainer
type: string
name:
description: Name is a username or organization name
type: string
url:
description: URL is an optional URL to an address for the named
maintainer
type: string
type: object
type: array
packageVersion:
locale:
type: string
required:
- displayName
type: object
status:
properties:
total:
description: total helmapplications belong to this category
type: integer
required:
- total
type: object
required:
- provisioner
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 7e93b92

Please sign in to comment.