Packages:
templates.weave.works/v1alpha1
Package v1alpha1 contains API Schema definitions for the gitopssets v1alpha1 API group
Resource Types:GitOpsSet
GitOpsSet is the Schema for the gitopssets API
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| templates.weave.works/v1alpha1 | ||||||||
| GitOpsSet | ||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||
specGitOpsSetSpec |
| ||||||||
statusGitOpsSetStatus |
APIClientGenerator
(Appears on: GitOpsSetGenerator, GitOpsSetNestedGenerator)
APIClientGenerator defines a generator that queries an API endpoint and uses that to generate data.
| Field | Description |
|---|---|
intervalKubernetes meta/v1.Duration | The interval at which to poll the API endpoint. |
endpointstring | (Optional) This is the API endpoint to use. |
methodstring | Method defines the HTTP method to use to talk to the endpoint. |
jsonPathstring | JSONPath is string that is used to modify the result of the API call. This can be used to extract a repeating element from a response. https://kubernetes.io/docs/reference/kubectl/jsonpath/ |
headersRefHeadersReference | (Optional) HeadersRef allows optional configuration of a Secret or ConfigMap to add additional headers to an outgoing request. For example, a Secret with a key Authorization: Bearer abc123 could be used to configure an authorization header. |
bodyKubernetes pkg/apis/apiextensions/v1.JSON | (Optional) Body is set as the body in a POST request. If set, this will configure the Method to be POST automatically. |
singleElementbool | (Optional) SingleElement means generate a single element with the result of the API call. When true, the response must be a JSON object and will be returned as a single element, i.e. only one element will be generated containing the entire object. |
ClusterGenerator
(Appears on: GitOpsSetGenerator, GitOpsSetNestedGenerator)
ClusterGenerator defines a generator that queries the cluster API for relevant clusters.
| Field | Description |
|---|---|
selectorKubernetes meta/v1.LabelSelector | (Optional) Selector is used to filter the clusters that you want to target. If no selector is provided, no clusters will be matched. |
GitOpsSetGenerator
(Appears on: GitOpsSetSpec)
GitOpsSetGenerator is the top-level set of generators for this GitOpsSet.
| Field | Description |
|---|---|
listListGenerator | |
pullRequestsPullRequestGenerator | |
gitRepositoryGitRepositoryGenerator | |
matrixMatrixGenerator | |
clusterClusterGenerator | |
apiClientAPIClientGenerator |
GitOpsSetNestedGenerator
(Appears on: MatrixGenerator)
GitOpsSetNestedGenerator describes the generators usable by the MatrixGenerator. This is a subset of the generators allowed by the GitOpsSetGenerator because the CRD format doesn’t support recursive declarations.
| Field | Description |
|---|---|
listListGenerator | |
gitRepositoryGitRepositoryGenerator | |
pullRequestsPullRequestGenerator | |
clusterClusterGenerator | |
apiClientAPIClientGenerator |
GitOpsSetSpec
(Appears on: GitOpsSet)
GitOpsSetSpec defines the desired state of GitOpsSet
| Field | Description |
|---|---|
suspendbool | (Optional) Suspend tells the controller to suspend the reconciliation of this GitOpsSet. |
generators[]GitOpsSetGenerator | Generators generate the data to be inserted into the provided templates. |
templates[]GitOpsSetTemplate | Templates are a set of YAML templates that are rendered into resources from the data supplied by the generators. |
serviceAccountNamestring | (Optional) The name of the Kubernetes service account to impersonate when reconciling this Kustomization. |
GitOpsSetStatus
(Appears on: GitOpsSet)
GitOpsSetStatus defines the observed state of GitOpsSet
| Field | Description |
|---|---|
ReconcileRequestStatusgithub.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus | (Members of |
observedGenerationint64 | (Optional) ObservedGeneration is the last observed generation of the HelmRepository object. |
conditions[]Kubernetes meta/v1.Condition | (Optional) Conditions holds the conditions for the GitOpsSet |
inventoryResourceInventory | (Optional) Inventory contains the list of Kubernetes resource object references that have been successfully applied |
GitOpsSetTemplate
(Appears on: GitOpsSetSpec)
GitOpsSetTemplate describes a resource to create
| Field | Description |
|---|---|
repeatstring | Repeat is a JSONPath string defining that the template content should be repeated for each of the matching elements in the JSONPath expression. https://kubernetes.io/docs/reference/kubectl/jsonpath/ |
contentk8s.io/apimachinery/pkg/runtime.RawExtension | Content is the YAML to be templated and generated. |
GitRepositoryGenerator
(Appears on: GitOpsSetGenerator, GitOpsSetNestedGenerator)
GitRepositoryGenerator generates from files in a Flux GitRepository resource.
| Field | Description |
|---|---|
repositoryRefstring | RepositoryRef is the name of a GitRepository resource to be generated from. |
files[]GitRepositoryGeneratorFileItem | Files is a set of rules for identifying files to be parsed. |
directories[]GitRepositoryGeneratorDirectoryItem | Directories is a set of rules for identifying directories to be generated. |
GitRepositoryGeneratorDirectoryItem
(Appears on: GitRepositoryGenerator)
GitRepositoryGeneratorDirectoryItem stores the information about a specific directory to be generated from.
| Field | Description |
|---|---|
pathstring | |
excludebool |
GitRepositoryGeneratorFileItem
(Appears on: GitRepositoryGenerator)
GitRepositoryGeneratorFileItem defines a path to a file to be parsed when generating.
| Field | Description |
|---|---|
pathstring | Path is the name of a file to read and generate from can be JSON or YAML. |
HeadersReference
(Appears on: APIClientGenerator)
HeadersReference references either a Secret or ConfigMap to be used for additional request headers.
| Field | Description |
|---|---|
kindstring | The resource kind to get headers from. |
namestring | Name of the resource in the same namespace to apply headers from. |
ListGenerator
(Appears on: GitOpsSetGenerator, GitOpsSetNestedGenerator)
ListGenerator generates from a hard-coded list.
| Field | Description |
|---|---|
elements[]Kubernetes pkg/apis/apiextensions/v1.JSON |
MatrixGenerator
(Appears on: GitOpsSetGenerator)
MatrixGenerator defines a matrix that combines generators. The matrix is a cartesian product of the generators.
| Field | Description |
|---|---|
generators[]GitOpsSetNestedGenerator | Generators is a list of generators to be combined. |
PullRequestGenerator
(Appears on: GitOpsSetGenerator, GitOpsSetNestedGenerator)
PullRequestGenerator defines a generator that queries a Git hosting service for relevant PRs.
| Field | Description |
|---|---|
intervalKubernetes meta/v1.Duration | The interval at which to check for repository updates. |
driverstring | Determines which git-api protocol to use. |
serverURLstring | (Optional) This is the API endpoint to use. |
repostring | This should be the Repo you want to query. e.g. my-org/my-repo |
secretRefKubernetes core/v1.LocalObjectReference | Reference to Secret in same namespace with a field “password” which is an auth token that can query the Git Provider API. |
labels[]string | (Optional) Labels is used to filter the PRs that you want to target. This may be applied on the server. |
forksbool | (Optional) Fork is used to filter out forks from the target PRs if false, or to include forks if true |
ResourceInventory
(Appears on: GitOpsSetStatus)
ResourceInventory contains a list of Kubernetes resource object references that have been applied by a Kustomization.
| Field | Description |
|---|---|
entries[]ResourceRef | Entries of Kubernetes resource object references. |
ResourceRef
(Appears on: ResourceInventory)
ResourceRef contains the information necessary to locate a resource within a cluster.
| Field | Description |
|---|---|
idstring | ID is the string representation of the Kubernetes resource object’s metadata, in the format ‘namespace_name_group_kind’. |
vstring | Version is the API version of the Kubernetes resource object’s kind. |
This page was automatically generated with gen-crd-api-reference-docs