Project
Scope: Cluster
- spec
- spec.description
Arbitrary description of the project’s purpose. Specify an empty string if no description is required.
- spec.parameters
Parameters passed to the resources template when creating the project.
Before creation, the values are validated against the schema of the template’s input parameters.
- spec.projectTemplateName
The name of the ProjectTemplate resource that defines which resources will be created in the project.
Deprecated resource. Support for the resource might be removed in a later release.
- spec
- spec.description
Arbitrary description of the project’s purpose. Specify an empty string if no description is required.
- spec.projectTypeName
The name of the ProjectType resource that defines which resources will be created in the project.
- spec.template
Values passed to the resources template when creating the project. Before creation, the values are validated against the schema of the template’s input parameters.
ProjectTemplate
Scope: Cluster
Version: v1alpha1
Describes the project template.
This resource is referenced by the Project custom resource.
- spec
- spec.description
Arbitrary description of the template’s purpose. Specify an empty string if no description is required.
- spec.parametersSchema
Required value
One of parameters schema to validate parameters of a project.
For now only OpenAPI v3 schema is supported.
- spec.parametersSchema.openAPIV3Schema
Required value
OpenAPI specification for parameters.
This is used to check the validity of the parameters that are passed when creating a new project.
- spec.resourcesTemplate
Required value
A template that defines resources in the
go template
format to be created when setting up a new project.Templates are fully compatible with all
helm
functions.Read more about creating an isolated Environment…
The following parameters are available in templates:
{{ .projectName }}
— the name of theProject
for which the template is being rendered.{{ .projectTemplateName }}
— the name of theProjectTemplate
.{{ .parameters }}
— a dictionary of custom values, described in the .spec.parametersSchema and defined in the .spec.parameters.
Note! Specifying
.metadata.namespace
fields for objects is optional, as this field is automatically set with the name of the created project.