Rainbond/config/crd/rainbond.io_helmapps.yaml

160 lines
5.4 KiB
YAML
Raw Normal View History

2021-04-14 20:17:40 +08:00
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
2021-04-14 20:17:40 +08:00
creationTimestamp: null
name: helmapps.rainbond.io
2021-04-14 20:17:40 +08:00
spec:
group: rainbond.io
2021-04-14 20:17:40 +08:00
names:
kind: HelmApp
listKind: HelmAppList
plural: helmapps
singular: helmapp
scope: Namespaced
2021-04-15 15:58:50 +08:00
subresources:
status: {}
2021-04-14 20:17:40 +08:00
validation:
openAPIV3Schema:
2021-04-15 15:58:50 +08:00
description: HelmApp -
2021-04-14 20:17:40 +08:00
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: HelmAppSpec defines the desired state of HelmApp
properties:
2021-04-16 16:27:21 +08:00
appStore:
2021-04-29 15:56:34 +08:00
description: The helm app store.
2021-04-16 16:27:21 +08:00
properties:
branch:
description: The branch of a git repo.
type: string
name:
2021-04-29 15:56:34 +08:00
description: The name of app store.
2021-04-16 16:27:21 +08:00
type: string
password:
2021-04-29 15:56:34 +08:00
description: The chart repository password where to locate the requested
chart
2021-04-16 16:27:21 +08:00
type: string
url:
description: The url of helm repo, sholud be a helm native repo
url or a git url.
type: string
username:
2021-04-29 15:56:34 +08:00
description: The chart repository username where to locate the requested
chart
2021-04-16 16:27:21 +08:00
type: string
version:
description: The verision of the helm app store.
type: string
required:
- name
- url
- version
type: object
eid:
type: string
2021-04-29 15:56:34 +08:00
overrides:
description: Overrides will overrides the values in the chart.
items:
type: string
type: array
2021-04-14 20:17:40 +08:00
preStatus:
description: The prerequisite status.
enum:
- NotConfigured
- Configured
type: string
revision:
description: The application revision.
type: integer
2021-05-06 09:34:15 +08:00
templateName:
description: The application name.
type: string
2021-04-14 20:17:40 +08:00
version:
2021-04-29 15:56:34 +08:00
description: The application version.
2021-04-14 20:17:40 +08:00
type: string
required:
2021-04-16 16:27:21 +08:00
- appStore
- eid
2021-05-06 09:34:15 +08:00
- templateName
2021-04-14 20:17:40 +08:00
- version
type: object
status:
description: HelmAppStatus defines the observed state of HelmApp
properties:
conditions:
description: Current state of helm app.
items:
description: HelmAppCondition contains details for the current condition
of this helm application.
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
format: date-time
type: string
message:
description: Human-readable message indicating details about last
transition.
type: string
reason:
description: Unique, one-word, CamelCase reason for the condition's
last transition.
type: string
status:
description: 'Status is the status of the condition. Can be True,
False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
type: string
type:
description: Type is the type of the condition.
type: string
required:
- status
- type
type: object
type: array
2021-04-27 11:13:54 +08:00
currentVersion:
2021-04-29 15:56:34 +08:00
description: The version infect.
2021-04-14 20:17:40 +08:00
type: string
2021-04-29 15:56:34 +08:00
overrides:
description: Overrides in effect.
2021-05-06 09:34:15 +08:00
items:
type: string
type: array
2021-04-16 17:48:26 +08:00
phase:
2021-04-27 11:13:54 +08:00
description: The phase of the helm app.
2021-04-16 17:48:26 +08:00
type: string
2021-04-14 20:17:40 +08:00
status:
description: The status of helm app.
type: string
required:
2021-04-16 17:48:26 +08:00
- phase
2021-04-14 20:17:40 +08:00
- status
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []