description:Alert is the Schema for the alerts API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:AlertSpec defines an alerting rule for events involving a
list of objects
properties:
eventSeverity:
default:info
description:Filter events based on severity, defaults to ('info').
If set to 'info' no events will be filtered.
enum:
- info
- error
type:string
eventSources:
description:Filter events based on the involved objects.
items:
description:CrossNamespaceObjectReference contains enough information
to let you locate the typed referenced object at cluster level
properties:
apiVersion:
description:API version of the referent
type:string
kind:
description:Kind of the referent
enum:
- Bucket
- GitRepository
- Kustomization
- HelmRelease
- HelmChart
- HelmRepository
- ImageRepository
- ImagePolicy
- ImageUpdateAutomation
type:string
name:
description:Name of the referent
maxLength:53
minLength:1
type:string
namespace:
description:Namespace of the referent
maxLength:53
minLength:1
type:string
required:
- name
type:object
type:array
exclusionList:
description:A list of Golang regular expressions to be used for excluding
messages.
items:
type:string
type:array
providerRef:
description:Send events using this provider.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
summary:
description:Short description of the impact and affected cluster.
type:string
suspend:
description:This flag tells the controller to suspend subsequent
events dispatching. Defaults to false.
type:boolean
required:
- eventSources
- providerRef
type:object
status:
default:
observedGeneration:-1
description:AlertStatus defines the observed state of Alert
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:Bucket is the Schema for the buckets API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:BucketSpec defines the desired state of an S3 compatible
description:GitRepository is the Schema for the gitrepositories API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:GitRepositorySpec defines the desired state of a Git repository.
description:HelmChart is the Schema for the helmcharts API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:HelmChartSpec defines the desired state of a Helm chart.
description:HelmRelease is the Schema for the helmreleases API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:HelmReleaseSpec defines the desired state of a Helm release.
properties:
chart:
description:Chart defines the template of the v1beta1.HelmChart that
should be created for this HelmRelease.
properties:
spec:
description:Spec holds the template for the v1beta1.HelmChartSpec
for this HelmRelease.
properties:
chart:
description:The name or path the Helm chart is available
at in the SourceRef.
type:string
interval:
description:Interval at which to check the v1beta1.Source
for updates. Defaults to 'HelmReleaseSpec.Interval'.
type:string
reconcileStrategy:
default:ChartVersion
description:Determines what enables the creation of a new
artifact. Valid values are ('ChartVersion', 'Revision').
See the documentation of the values for an explanation on
their behavior. Defaults to ChartVersion when omitted.
enum:
- ChartVersion
- Revision
type:string
sourceRef:
description:The name and namespace of the v1beta1.Source
the chart is available at.
properties:
apiVersion:
description:APIVersion of the referent.
type:string
kind:
description:Kind of the referent.
enum:
- HelmRepository
- GitRepository
- Bucket
type:string
name:
description:Name of the referent.
maxLength:253
minLength:1
type:string
namespace:
description:Namespace of the referent.
maxLength:63
minLength:1
type:string
required:
- name
type:object
valuesFile:
description:Alternative values file to use as the default
chart values, expected to be a relative path in the SourceRef.
Deprecated in favor of ValuesFiles, for backwards compatibility
the file defined here is merged before the ValuesFiles items.
Ignored when omitted.
type:string
valuesFiles:
description:Alternative list of values files to use as the
chart values (values.yaml is not included by default), expected
to be a relative path in the SourceRef. Values files are
merged in the order of this list with the last file overriding
the first. Ignored when omitted.
items:
type:string
type:array
version:
default:'*'
description:Version semver expression, ignored for charts
from v1beta1.GitRepository and v1beta1.Bucket sources. Defaults
to latest when omitted.
type:string
required:
- chart
- sourceRef
type:object
required:
- spec
type:object
dependsOn:
description:DependsOn may contain a dependency.CrossNamespaceDependencyReference
slice with references to HelmRelease resources that must be ready
before this HelmRelease can be reconciled.
items:
description:CrossNamespaceDependencyReference holds the reference
to a dependency.
properties:
name:
description:Name holds the name reference of a dependency.
type:string
namespace:
description:Namespace holds the namespace reference of a dependency.
type:string
required:
- name
type:object
type:array
install:
description:Install holds the configuration for Helm install actions
for this HelmRelease.
properties:
crds:
description:"CRDs upgrade CRDs from the Helm Chart's crds directory
according to the CRD upgrade policy provided here. Valid values
are `Skip`, `Create` or `CreateReplace`. Default is `Create`
and if omitted CRDs are installed but not updated. \n Skip:
do neither install nor replace (update) any CRDs. \n Create:
new CRDs are created, existing CRDs are neither updated nor
deleted. \n CreateReplace:new CRDs are created, existing CRDs
are updated (replaced) but not deleted. \n By default, CRDs
are applied (installed) during Helm install action. With this
option users can opt-in to CRD replace existing CRDs on Helm
install actions, which is not (yet) natively supported by Helm.
description:HelmRepository is the Schema for the helmrepositories API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:HelmRepositorySpec defines the reference to a Helm repository.
description:ImagePolicy is the Schema for the imagepolicies API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImagePolicySpec defines the parameters for calculating the
ImagePolicy
properties:
filterTags:
description:FilterTags enables filtering for only a subset of tags
based on a set of rules. If no rules are provided, all the tags
from the repository will be ordered and compared.
properties:
extract:
description:Extract allows a capture group to be extracted from
the specified regular expression pattern, useful before tag
evaluation.
type:string
pattern:
description:Pattern specifies a regular expression pattern used
to filter for image tags.
type:string
type:object
imageRepositoryRef:
description:ImageRepositoryRef points at the object specifying the
image being scanned
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
policy:
description:Policy gives the particulars of the policy to be followed
in selecting the most recent image
properties:
alphabetical:
description:Alphabetical set of rules to use for alphabetical
ordering of the tags.
properties:
order:
default:asc
description:Order specifies the sorting order of the tags.
Given the letters of the alphabet as tags, ascending order
would select Z, and descending order would select A.
enum:
- asc
- desc
type:string
type:object
numerical:
description:Numerical set of rules to use for numerical ordering
of the tags.
properties:
order:
default:asc
description:Order specifies the sorting order of the tags.
Given the integer values from 0 to 9 as tags, ascending
order would select 9, and descending order would select
0.
enum:
- asc
- desc
type:string
type:object
semver:
description:SemVer gives a semantic version range to check against
the tags available.
properties:
range:
description:Range gives a semver range for the image tag;
the highest version within the range that's a tag yields
description:ImagePolicy is the Schema for the imagepolicies API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImagePolicySpec defines the parameters for calculating the
ImagePolicy
properties:
filterTags:
description:FilterTags enables filtering for only a subset of tags
based on a set of rules. If no rules are provided, all the tags
from the repository will be ordered and compared.
properties:
extract:
description:Extract allows a capture group to be extracted from
the specified regular expression pattern, useful before tag
evaluation.
type:string
pattern:
description:Pattern specifies a regular expression pattern used
to filter for image tags.
type:string
type:object
imageRepositoryRef:
description:ImageRepositoryRef points at the object specifying the
image being scanned
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
policy:
description:Policy gives the particulars of the policy to be followed
in selecting the most recent image
properties:
alphabetical:
description:Alphabetical set of rules to use for alphabetical
ordering of the tags.
properties:
order:
default:asc
description:Order specifies the sorting order of the tags.
Given the letters of the alphabet as tags, ascending order
would select Z, and descending order would select A.
enum:
- asc
- desc
type:string
type:object
numerical:
description:Numerical set of rules to use for numerical ordering
of the tags.
properties:
order:
default:asc
description:Order specifies the sorting order of the tags.
Given the integer values from 0 to 9 as tags, ascending
order would select 9, and descending order would select
0.
enum:
- asc
- desc
type:string
type:object
semver:
description:SemVer gives a semantic version range to check against
the tags available.
properties:
range:
description:Range gives a semver range for the image tag;
the highest version within the range that's a tag yields
the latest image.
type:string
required:
- range
type:object
type:object
required:
- imageRepositoryRef
- policy
type:object
status:
description:ImagePolicyStatus defines the observed state of ImagePolicy
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:LatestImage gives the first in the list of images scanned
by the image repository, when filtered and ordered according to
the policy.
type:string
observedGeneration:
format:int64
type:integer
type:object
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- jsonPath:.status.latestImage
name:LatestImage
type:string
name:v1beta1
schema:
openAPIV3Schema:
description:ImagePolicy is the Schema for the imagepolicies API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImagePolicySpec defines the parameters for calculating the
ImagePolicy
properties:
filterTags:
description:FilterTags enables filtering for only a subset of tags
based on a set of rules. If no rules are provided, all the tags
from the repository will be ordered and compared.
properties:
extract:
description:Extract allows a capture group to be extracted from
the specified regular expression pattern, useful before tag
evaluation.
type:string
pattern:
description:Pattern specifies a regular expression pattern used
to filter for image tags.
type:string
type:object
imageRepositoryRef:
description:ImageRepositoryRef points at the object specifying the
image being scanned
properties:
name:
description:Name of the referent
type:string
namespace:
description:Namespace of the referent, when not specified it
acts as LocalObjectReference
type:string
required:
- name
type:object
policy:
description:Policy gives the particulars of the policy to be followed
in selecting the most recent image
properties:
alphabetical:
description:Alphabetical set of rules to use for alphabetical
ordering of the tags.
properties:
order:
default:asc
description:Order specifies the sorting order of the tags.
Given the letters of the alphabet as tags, ascending order
would select Z, and descending order would select A.
enum:
- asc
- desc
type:string
type:object
numerical:
description:Numerical set of rules to use for numerical ordering
of the tags.
properties:
order:
default:asc
description:Order specifies the sorting order of the tags.
Given the integer values from 0 to 9 as tags, ascending
order would select 9, and descending order would select
0.
enum:
- asc
- desc
type:string
type:object
semver:
description:SemVer gives a semantic version range to check against
the tags available.
properties:
range:
description:Range gives a semver range for the image tag;
the highest version within the range that's a tag yields
the latest image.
type:string
required:
- range
type:object
type:object
required:
- imageRepositoryRef
- policy
type:object
status:
description:ImagePolicyStatus defines the observed state of ImagePolicy
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:ImageRepository is the Schema for the imagerepositories API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImageRepositorySpec defines the parameters for scanning an
image repository, e.g., `fluxcd/flux`.
properties:
certSecretRef:
description:"CertSecretRef can be given the name of a secret containing
either or both of \n - a PEM-encoded client certificate (`certFile`)
and private key (`keyFile`); - a PEM-encoded CA certificate (`caFile`)
\n and whichever are supplied, will be used for connecting to the
\ registry. The client cert and key are useful if you are authenticating
with a certificate; the CA cert is useful if you are using a self-signed
server certificate."
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
image:
description:Image is the name of the image repository
type:string
interval:
description:Interval is the length of time to wait between scans
of the image repository.
type:string
secretRef:
description:SecretRef can be given the name of a secret containing
credentials to use for the image registry. The secret should be
created with `kubectl create secret docker-registry`, or the equivalent.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
suspend:
description:This flag tells the controller to suspend subsequent
image scans. It does not apply to already started scans. Defaults
to false.
type:boolean
timeout:
description:Timeout for image scanning. Defaults to 'Interval' duration.
description:LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change can be detected.
type:string
lastScanResult:
description:LastScanResult contains the number of fetched tags.
properties:
scanTime:
format:date-time
type:string
tagCount:
type:integer
required:
- tagCount
type:object
observedGeneration:
description:ObservedGeneration is the last reconciled generation.
format:int64
type:integer
type:object
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- jsonPath:.status.lastScanResult.scanTime
name:Last scan
type:string
- jsonPath:.status.lastScanResult.tagCount
name:Tags
type:string
name:v1alpha2
schema:
openAPIV3Schema:
description:ImageRepository is the Schema for the imagerepositories API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImageRepositorySpec defines the parameters for scanning an
image repository, e.g., `fluxcd/flux`.
properties:
certSecretRef:
description:"CertSecretRef can be given the name of a secret containing
either or both of \n - a PEM-encoded client certificate (`certFile`)
and private key (`keyFile`); - a PEM-encoded CA certificate (`caFile`)
\n and whichever are supplied, will be used for connecting to the
\ registry. The client cert and key are useful if you are authenticating
with a certificate; the CA cert is useful if you are using a self-signed
server certificate."
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
image:
description:Image is the name of the image repository
type:string
interval:
description:Interval is the length of time to wait between scans
of the image repository.
type:string
secretRef:
description:SecretRef can be given the name of a secret containing
credentials to use for the image registry. The secret should be
created with `kubectl create secret docker-registry`, or the equivalent.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
suspend:
description:This flag tells the controller to suspend subsequent
image scans. It does not apply to already started scans. Defaults
to false.
type:boolean
timeout:
description:Timeout for image scanning. Defaults to 'Interval' duration.
type:string
type:object
status:
description:ImageRepositoryStatus defines the observed state of ImageRepository
properties:
canonicalImageName:
description:CanonicalName is the name of the image repository with
all the implied bits made explicit; e.g., `docker.io/library/alpine`
rather than `alpine`.
type:string
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change can be detected.
type:string
lastScanResult:
description:LastScanResult contains the number of fetched tags.
properties:
scanTime:
format:date-time
type:string
tagCount:
type:integer
required:
- tagCount
type:object
observedGeneration:
description:ObservedGeneration is the last reconciled generation.
format:int64
type:integer
type:object
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- jsonPath:.status.lastScanResult.scanTime
name:Last scan
type:string
- jsonPath:.status.lastScanResult.tagCount
name:Tags
type:string
name:v1beta1
schema:
openAPIV3Schema:
description:ImageRepository is the Schema for the imagerepositories API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImageRepositorySpec defines the parameters for scanning an
image repository, e.g., `fluxcd/flux`.
properties:
accessFrom:
description:AccessFrom defines an ACL for allowing cross-namespace
references to the ImageRepository object based on the caller's namespace
labels.
properties:
namespaceSelectors:
items:
properties:
matchLabels:
additionalProperties:
type:string
type:object
type:object
type:array
type:object
certSecretRef:
description:"CertSecretRef can be given the name of a secret containing
either or both of \n - a PEM-encoded client certificate (`certFile`)
and private key (`keyFile`); - a PEM-encoded CA certificate (`caFile`)
\n and whichever are supplied, will be used for connecting to the
\ registry. The client cert and key are useful if you are authenticating
with a certificate; the CA cert is useful if you are using a self-signed
server certificate."
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
image:
description:Image is the name of the image repository
type:string
interval:
description:Interval is the length of time to wait between scans
of the image repository.
type:string
secretRef:
description:SecretRef can be given the name of a secret containing
credentials to use for the image registry. The secret should be
created with `kubectl create secret docker-registry`, or the equivalent.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
suspend:
description:This flag tells the controller to suspend subsequent
image scans. It does not apply to already started scans. Defaults
to false.
type:boolean
timeout:
description:Timeout for image scanning. Defaults to 'Interval' duration.
type:string
type:object
status:
description:ImageRepositoryStatus defines the observed state of ImageRepository
properties:
canonicalImageName:
description:CanonicalName is the name of the image repository with
all the implied bits made explicit; e.g., `docker.io/library/alpine`
rather than `alpine`.
type:string
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:ImageUpdateAutomation is the Schema for the imageupdateautomations
API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation
properties:
checkout:
description:Checkout gives the parameters for cloning the git repository,
ready to make changes.
properties:
branch:
description:Branch gives the branch to clone from the git repository.
If `.spec.push` is not supplied, commits will also be pushed
to this branch.
type:string
gitRepositoryRef:
description:GitRepositoryRef refers to the resource giving access
details to a git repository to update files in.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
required:
- branch
- gitRepositoryRef
type:object
commit:
description:Commit specifies how to commit to the git repository.
properties:
authorEmail:
description:AuthorEmail gives the email to provide when making
a commit
type:string
authorName:
description:AuthorName gives the name to provide when making
a commit
type:string
messageTemplate:
description:MessageTemplate provides a template for the commit
message, into which will be interpolated the details of the
change made.
type:string
signingKey:
description:SigningKey provides the option to sign commits with
a GPG key
properties:
secretRef:
description:SecretRef holds the name to a secret that contains
a 'git.asc' key corresponding to the ASCII Armored file
containing the GPG signing keypair as the value. It must
be in the same namespace as the ImageUpdateAutomation.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
type:object
required:
- authorEmail
- authorName
type:object
interval:
description:Interval gives an lower bound for how often the automation
run should be attempted.
type:string
push:
description:Push specifies how and where to push commits made by
the automation. If missing, commits are pushed (back) to `.spec.checkout.branch`.
properties:
branch:
description:Branch specifies that commits should be pushed to
the branch named. The branch is created using `.spec.checkout.branch`
as the starting point, if it doesn't already exist.
type:string
required:
- branch
type:object
suspend:
description:Suspend tells the controller to not run this automation,
until it is unset (or set to false). Defaults to false.
type:boolean
update:
default:
strategy:Setters
description:Update gives the specification for how to update the
files in the repository. This can be left empty, to use the default
value.
properties:
path:
description:Path to the directory containing the manifests to
be updated. Defaults to 'None', which translates to the root
path of the GitRepositoryRef.
type:string
strategy:
default:Setters
description:Strategy names the strategy to be used.
enum:
- Setters
type:string
required:
- strategy
type:object
required:
- checkout
- commit
- interval
type:object
status:
description:ImageUpdateAutomationStatus defines the observed state of
ImageUpdateAutomation
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:LastAutomationRunTime records the last time the controller
ran this automation through to completion (even if no updates were
made).
format:date-time
type:string
lastHandledReconcileAt:
description:LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change can be detected.
type:string
lastPushCommit:
description:LastPushCommit records the SHA1 of the last commit made
by the controller, for this automation object
type:string
lastPushTime:
description:LastPushTime records the time of the last pushed change.
format:date-time
type:string
observedGeneration:
format:int64
type:integer
type:object
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- jsonPath:.status.lastAutomationRunTime
name:Last run
type:string
name:v1alpha2
schema:
openAPIV3Schema:
description:ImageUpdateAutomation is the Schema for the imageupdateautomations
API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation
properties:
git:
description:GitSpec contains all the git-specific definitions. This
is technically optional, but in practice mandatory until there are
other kinds of source allowed.
properties:
checkout:
description:Checkout gives the parameters for cloning the git
repository, ready to make changes. If not present, the `spec.ref`
field from the referenced `GitRepository` or its default will
be used.
properties:
ref:
description:Reference gives a branch, tag or commit to clone
from the Git repository.
properties:
branch:
description:The Git branch to checkout, defaults to master.
type:string
commit:
description:The Git commit SHA to checkout, if specified
Tag filters will be ignored.
type:string
semver:
description:The Git tag semver expression, takes precedence
over Tag.
type:string
tag:
description:The Git tag to checkout, takes precedence
over Branch.
type:string
type:object
required:
- ref
type:object
commit:
description:Commit specifies how to commit to the git repository.
properties:
author:
description:Author gives the email and optionally the name
to use as the author of commits.
properties:
email:
description:Email gives the email to provide when making
a commit.
type:string
name:
description:Name gives the name to provide when making
a commit.
type:string
required:
- email
type:object
messageTemplate:
description:MessageTemplate provides a template for the commit
message, into which will be interpolated the details of
the change made.
type:string
signingKey:
description:SigningKey provides the option to sign commits
with a GPG key
properties:
secretRef:
description:SecretRef holds the name to a secret that
contains a 'git.asc' key corresponding to the ASCII
Armored file containing the GPG signing keypair as the
value. It must be in the same namespace as the ImageUpdateAutomation.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
type:object
required:
- author
type:object
push:
description:Push specifies how and where to push commits made
by the automation. If missing, commits are pushed (back) to
`.spec.checkout.branch` or its default.
properties:
branch:
description:Branch specifies that commits should be pushed
to the branch named. The branch is created using `.spec.checkout.branch`
as the starting point, if it doesn't already exist.
type:string
required:
- branch
type:object
required:
- commit
type:object
interval:
description:Interval gives an lower bound for how often the automation
run should be attempted.
type:string
sourceRef:
description:SourceRef refers to the resource giving access details
to a git repository.
properties:
apiVersion:
description:API version of the referent
type:string
kind:
default:GitRepository
description:Kind of the referent
enum:
- GitRepository
type:string
name:
description:Name of the referent
type:string
required:
- kind
- name
type:object
suspend:
description:Suspend tells the controller to not run this automation,
until it is unset (or set to false). Defaults to false.
type:boolean
update:
default:
strategy:Setters
description:Update gives the specification for how to update the
files in the repository. This can be left empty, to use the default
value.
properties:
path:
description:Path to the directory containing the manifests to
be updated. Defaults to 'None', which translates to the root
path of the GitRepositoryRef.
type:string
strategy:
default:Setters
description:Strategy names the strategy to be used.
enum:
- Setters
type:string
required:
- strategy
type:object
required:
- interval
- sourceRef
type:object
status:
description:ImageUpdateAutomationStatus defines the observed state of
ImageUpdateAutomation
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:LastAutomationRunTime records the last time the controller
ran this automation through to completion (even if no updates were
made).
format:date-time
type:string
lastHandledReconcileAt:
description:LastHandledReconcileAt holds the value of the most recent
reconcile request value, so a change can be detected.
type:string
lastPushCommit:
description:LastPushCommit records the SHA1 of the last commit made
by the controller, for this automation object
type:string
lastPushTime:
description:LastPushTime records the time of the last pushed change.
format:date-time
type:string
observedGeneration:
format:int64
type:integer
type:object
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- jsonPath:.status.lastAutomationRunTime
name:Last run
type:string
name:v1beta1
schema:
openAPIV3Schema:
description:ImageUpdateAutomation is the Schema for the imageupdateautomations
API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation
properties:
git:
description:GitSpec contains all the git-specific definitions. This
is technically optional, but in practice mandatory until there are
other kinds of source allowed.
properties:
checkout:
description:Checkout gives the parameters for cloning the git
repository, ready to make changes. If not present, the `spec.ref`
field from the referenced `GitRepository` or its default will
be used.
properties:
ref:
description:Reference gives a branch, tag or commit to clone
from the Git repository.
properties:
branch:
description:The Git branch to checkout, defaults to master.
type:string
commit:
description:The Git commit SHA to checkout, if specified
Tag filters will be ignored.
type:string
semver:
description:The Git tag semver expression, takes precedence
over Tag.
type:string
tag:
description:The Git tag to checkout, takes precedence
over Branch.
type:string
type:object
required:
- ref
type:object
commit:
description:Commit specifies how to commit to the git repository.
properties:
author:
description:Author gives the email and optionally the name
to use as the author of commits.
properties:
email:
description:Email gives the email to provide when making
a commit.
type:string
name:
description:Name gives the name to provide when making
a commit.
type:string
required:
- email
type:object
messageTemplate:
description:MessageTemplate provides a template for the commit
message, into which will be interpolated the details of
the change made.
type:string
signingKey:
description:SigningKey provides the option to sign commits
with a GPG key
properties:
secretRef:
description:SecretRef holds the name to a secret that
contains a 'git.asc' key corresponding to the ASCII
Armored file containing the GPG signing keypair as the
value. It must be in the same namespace as the ImageUpdateAutomation.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
type:object
required:
- author
type:object
push:
description:Push specifies how and where to push commits made
by the automation. If missing, commits are pushed (back) to
`.spec.checkout.branch` or its default.
properties:
branch:
description:Branch specifies that commits should be pushed
to the branch named. The branch is created using `.spec.checkout.branch`
as the starting point, if it doesn't already exist.
type:string
required:
- branch
type:object
required:
- commit
type:object
interval:
description:Interval gives an lower bound for how often the automation
run should be attempted.
type:string
sourceRef:
description:SourceRef refers to the resource giving access details
to a git repository.
properties:
apiVersion:
description:API version of the referent
type:string
kind:
default:GitRepository
description:Kind of the referent
enum:
- GitRepository
type:string
name:
description:Name of the referent
type:string
required:
- kind
- name
type:object
suspend:
description:Suspend tells the controller to not run this automation,
until it is unset (or set to false). Defaults to false.
type:boolean
update:
default:
strategy:Setters
description:Update gives the specification for how to update the
files in the repository. This can be left empty, to use the default
value.
properties:
path:
description:Path to the directory containing the manifests to
be updated. Defaults to 'None', which translates to the root
path of the GitRepositoryRef.
type:string
strategy:
default:Setters
description:Strategy names the strategy to be used.
enum:
- Setters
type:string
required:
- strategy
type:object
required:
- interval
- sourceRef
type:object
status:
description:ImageUpdateAutomationStatus defines the observed state of
ImageUpdateAutomation
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
description:Kustomization is the Schema for the kustomizations API.
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:KustomizationSpec defines the desired state of a kustomization.
properties:
decryption:
description:Decrypt Kubernetes secrets before applying them on the
cluster.
properties:
provider:
description:Provider is the name of the decryption engine.
enum:
- sops
type:string
secretRef:
description:The secret name containing the private OpenPGP keys
used for decryption.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
required:
- provider
type:object
dependsOn:
description:DependsOn may contain a dependency.CrossNamespaceDependencyReference
slice with references to Kustomization resources that must be ready
before this Kustomization can be reconciled.
items:
description:CrossNamespaceDependencyReference holds the reference
to a dependency.
properties:
name:
description:Name holds the name reference of a dependency.
type:string
namespace:
description:Namespace holds the namespace reference of a dependency.
type:string
required:
- name
type:object
type:array
force:
default:false
description:Force instructs the controller to recreate resources
when patching fails due to an immutable field change.
type:boolean
healthChecks:
description:A list of resources to be included in the health assessment.
items:
description:NamespacedObjectKindReference contains enough information
to let you locate the typed referenced object in any namespace
properties:
apiVersion:
description:API version of the referent, if not specified the
Kubernetes preferred version will be used
type:string
kind:
description:Kind of the referent
type:string
name:
description:Name of the referent
type:string
namespace:
description:Namespace of the referent, when not specified it
acts as LocalObjectReference
type:string
required:
- kind
- name
type:object
type:array
images:
description:Images is a list of (image name, new name, new tag or
digest) for changing image names, tags or digests. This can also
be achieved with a patch, but this operator is simpler to specify.
items:
description:Image contains an image name, a new name, a new tag
or digest, which will replace the original name and tag.
properties:
digest:
description:Digest is the value used to replace the original
image tag. If digest is present NewTag value is ignored.
type:string
name:
description:Name is a tag-less image name.
type:string
newName:
description:NewName is the value used to replace the original
name.
type:string
newTag:
description:NewTag is the value used to replace the original
tag.
type:string
required:
- name
type:object
type:array
interval:
description:The interval at which to reconcile the Kustomization.
type:string
kubeConfig:
description:The KubeConfig for reconciling the Kustomization on a
remote cluster. When specified, KubeConfig takes precedence over
ServiceAccountName.
properties:
secretRef:
description:SecretRef holds the name to a secret that contains
a 'value' key with the kubeconfig file as the value. It must
be in the same namespace as the Kustomization. It is recommended
that the kubeconfig is self-contained, and the secret is regularly
updated if credentials such as a cloud-access-token expire.
Cloud specific `cmd-path` auth helpers will not function without
adding binaries and credentials to the Pod that is responsible
for reconciling the Kustomization.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
type:object
patches:
description:Strategic merge and JSON patches, defined as inline YAML
objects, capable of targeting objects based on kind, label and annotation
selectors.
items:
description:Patch contains either a StrategicMerge or a JSON6902
patch, either a file or inline, and the target the patch should
be applied to.
properties:
patch:
description:Patch contains the JSON6902 patch document with
an array of operation objects.
type:string
target:
description:Target points to the resources that the patch document
should be applied to.
properties:
annotationSelector:
description:AnnotationSelector is a string that follows
the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
It matches with the resource annotations.
type:string
group:
description:Group is the API group to select resources
from. Together with Version and Kind it is capable of
description:Kustomization is the Schema for the kustomizations API.
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:KustomizationSpec defines the configuration to calculate
the desired state from a Source using Kustomize.
properties:
decryption:
description:Decrypt Kubernetes secrets before applying them on the
cluster.
properties:
provider:
description:Provider is the name of the decryption engine.
enum:
- sops
type:string
secretRef:
description:The secret name containing the private OpenPGP keys
used for decryption.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
required:
- provider
type:object
dependsOn:
description:DependsOn may contain a dependency.CrossNamespaceDependencyReference
slice with references to Kustomization resources that must be ready
before this Kustomization can be reconciled.
items:
description:CrossNamespaceDependencyReference holds the reference
to a dependency.
properties:
name:
description:Name holds the name reference of a dependency.
type:string
namespace:
description:Namespace holds the namespace reference of a dependency.
type:string
required:
- name
type:object
type:array
force:
default:false
description:Force instructs the controller to recreate resources
when patching fails due to an immutable field change.
type:boolean
healthChecks:
description:A list of resources to be included in the health assessment.
items:
description:NamespacedObjectKindReference contains enough information
to let you locate the typed referenced object in any namespace
properties:
apiVersion:
description:API version of the referent, if not specified the
Kubernetes preferred version will be used
type:string
kind:
description:Kind of the referent
type:string
name:
description:Name of the referent
type:string
namespace:
description:Namespace of the referent, when not specified it
acts as LocalObjectReference
type:string
required:
- kind
- name
type:object
type:array
images:
description:Images is a list of (image name, new name, new tag or
digest) for changing image names, tags or digests. This can also
be achieved with a patch, but this operator is simpler to specify.
items:
description:Image contains an image name, a new name, a new tag
or digest, which will replace the original name and tag.
properties:
digest:
description:Digest is the value used to replace the original
image tag. If digest is present NewTag value is ignored.
type:string
name:
description:Name is a tag-less image name.
type:string
newName:
description:NewName is the value used to replace the original
name.
type:string
newTag:
description:NewTag is the value used to replace the original
tag.
type:string
required:
- name
type:object
type:array
interval:
description:The interval at which to reconcile the Kustomization.
type:string
kubeConfig:
description:The KubeConfig for reconciling the Kustomization on a
remote cluster. When specified, KubeConfig takes precedence over
ServiceAccountName.
properties:
secretRef:
description:SecretRef holds the name to a secret that contains
a 'value' key with the kubeconfig file as the value. It must
be in the same namespace as the Kustomization. It is recommended
that the kubeconfig is self-contained, and the secret is regularly
updated if credentials such as a cloud-access-token expire.
Cloud specific `cmd-path` auth helpers will not function without
adding binaries and credentials to the Pod that is responsible
for reconciling the Kustomization.
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
type:object
patches:
description:Strategic merge and JSON patches, defined as inline YAML
objects, capable of targeting objects based on kind, label and annotation
selectors.
items:
description:Patch contains either a StrategicMerge or a JSON6902
patch, either a file or inline, and the target the patch should
be applied to.
properties:
patch:
description:Patch contains the JSON6902 patch document with
an array of operation objects.
type:string
target:
description:Target points to the resources that the patch document
should be applied to.
properties:
annotationSelector:
description:AnnotationSelector is a string that follows
the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
It matches with the resource annotations.
type:string
group:
description:Group is the API group to select resources
from. Together with Version and Kind it is capable of
description:Provider is the Schema for the providers API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ProviderSpec defines the desired state of Provider
properties:
address:
description:HTTP/S webhook address of this provider
pattern:^(http|https)://
type:string
certSecretRef:
description:CertSecretRef can be given the name of a secret containing
a PEM-encoded CA certificate (`caFile`)
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
channel:
description:Alert channel for this provider
type:string
proxy:
description:HTTP/S address of the proxy
pattern:^(http|https)://
type:string
secretRef:
description:Secret reference containing the provider webhook URL
description:Receiver is the Schema for the receivers API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ReceiverSpec defines the desired state of Receiver
properties:
events:
description:A list of events to handle, e.g. 'push' for GitHub or
'Push Hook'for GitLab.
items:
type:string
type:array
resources:
description:A list of resources to be notified about changes.
items:
description:CrossNamespaceObjectReference contains enough information
to let you locate the typed referenced object at cluster level
properties:
apiVersion:
description:API version of the referent
type:string
kind:
description:Kind of the referent
enum:
- Bucket
- GitRepository
- Kustomization
- HelmRelease
- HelmChart
- HelmRepository
- ImageRepository
- ImagePolicy
- ImageUpdateAutomation
type:string
name:
description:Name of the referent
maxLength:53
minLength:1
type:string
namespace:
description:Namespace of the referent
maxLength:53
minLength:1
type:string
required:
- name
type:object
type:array
secretRef:
description:Secret reference containing the token used to validate
the payload authenticity
properties:
name:
description:Name of the referent
type:string
required:
- name
type:object
suspend:
description:This flag tells the controller to suspend subsequent
events handling. Defaults to false.
type:boolean
type:
description:Type of webhook sender, used to determine the validation
procedure and payload deserialization.
enum:
- generic
- generic-hmac
- github
- gitlab
- bitbucket
- harbor
- dockerhub
- quay
- gcr
- nexus
- acr
type:string
required:
- resources
- type
type:object
status:
default:
observedGeneration:-1
description:ReceiverStatus defines the observed state of Receiver
properties:
conditions:
items:
description:"Condition contains details for one aspect of the current
state of this API Resource. --- This struct is intended for direct
use as an array at the field path .status.conditions. For example,
type FooStatus struct{ // Represents the observations of a
foo's current state. // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type