| title | API Documentation |
|---|---|
| linktitle | API Documentation |
| description | Reference of the jx-promote configuration |
| weight | 10 |
Packages:
Package v1alpha1 is the v1alpha1 version of the API.
Resource Types:
KptStrategies contains a collection of merge strategies Jenkins X will use when performing kpt updates
| Field | Description |
|---|---|
apiVersionstring |
gitops.jenkins-x.io/v1alpha1
|
kindstring |
KptStrategies |
config[]KptStrategyConfig |
KptStrategyConfig contains a collection of merge strategies Jenkins X will use when performing kpt updates |
PipelineCatalog represents a collection quickstart project
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
gitops.jenkins-x.io/v1alpha1
|
||
kindstring |
PipelineCatalog |
||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specPipelineCatalogSpec |
(Optional)
Spec holds the desired state of the PipelineCatalog from the client
|
Quickstarts represents a collection quickstart project
| Field | Description | ||||||
|---|---|---|---|---|---|---|---|
apiVersionstring |
gitops.jenkins-x.io/v1alpha1
|
||||||
kindstring |
Quickstarts |
||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
specQuickstartsSpec |
(Optional)
Spec holds the specified quicksatrt configuration
|
SecretMapping represents a collection of mappings of Secrets to destinations in the underlying secret store (e.g. Vault keys)
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
gitops.jenkins-x.io/v1alpha1
|
||||
kindstring |
SecretMapping |
||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specSecretMappingSpec |
(Optional)
Spec holds the desired state of the SecretMapping from the client
|
SourceConfig represents a collection source repostory groups and repositories
| Field | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
gitops.jenkins-x.io/v1alpha1
|
||||||||||||
kindstring |
SourceConfig |
||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
specSourceConfigSpec |
(Optional)
Spec holds the desired state of the SourceConfig from the client
|
(Appears on: Defaults, SecretRule)
BackendType describes a secrets backend
(Appears on: SlackNotify)
BooleanFlag a type that is used for string boolean values that can be blank or yes/no
(Appears on: SecretMappingSpec)
Defaults contains default mapping configuration for any Kubernetes secrets to External Secrets
| Field | Description |
|---|---|
backendTypeBackendType |
DefaultBackendType the default back end to use if there’s no specific mapping |
gcpSecretsManagerGcpSecretsManager |
GcpSecretsManager config |
(Appears on: Defaults, SecretRule)
GcpSecretsManager the predicates which must be true to invoke the associated tasks/pipelines
| Field | Description |
|---|---|
versionstring |
Version of the referenced secret |
projectIdstring |
ProjectId for the secret, defaults to the current GCP project |
uniquePrefixstring |
UniquePrefix needs to be a unique prefix in the GCP project where the secret resides, defaults to cluster name |
(Appears on: SourceConfigSpec)
JenkinsServer the Jenkins server configuration
| Field | Description |
|---|---|
serverstring |
Server the name of the Jenkins Server to use |
folderTemplatestring |
FolderTemplate the default template file to use to generate the folder job DSL script |
jobTemplatestring |
JobTemplate the default template file to use to generate the projects job DSL script |
groups[]RepositoryGroup |
Groups the groups of source repositories |
(Appears on: KptStrategies)
KptStrategyConfig used by jx gitops upgrade kpt
| Field | Description |
|---|---|
relativePathstring |
RelativePath the relative path to the folder the strategy should apply to |
strategystring |
Strategy is the merge strategy kpt will use see https://kpt.dev/reference/cli/pkg/update/?id=flags |
(Appears on: SecretRule)
Mapping the predicates which must be true to invoke the associated tasks/pipelines
| Field | Description |
|---|---|
namestring |
Name the secret entry name which maps to the Key of the Secret.Data map |
keystring |
(Optional)
Key the Vault key to load the secret value |
propertystring |
(Optional)
Property the Vault property on the key to load the secret value |
(Appears on: SlackNotify)
NotifyKind what kind of notification
(Appears on: SlackNotify)
Pattern for matching strings
| Field | Description |
|---|---|
namestring |
Name |
include[]string |
Includes patterns to include in changing |
exclude[]string |
Excludes patterns to exclude from upgrading |
(Appears on: PipelineCatalogSpec)
PipelineCatalogSource the source of a pipeline catalog
| Field | Description |
|---|---|
idstring |
|
labelstring |
|
gitUrlstring |
|
gitRefstring |
(Appears on: PipelineCatalog)
PipelineCatalogSpec defines the desired state of PipelineCatalog.
| Field | Description |
|---|---|
repositories[]PipelineCatalogSource |
Repositories the repositories containing pipeline catalogs |
(Appears on: SlackNotify)
PipelineKind what pipeline to notify on
(Appears on: QuickstartsSpec)
QuickstartImport imports quickstats from another folder (such as from the shared version stream)
| Field | Description |
|---|---|
filestring |
File file name relative to the root directory to load |
includes[]string |
|
excludes[]string |
(Appears on: QuickstartsSpec)
QuickstartSource the source of a quickstart
| Field | Description |
|---|---|
IDstring |
|
Ownerstring |
|
Namestring |
|
Versionstring |
|
Languagestring |
|
Frameworkstring |
|
Tags[]string |
|
DownloadZipURLstring |
|
GitServerstring |
|
GitKindstring |
(Appears on: Quickstarts)
QuickstartsSpec defines the desired state of Quickstarts.
| Field | Description |
|---|---|
quickstarts[]QuickstartSource |
Quickstarts custom quickstarts to include |
defaultOwnerstring |
DefaultOwner the default owner if not specfied |
imports[]QuickstartImport |
Imports import quickstarts from the version stream |
(Appears on: RepositoryGroup)
Repository the name of the repository to import and the optional scheduler
| Field | Description |
|---|---|
namestring |
Name the name of the repository |
schedulerstring |
Scheduler the optional name of the scheduler to use if different to the group |
jenkinsJobTemplatestring |
JenkinsJobTemplate the template file to use to generate the projects job DSL script |
descriptionstring |
Description the optional description of this repository |
urlstring |
URL the URL to access this repository |
httpCloneURLstring |
HTTPCloneURL the HTTP/HTTPS based clone URL |
sshCloneURLstring |
SSHCloneURL the SSH based clone URL |
slackSlackNotify |
Slack optional slack notification configuration |
(Appears on: JenkinsServer, SourceConfigSpec)
SourceConfigSpec defines the desired state of SourceConfig.
| Field | Description |
|---|---|
providerstring |
Provider the git provider server URL |
providerKindstring |
ProviderKind the git provider kind |
providerNamestring |
ProviderName the git provider name |
ownerstring |
Owner the name of the organisation/owner/project/user that owns the repository |
repositories[]Repository |
Repositories the repositories for the |
schedulerstring |
Scheduler the default scheduler for this group |
jenkinsFolderTemplatestring |
JenkinsFolderTemplate the default template file to use to generate the folder job DSL script |
jenkinsJobTemplatestring |
JenkinsJobTemplate the default job template file to use to generate the projects job DSL script |
slackSlackNotify |
Slack optional slack notification configuration |
settingsgithub.com/jenkins-x/jx-api/v4/pkg/apis/core/v4beta1.SettingsConfig |
Settings optional settings for repositories in this group |
namestring |
Name optional field to distinguish repository groups between for example different teams. Not used by jx gitops |
(Appears on: SecretMapping)
SecretMappingSpec defines the desired state of SecretMapping.
| Field | Description |
|---|---|
secrets[]SecretRule |
Secrets rules for each secret |
defaultsDefaults |
(Appears on: SecretMappingSpec)
SecretRule the rules for a specific Secret
| Field | Description |
|---|---|
namestring |
Name name of the secret |
namespacestring |
Namespace name of the secret |
backendTypeBackendType |
BackendType for the secret |
mappings[]Mapping |
Mappings one more mappings |
mandatorybool |
Mandatory marks this secret as being mandatory |
gcpSecretsManagerGcpSecretsManager |
GcpSecretsManager config |
(Appears on: Repository, RepositoryGroup, SourceConfigSpec)
SlackNotify the slack notification configuration
| Field | Description |
|---|---|
channelstring |
Channel the name of the channel to notify pipelines |
kindNotifyKind |
Kind kind of notification such as always, only failures, failures or first succeed, only succeeds etc |
pipelinePipelineKind |
Pipeline kind of pipeline to notify on (all, releases, pull requests etc) |
directMessageBooleanFlag |
DirectMessage whether to use Direct Messages |
notifyReviewersBooleanFlag |
NotifyReviewers whether to notify reviews of Pull Request pipelines |
branchPattern |
Branch specify the branch name or filter to notify |
contextPattern |
Context specify the context name or filter to notify |
pullRequestLabelPattern |
PullRequestLabel specify the pull request labels to notify |
(Appears on: SourceConfig)
SourceConfigSpec defines the desired state of SourceConfig.
| Field | Description |
|---|---|
groups[]RepositoryGroup |
Groups the groups of source repositories |
schedulerstring |
Scheduler the default scheduler for any group/repository which does not specify one |
slackSlackNotify |
Slack optional default slack notification configuration inherited by groups |
jenkinsServers[]JenkinsServer |
JenkinsServers the jenkins servers configured for this repository |
jenkinsFolderTemplatestring |
JenkinsFolderTemplate the default template file to use to generate the folder job DSL script |
jenkinsJobTemplatestring |
JenkinsJobTemplate the default template file to use to generate the projects job DSL script |
Generated with gen-crd-api-reference-docs
on git commit 060775df.