Template Controller API reference
Packages:
templates.kluctl.io/v1alpha1
Package v1alpha1 contains API Schema definitions for the templates.kluctl.io v1alpha1 API group.
Resource Types:AppliedResourceInfo
(Appears on: ObjectTemplateStatus)
| Field | Description |
|---|---|
refObjectRef | |
successbool | |
errorstring | (Optional) |
CommentSourceSpec
(Appears on: CommentSpec)
| Field | Description |
|---|---|
textstring | (Optional) Text specifies a raw text comment. |
configMapConfigMapRef | (Optional) ConfigMap specifies a ConfigMap and a key to load the source content from |
textTemplateLocalObjectReference | (Optional) TextTemplate specifies a TextTemplate to load the source content from |
CommentSpec
(Appears on: GithubCommentSpec, GitlabCommentSpec)
| Field | Description |
|---|---|
idstring | (Optional) Id specifies the identifier to be used by the controller when it needs to find the actual comment when it does not know the internal id. This Id is written into the comment inside a comment, so that a simple text search can reveal the comment |
sourceCommentSourceSpec | Source specifies the source content for the comment. Different source types are supported: Text, ConfigMap and TextTemplate |
ConfigMapRef
(Appears on: CommentSourceSpec)
| Field | Description |
|---|---|
namestring | |
keystring |
GitFile
(Appears on: GitProjectorSpec)
| Field | Description |
|---|---|
globstring | Glob specifies a glob to use for filename matching. |
parseYamlbool | (Optional) ParseYaml enables YAML parsing of matching files. The result is then available as |
GitProjector
GitProjector is the Schema for the gitprojectors API
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||
specGitProjectorSpec |
| ||||||||||||
statusGitProjectorStatus |
GitProjectorResult
(Appears on: GitProjectorStatus)
| Field | Description |
|---|---|
refGitRef | |
files[]GitProjectorResultFile |
GitProjectorResultFile
(Appears on: GitProjectorResult)
| Field | Description |
|---|---|
pathstring | |
rawstring | (Optional) |
parsed[]*k8s.io/apimachinery/pkg/runtime.RawExtension | (Optional) |
GitProjectorSpec
(Appears on: GitProjector)
GitProjectorSpec defines the desired state of GitProjector
| Field | Description |
|---|---|
intervalKubernetes meta/v1.Duration | (Optional) Interval is the interval at which to scan the Git repository Defaults to 5m. |
suspendbool | (Optional) Suspend can be used to suspend the reconciliation of this object |
urlstring | URL specifies the Git url to scan and project |
refGitRef | (Optional) Reference specifies the Git branch, tag or commit to scan. Branches and tags can contain regular expressions |
files[]GitFile | (Optional) Files specifies the list of files to include in the projection |
secretRefLocalObjectReference | (Optional) SecretRefs specifies a Secret use for Git authentication. The contents of the secret must conform to: https://kluctl.io/docs/flux/spec/v1alpha1/kluctldeployment/#git-authentication |
GitProjectorStatus
(Appears on: GitProjector)
GitProjectorStatus defines the observed state of GitProjector
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
allRefsHashstring | (Optional) |
result[]GitProjectorResult | (Optional) |
GitRef
(Appears on: GitProjectorResult, GitProjectorSpec)
| Field | Description |
|---|---|
branchstring | (Optional) Branch to filter for. Can also be a regex. |
tagstring | (Optional) Tag to filter for. Can also be a regex. |
commitstring | (Optional) Commit SHA to check out, takes precedence over all reference fields. |
GithubComment
GithubComment is the Schema for the githubcomments API
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||
specGithubCommentSpec |
| ||||||
statusGithubCommentStatus |
GithubCommentSpec
(Appears on: GithubComment)
GithubCommentSpec defines the desired state of GithubComment
| Field | Description |
|---|---|
githubGithubPullRequestRef | |
commentCommentSpec | |
suspendbool | (Optional) Suspend can be used to suspend the reconciliation of this object |
GithubCommentStatus
(Appears on: GithubComment)
GithubCommentStatus defines the observed state of GithubComment
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
commentIdstring | (Optional) |
lastPostedBodyHashstring | (Optional) |
GithubProject
(Appears on: GithubPullRequestRef, ListGithubPullRequestsSpec)
| Field | Description |
|---|---|
ownerstring | Owner specifies the GitHub user or organisation that owns the repository |
repostring | Repo specifies the repository name. |
tokenRefSecretRef | (Optional) TokenRef specifies a secret and key to load the GitHub API token from |
GithubPullRequestRef
(Appears on: GithubCommentSpec)
| Field | Description |
|---|---|
GithubProjectGithubProject | (Members of |
pullRequestIdk8s.io/apimachinery/pkg/util/intstr.IntOrString | PullRequestId specifies the pull request ID. |
GitlabComment
GitlabComment is the Schema for the gitlabcomments API
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||
specGitlabCommentSpec |
| ||||||
statusGitlabCommentStatus |
GitlabCommentSpec
(Appears on: GitlabComment)
GitlabCommentSpec defines the desired state of GitlabComment
| Field | Description |
|---|---|
gitlabGitlabMergeRequestRef | |
commentCommentSpec | |
suspendbool | (Optional) Suspend can be used to suspend the reconciliation of this object |
GitlabCommentStatus
(Appears on: GitlabComment)
GitlabCommentStatus defines the observed state of GitlabComment
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
noteIdstring | (Optional) |
lastPostedBodyHashstring | (Optional) |
GitlabMergeRequestRef
(Appears on: GitlabCommentSpec)
| Field | Description |
|---|---|
GitlabProjectGitlabProject | (Members of |
mergeRequestIdk8s.io/apimachinery/pkg/util/intstr.IntOrString | MergeRequestId specifies the Gitlab merge request internal ID |
GitlabProject
(Appears on: GitlabMergeRequestRef, ListGitlabMergeRequestsSpec)
| Field | Description |
|---|---|
projectk8s.io/apimachinery/pkg/util/intstr.IntOrString | Project specifies the Gitlab group and project (separated by slash) to use, or the numeric project id |
apistring | (Optional) API specifies the GitLab API URL to talk to. If blank, uses https://gitlab.com/. |
tokenRefSecretRef | (Optional) TokenRef specifies a secret and key to load the Gitlab API token from |
ListGithubPullRequests
ListGithubPullRequests is the Schema for the listgithubpullrequests API
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||
specListGithubPullRequestsSpec |
| ||||||||||||||
statusListGithubPullRequestsStatus |
ListGithubPullRequestsSpec
(Appears on: ListGithubPullRequests)
ListGithubPullRequestsSpec defines the desired state of ListGithubPullRequests
| Field | Description |
|---|---|
intervalKubernetes meta/v1.Duration | (Optional) Interval is the interval at which to query the Gitlab API. Defaults to 5m. |
GithubProjectGithubProject | (Members of |
headstring | (Optional) Head specifies the head to filter for |
basestring | (Optional) Base specifies the base to filter for |
labels[]string | (Optional) Labels is used to filter the PRs that you want to target |
statestring | (Optional) State is an additional PR filter to get only those with a certain state. Default: “all” |
limitint | Limit limits the maximum number of pull requests to fetch. Defaults to 100 |
ListGithubPullRequestsStatus
(Appears on: ListGithubPullRequests)
ListGithubPullRequestsStatus defines the observed state of ListGithubPullRequests
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
pullRequests[]k8s.io/apimachinery/pkg/runtime.RawExtension | (Optional) |
ListGitlabMergeRequests
ListGitlabMergeRequests is the Schema for the listgitlabmergerequests API
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||||
specListGitlabMergeRequestsSpec |
| ||||||||||||||
statusListGitlabMergeRequestsStatus |
ListGitlabMergeRequestsSpec
(Appears on: ListGitlabMergeRequests)
ListGitlabMergeRequestsSpec defines the desired state of ListGitlabMergeRequests
| Field | Description |
|---|---|
intervalKubernetes meta/v1.Duration | (Optional) Interval is the interval at which to query the Gitlab API. Defaults to 5m. |
GitlabProjectGitlabProject | (Members of |
targetBranchstring | (Optional) TargetBranch specifies the target branch to filter for |
sourceBranchstring | (Optional) |
labels[]string | (Optional) Labels is used to filter the MRs that you want to target |
statestring | (Optional) State is an additional MRs filter to get only those with a certain state. Default: “all” |
limitint | Limit limits the maximum number of merge requests to fetch. Defaults to 100 |
ListGitlabMergeRequestsStatus
(Appears on: ListGitlabMergeRequests)
ListGitlabMergeRequestsStatus defines the observed state of ListGitlabMergeRequests
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
mergeRequests[]k8s.io/apimachinery/pkg/runtime.RawExtension | (Optional) |
LocalObjectReference
(Appears on: CommentSourceSpec, GitProjectorSpec)
| Field | Description |
|---|---|
namestring | Name of the referent. |
MatrixEntry
(Appears on: ObjectTemplateSpec)
| Field | Description |
|---|---|
namestring | Name specifies the name this matrix input is available while rendering templates |
objectMatrixEntryObject | (Optional) Object specifies an object to load and make available while rendering templates. The object can be accessed through the name specified above. The service account used by the ObjectTemplate must have proper permissions to get this object |
list[]k8s.io/apimachinery/pkg/runtime.RawExtension | (Optional) List specifies a list of plain YAML values which are made available while rendering templates. The list can be accessed through the name specified above |
MatrixEntryObject
(Appears on: MatrixEntry)
| Field | Description |
|---|---|
refObjectRef | Ref specifies the apiVersion, kind, namespace and name of the object to load. The service account used by the ObjectTemplate must have proper permissions to get this object |
jsonPathstring | (Optional) JsonPath optionally specifies a sub-field to load. When specified, the sub-field (and not the whole object) is made available while rendering templates |
expandListsbool | (Optional) ExpandLists enables optional expanding of list. Expanding means, that each list entry is interpreted as
individual matrix input instead of interpreting the whole list as one matrix input. This feature is only useful
when used in combination with |
ObjectRef
(Appears on: AppliedResourceInfo, MatrixEntryObject, TextTemplateInputObject)
| Field | Description |
|---|---|
apiVersionstring | |
kindstring | |
namespacestring | (Optional) |
namestring |
ObjectTemplate
ObjectTemplate is the Schema for the objecttemplates API
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||||
specObjectTemplateSpec |
| ||||||||||||
statusObjectTemplateStatus |
ObjectTemplateSpec
(Appears on: ObjectTemplate)
ObjectTemplateSpec defines the desired state of ObjectTemplate
| Field | Description |
|---|---|
intervalKubernetes meta/v1.Duration | |
suspendbool | (Optional) Suspend can be used to suspend the reconciliation of this object |
serviceAccountNamestring | (Optional) ServiceAccountName specifies the name of the Kubernetes service account to impersonate when reconciling this ObjectTemplate. If omitted, the “default” service account is used |
prunebool | (Optional) Prune enables pruning of previously created objects when these disappear from the list of rendered objects |
matrix[]MatrixEntry | Matrix specifies the input matrix |
templates[]Template | Templates specifies a list of templates to render and deploy |
ObjectTemplateStatus
(Appears on: ObjectTemplate)
ObjectTemplateStatus defines the observed state of ObjectTemplate
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
appliedResources[]AppliedResourceInfo | (Optional) |
SecretRef
(Appears on: GithubProject, GitlabProject)
Utility struct for a reference to a secret key.
| Field | Description |
|---|---|
secretNamestring | |
keystring |
Template
(Appears on: ObjectTemplateSpec)
| Field | Description |
|---|---|
objectKubernetes meta/v1/unstructured.Unstructured | (Optional) Object specifies a structured object in YAML form. Each field value is rendered independently. |
rawstring | (Optional) Raw specifies a raw string to be interpreted/parsed as YAML. The whole string is rendered in one go, allowing to use advanced Jinja2 control structures. Raw object might also be required when a templated value must not be interpreted as a string (which would be done in Object). |
TemplateRef
(Appears on: TextTemplateSpec)
| Field | Description |
|---|---|
configMapTemplateRefConfigMap | (Optional) |
TemplateRefConfigMap
(Appears on: TemplateRef)
| Field | Description |
|---|---|
namestring | |
namespacestring | (Optional) |
keystring |
TextTemplate
TextTemplate is the Schema for the texttemplates API
| Field | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
metadata field. | ||||||||||
specTextTemplateSpec |
| ||||||||||
statusTextTemplateStatus |
TextTemplateInput
(Appears on: TextTemplateSpec)
| Field | Description |
|---|---|
namestring | |
objectTextTemplateInputObject | (Optional) |
TextTemplateInputObject
(Appears on: TextTemplateInput)
| Field | Description |
|---|---|
refObjectRef | |
jsonPathstring | (Optional) |
TextTemplateSpec
(Appears on: TextTemplate)
TextTemplateSpec defines the desired state of TextTemplate
| Field | Description |
|---|---|
suspendbool | (Optional) Suspend can be used to suspend the reconciliation of this object. |
serviceAccountNamestring | (Optional) ServiceAccountName specifies the name of the Kubernetes service account to impersonate when reconciling this TextTemplate. If omitted, the “default” service account is used |
inputs[]TextTemplateInput | (Optional) |
templatestring | (Optional) |
templateRefTemplateRef | (Optional) |
TextTemplateStatus
(Appears on: TextTemplate)
TextTemplateStatus defines the observed state of TextTemplate
| Field | Description |
|---|---|
conditions[]Kubernetes meta/v1.Condition | (Optional) |
resultstring | (Optional) |
This page was automatically generated with gen-crd-api-reference-docs