diff --git a/charts/index.yaml b/charts/index.yaml index 578ee379..353f1227 100644 --- a/charts/index.yaml +++ b/charts/index.yaml @@ -3,9 +3,9 @@ entries: lagoon-builddeploy: - apiVersion: v2 appVersion: 0.1.1 - created: "2020-08-26T10:25:48.481737+10:00" + created: "2020-08-26T13:09:50.672702+10:00" description: A Helm chart for lagoon-builddeploy - digest: 78d35b547295b2107b4f03f03dbcdd3f23598b15deed7cb9210d41ccc2b3f153 + digest: 1fa0435d49d0dd2762029cf140d5c6e233f00253bcdf60ca9a113d7dac3a73fd name: lagoon-builddeploy type: application urls: @@ -13,7 +13,7 @@ entries: version: 0.1.1 - apiVersion: v2 appVersion: 0.1.0 - created: "2020-08-26T10:25:48.481291+10:00" + created: "2020-08-26T13:09:50.672064+10:00" description: A Helm chart for lagoon-builddeploy digest: de42c5e64e32c18a5ad15e138afe1eadec4e742eeb42f77faaf3188a8d25d1e3 name: lagoon-builddeploy @@ -21,4 +21,4 @@ entries: urls: - lagoon-builddeploy-0.1.0.tgz version: 0.1.0 -generated: "2020-08-26T10:25:48.480532+10:00" +generated: "2020-08-26T13:09:50.665093+10:00" diff --git a/charts/lagoon-builddeploy-0.1.1.tgz b/charts/lagoon-builddeploy-0.1.1.tgz index 1f3ad40d..78902af8 100644 Binary files a/charts/lagoon-builddeploy-0.1.1.tgz and b/charts/lagoon-builddeploy-0.1.1.tgz differ diff --git a/charts/lagoon-builddeploy/templates/crd.yaml b/charts/lagoon-builddeploy/templates/crd.yaml index d81eeba1..11f963dc 100644 --- a/charts/lagoon-builddeploy/templates/crd.yaml +++ b/charts/lagoon-builddeploy/templates/crd.yaml @@ -344,3 +344,421 @@ status: plural: "" conditions: [] storedVersions: [] +--- +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.2.4 + creationTimestamp: null + name: lagoontasks.lagoon.amazee.io +spec: + group: lagoon.amazee.io + names: + kind: LagoonTask + listKind: LagoonTaskList + plural: lagoontasks + singular: lagoontask + scope: Namespaced + validation: + openAPIV3Schema: + description: LagoonTask is the Schema for the lagoontasks 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: LagoonTaskSpec defines the desired state of LagoonTask + properties: + advancedTask: + description: LagoonAdvancedTaskInfo defines what an advanced task can + use for the creation of the pod. + properties: + JSONPayload: + type: string + runnerImage: + type: string + type: object + environment: + description: LagoonTaskEnvironment defines the lagoon environment information. + properties: + environmentType: + type: string + id: + type: string + name: + type: string + openshiftProjectName: + type: string + project: + type: string + required: + - environmentType + - id + - name + - openshiftProjectName + - project + type: object + key: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster + Important: Run "make" to regenerate code after modifying this file' + type: string + misc: + description: LagoonMiscInfo defines the resource or backup information + for a misc task. + properties: + backup: + description: LagoonMiscBackupInfo defines the information for a + backup. + properties: + backupId: + type: string + id: + type: string + source: + type: string + required: + - backupId + - id + - source + type: object + id: + type: string + miscResource: + format: byte + type: string + name: + type: string + required: + - id + type: object + project: + description: LagoonTaskProject defines the lagoon project information. + properties: + id: + type: string + name: + type: string + required: + - id + - name + type: object + task: + description: LagoonTaskInfo defines what a task can use to communicate + with Lagoon via SSH/API. + properties: + apiHost: + type: string + command: + type: string + id: + type: string + name: + type: string + service: + type: string + sshHost: + type: string + sshPort: + type: string + required: + - id + type: object + type: object + status: + description: LagoonTaskStatus defines the observed state of LagoonTask + properties: + conditions: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state + of cluster Important: Run "make" to regenerate code after modifying + this file' + items: + description: LagoonConditions defines the observed conditions of the + pods. + properties: + lastTransitionTime: + type: string + status: + type: string + type: + description: JobConditionType const for the status type + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + log: + format: byte + type: string + type: object + statusMessages: + description: LagoonStatusMessages is where unsent messages are stored for + re-sending. + properties: + buildLogMessage: + description: LagoonLog is used to sendToLagoonLogs messaging queue this + is general logging information + properties: + event: + type: string + message: + type: string + meta: + description: LagoonLogMeta is the metadata that is used by logging + in Lagoon. + properties: + advancedData: + type: string + branchName: + type: string + buildName: + type: string + buildPhase: + type: string + endTime: + type: string + environment: + type: string + jobName: + type: string + jobStatus: + type: string + key: + type: string + logLink: + type: string + monitoringUrls: + items: + type: string + type: array + project: + type: string + projectName: + type: string + remoteId: + type: string + route: + type: string + routes: + items: + type: string + type: array + services: + items: + type: string + type: array + startTime: + type: string + task: + description: LagoonTaskInfo defines what a task can use to communicate + with Lagoon via SSH/API. + properties: + apiHost: + type: string + command: + type: string + id: + type: string + name: + type: string + service: + type: string + sshHost: + type: string + sshPort: + type: string + required: + - id + type: object + type: object + project: + type: string + severity: + type: string + uuid: + type: string + type: object + environmentMessage: + description: LagoonMessage is used for sending build info back to Lagoon + messaging queue to update the environment or deployment + properties: + meta: + description: LagoonLogMeta is the metadata that is used by logging + in Lagoon. + properties: + advancedData: + type: string + branchName: + type: string + buildName: + type: string + buildPhase: + type: string + endTime: + type: string + environment: + type: string + jobName: + type: string + jobStatus: + type: string + key: + type: string + logLink: + type: string + monitoringUrls: + items: + type: string + type: array + project: + type: string + projectName: + type: string + remoteId: + type: string + route: + type: string + routes: + items: + type: string + type: array + services: + items: + type: string + type: array + startTime: + type: string + task: + description: LagoonTaskInfo defines what a task can use to communicate + with Lagoon via SSH/API. + properties: + apiHost: + type: string + command: + type: string + id: + type: string + name: + type: string + service: + type: string + sshHost: + type: string + sshPort: + type: string + required: + - id + type: object + type: object + namespace: + type: string + type: + type: string + type: object + statusMessage: + description: LagoonLog is used to sendToLagoonLogs messaging queue this + is general logging information + properties: + event: + type: string + message: + type: string + meta: + description: LagoonLogMeta is the metadata that is used by logging + in Lagoon. + properties: + advancedData: + type: string + branchName: + type: string + buildName: + type: string + buildPhase: + type: string + endTime: + type: string + environment: + type: string + jobName: + type: string + jobStatus: + type: string + key: + type: string + logLink: + type: string + monitoringUrls: + items: + type: string + type: array + project: + type: string + projectName: + type: string + remoteId: + type: string + route: + type: string + routes: + items: + type: string + type: array + services: + items: + type: string + type: array + startTime: + type: string + task: + description: LagoonTaskInfo defines what a task can use to communicate + with Lagoon via SSH/API. + properties: + apiHost: + type: string + command: + type: string + id: + type: string + name: + type: string + service: + type: string + sshHost: + type: string + sshPort: + type: string + required: + - id + type: object + type: object + project: + type: string + severity: + type: string + uuid: + type: string + type: object + type: object + type: object + version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: []