apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: creationTimestamp: null name: packages.fission.io spec: conversion: strategy: None group: fission.io names: kind: Package listKind: PackageList plural: packages singular: package scope: Namespaced versions: - name: v1 schema: openAPIV3Schema: description: A Package is a Fission object containing a Deployment Archive and a Source Archive (if any). A Package also references a certain environment. properties: spec: description: Specification of the desired behaviour of the package. properties: buildcmd: description: BuildCommand is a custom build command that builder uses to build the source archive. type: string configmaps: items: description: Reference to a Kubernetes ConfigMap. properties: name: description: Name of the ConfigMap to use type: string namespace: description: Namespace for corresponding ConfigMap type: string type: object nullable: true type: array deployment: description: Package contains or references a collection of source or binary files. properties: checksum: description: Checksum of package contents when the contents are stored outside the Package struct. Type is the checksum algorithm; sha256 is the only currently supported one. Sum is hex encoded. properties: sum: description: ' Sum is hex encoded chechsum value.' type: string type: description: ChecksumType specifies the checksum algorithm, such as sha256, used for a checksum. type: string type: object literal: description: Literal contents of the package. format: byte type: string type: description: 'Type defines how the package is specified: literal or url.' type: string url: description: URL references a package. type: string type: object environment: description: Reference to Fission Environment type custom resource. properties: name: description: Name of the Environment to use type: string namespace: description: Namespace for corresponding Environment type: string type: object source: description: Package contains or references a collection of source or binary files. properties: checksum: description: Checksum of package contents when the contents are stored outside the Package struct. Type is the checksum algorithm; sha256 is the only currently supported one. Sum is hex encoded. properties: sum: description: ' Sum is hex encoded chechsum value.' type: string type: description: ChecksumType specifies the checksum algorithm, such as sha256, used for a checksum. type: string type: object literal: description: Literal contents of the package. format: byte type: string type: description: 'Type defines how the package is specified: literal or url.' type: string url: description: URL references a package. type: string type: object type: object status: description: PackageStatus contains the build status of a package also the build log for examination. properties: buildlog: description: BuildCommand is a custom build command that builder used to build the source archive. type: string buildstatus: description: BuildStatus is the package build status. type: string lastUpdateTimestamp: description: LastUpdateTimestamp will store the timestamp the package was last updated metav1.Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. nullable: true type: string type: object type: object served: true storage: true status: acceptedNames: kind: Package listKind: PackageList plural: packages singular: package conditions: [] storedVersions: - v1