feat!: upgrade flux components to v0.18.0 (#96)
Co-authored-by: onedr0p <onedr0p@users.noreply.github.com>
This commit is contained in:
1 parent
b2f85aac1e
commit
1a90ebca00
5 files changed
+588
-34
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: apps
|
name: apps
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: core
|
name: core
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: crds
|
name: crds
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# Flux version: v0.17.2
|
# Flux version: v0.18.0
|
||||||
# Components: source-controller,kustomize-controller,helm-controller,notification-controller
|
# Components: source-controller,kustomize-controller,helm-controller,notification-controller
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: flux-system
|
name: flux-system
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
@@ -19,7 +19,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: alerts.notification.toolkit.fluxcd.io
|
name: alerts.notification.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: notification.toolkit.fluxcd.io
|
group: notification.toolkit.fluxcd.io
|
||||||
@@ -132,6 +132,8 @@ spec:
|
|||||||
- providerRef
|
- providerRef
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
|
default:
|
||||||
|
observedGeneration: -1
|
||||||
description: AlertStatus defines the observed state of Alert
|
description: AlertStatus defines the observed state of Alert
|
||||||
properties:
|
properties:
|
||||||
conditions:
|
conditions:
|
||||||
@@ -229,7 +231,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: buckets.source.toolkit.fluxcd.io
|
name: buckets.source.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: source.toolkit.fluxcd.io
|
group: source.toolkit.fluxcd.io
|
||||||
@@ -459,7 +461,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: gitrepositories.source.toolkit.fluxcd.io
|
name: gitrepositories.source.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: source.toolkit.fluxcd.io
|
group: source.toolkit.fluxcd.io
|
||||||
@@ -790,7 +792,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: helmcharts.source.toolkit.fluxcd.io
|
name: helmcharts.source.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: source.toolkit.fluxcd.io
|
group: source.toolkit.fluxcd.io
|
||||||
@@ -852,6 +854,16 @@ spec:
|
|||||||
interval:
|
interval:
|
||||||
description: The interval at which to check the Source for updates.
|
description: The interval at which to check the Source for updates.
|
||||||
type: string
|
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:
|
sourceRef:
|
||||||
description: The reference to the Source the chart is available at.
|
description: The reference to the Source the chart is available at.
|
||||||
properties:
|
properties:
|
||||||
@@ -1035,7 +1047,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: helmreleases.helm.toolkit.fluxcd.io
|
name: helmreleases.helm.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: helm.toolkit.fluxcd.io
|
group: helm.toolkit.fluxcd.io
|
||||||
@@ -1094,6 +1106,16 @@ spec:
|
|||||||
description: Interval at which to check the v1beta1.Source
|
description: Interval at which to check the v1beta1.Source
|
||||||
for updates. Defaults to 'HelmReleaseSpec.Interval'.
|
for updates. Defaults to 'HelmReleaseSpec.Interval'.
|
||||||
type: string
|
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:
|
sourceRef:
|
||||||
description: The name and namespace of the v1beta1.Source
|
description: The name and namespace of the v1beta1.Source
|
||||||
the chart is available at.
|
the chart is available at.
|
||||||
@@ -1785,7 +1807,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: helmrepositories.source.toolkit.fluxcd.io
|
name: helmrepositories.source.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: source.toolkit.fluxcd.io
|
group: source.toolkit.fluxcd.io
|
||||||
@@ -2003,7 +2025,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: kustomizations.kustomize.toolkit.fluxcd.io
|
name: kustomizations.kustomize.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: kustomize.toolkit.fluxcd.io
|
group: kustomize.toolkit.fluxcd.io
|
||||||
@@ -2535,6 +2557,530 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
storage: false
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- jsonPath: .status.conditions[?(@.type=="Ready")].status
|
||||||
|
name: Ready
|
||||||
|
type: string
|
||||||
|
- jsonPath: .status.conditions[?(@.type=="Ready")].message
|
||||||
|
name: Status
|
||||||
|
type: string
|
||||||
|
- jsonPath: .metadata.creationTimestamp
|
||||||
|
name: Age
|
||||||
|
type: date
|
||||||
|
name: v1beta2
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
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
|
||||||
|
unambiguously identifying and/or selecting resources.
|
||||||
|
https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: Kind of the API Group to select resources from.
|
||||||
|
Together with Group and Version it is capable of unambiguously
|
||||||
|
identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
||||||
|
type: string
|
||||||
|
labelSelector:
|
||||||
|
description: LabelSelector 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 labels.
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: Name to match resources with.
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
description: Namespace to select resources from.
|
||||||
|
type: string
|
||||||
|
version:
|
||||||
|
description: Version of the API Group to select resources
|
||||||
|
from. Together with Group and Kind it is capable of unambiguously
|
||||||
|
identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
patchesJson6902:
|
||||||
|
description: 'JSON 6902 patches, defined as inline YAML objects. Deprecated:
|
||||||
|
Use Patches instead.'
|
||||||
|
items:
|
||||||
|
description: JSON6902Patch contains a JSON6902 patch and the target
|
||||||
|
the patch should be applied to.
|
||||||
|
properties:
|
||||||
|
patch:
|
||||||
|
description: Patch contains the JSON6902 patch document with
|
||||||
|
an array of operation objects.
|
||||||
|
items:
|
||||||
|
description: JSON6902 is a JSON6902 operation object. https://tools.ietf.org/html/rfc6902#section-4
|
||||||
|
properties:
|
||||||
|
from:
|
||||||
|
type: string
|
||||||
|
op:
|
||||||
|
enum:
|
||||||
|
- test
|
||||||
|
- remove
|
||||||
|
- add
|
||||||
|
- replace
|
||||||
|
- move
|
||||||
|
- copy
|
||||||
|
type: string
|
||||||
|
path:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- op
|
||||||
|
- path
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
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
|
||||||
|
unambiguously identifying and/or selecting resources.
|
||||||
|
https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: Kind of the API Group to select resources from.
|
||||||
|
Together with Group and Version it is capable of unambiguously
|
||||||
|
identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
||||||
|
type: string
|
||||||
|
labelSelector:
|
||||||
|
description: LabelSelector 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 labels.
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: Name to match resources with.
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
description: Namespace to select resources from.
|
||||||
|
type: string
|
||||||
|
version:
|
||||||
|
description: Version of the API Group to select resources
|
||||||
|
from. Together with Group and Kind it is capable of unambiguously
|
||||||
|
identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- patch
|
||||||
|
- target
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
patchesStrategicMerge:
|
||||||
|
description: 'Strategic merge patches, defined as inline YAML objects.
|
||||||
|
Deprecated: Use Patches instead.'
|
||||||
|
items:
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
type: array
|
||||||
|
path:
|
||||||
|
description: Path to the directory containing the kustomization.yaml
|
||||||
|
file, or the set of plain YAMLs a kustomization.yaml should be generated
|
||||||
|
for. Defaults to 'None', which translates to the root path of the
|
||||||
|
SourceRef.
|
||||||
|
type: string
|
||||||
|
postBuild:
|
||||||
|
description: PostBuild describes which actions to perform on the YAML
|
||||||
|
manifest generated by building the kustomize overlay.
|
||||||
|
properties:
|
||||||
|
substitute:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
description: Substitute holds a map of key/value pairs. The variables
|
||||||
|
defined in your YAML manifests that match any of the keys defined
|
||||||
|
in the map will be substituted with the set value. Includes
|
||||||
|
support for bash string replacement functions e.g. ${var:=default},
|
||||||
|
${var:position} and ${var/substring/replacement}.
|
||||||
|
type: object
|
||||||
|
substituteFrom:
|
||||||
|
description: SubstituteFrom holds references to ConfigMaps and
|
||||||
|
Secrets containing the variables and their values to be substituted
|
||||||
|
in the YAML manifests. The ConfigMap and the Secret data keys
|
||||||
|
represent the var names and they must match the vars declared
|
||||||
|
in the manifests for the substitution to happen.
|
||||||
|
items:
|
||||||
|
description: SubstituteReference contains a reference to a resource
|
||||||
|
containing the variables name and value.
|
||||||
|
properties:
|
||||||
|
kind:
|
||||||
|
description: Kind of the values referent, valid values are
|
||||||
|
('Secret', 'ConfigMap').
|
||||||
|
enum:
|
||||||
|
- Secret
|
||||||
|
- ConfigMap
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: Name of the values referent. Should reside
|
||||||
|
in the same namespace as the referring resource.
|
||||||
|
maxLength: 253
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- kind
|
||||||
|
- name
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
prune:
|
||||||
|
description: Prune enables garbage collection.
|
||||||
|
type: boolean
|
||||||
|
retryInterval:
|
||||||
|
description: The interval at which to retry a previously failed reconciliation.
|
||||||
|
When not specified, the controller uses the KustomizationSpec.Interval
|
||||||
|
value to retry failures.
|
||||||
|
type: string
|
||||||
|
serviceAccountName:
|
||||||
|
description: The name of the Kubernetes service account to impersonate
|
||||||
|
when reconciling this Kustomization.
|
||||||
|
type: string
|
||||||
|
sourceRef:
|
||||||
|
description: Reference of the source where the kustomization file
|
||||||
|
is.
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: API version of the referent.
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: Kind of the referent.
|
||||||
|
enum:
|
||||||
|
- GitRepository
|
||||||
|
- Bucket
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: Name of the referent.
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
description: Namespace of the referent, defaults to the namespace
|
||||||
|
of the Kubernetes resource object that contains the reference.
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- kind
|
||||||
|
- name
|
||||||
|
type: object
|
||||||
|
suspend:
|
||||||
|
description: This flag tells the controller to suspend subsequent
|
||||||
|
kustomize executions, it does not apply to already started executions.
|
||||||
|
Defaults to false.
|
||||||
|
type: boolean
|
||||||
|
targetNamespace:
|
||||||
|
description: TargetNamespace sets or overrides the namespace in the
|
||||||
|
kustomization.yaml file.
|
||||||
|
maxLength: 63
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
|
timeout:
|
||||||
|
description: Timeout for validation, apply and health checking operations.
|
||||||
|
Defaults to 'Interval' duration.
|
||||||
|
type: string
|
||||||
|
validation:
|
||||||
|
description: 'Deprecated: Not used in v1beta2.'
|
||||||
|
enum:
|
||||||
|
- none
|
||||||
|
- client
|
||||||
|
- server
|
||||||
|
type: string
|
||||||
|
wait:
|
||||||
|
description: Wait instructs the controller to check the health of
|
||||||
|
all the reconciled resources. When enabled, the HealthChecks are
|
||||||
|
ignored. Defaults to false.
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- interval
|
||||||
|
- prune
|
||||||
|
- sourceRef
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
default:
|
||||||
|
observedGeneration: -1
|
||||||
|
description: KustomizationStatus defines the observed state of a kustomization.
|
||||||
|
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
|
||||||
|
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
|
||||||
|
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
|
||||||
|
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
|
||||||
|
\n // other fields }"
|
||||||
|
properties:
|
||||||
|
lastTransitionTime:
|
||||||
|
description: lastTransitionTime is the last time the condition
|
||||||
|
transitioned from one status to another. This should be when
|
||||||
|
the underlying condition changed. If that is not known, then
|
||||||
|
using the time when the API field changed is acceptable.
|
||||||
|
format: date-time
|
||||||
|
type: string
|
||||||
|
message:
|
||||||
|
description: message is a human readable message indicating
|
||||||
|
details about the transition. This may be an empty string.
|
||||||
|
maxLength: 32768
|
||||||
|
type: string
|
||||||
|
observedGeneration:
|
||||||
|
description: observedGeneration represents the .metadata.generation
|
||||||
|
that the condition was set based upon. For instance, if .metadata.generation
|
||||||
|
is currently 12, but the .status.conditions[x].observedGeneration
|
||||||
|
is 9, the condition is out of date with respect to the current
|
||||||
|
state of the instance.
|
||||||
|
format: int64
|
||||||
|
minimum: 0
|
||||||
|
type: integer
|
||||||
|
reason:
|
||||||
|
description: reason contains a programmatic identifier indicating
|
||||||
|
the reason for the condition's last transition. Producers
|
||||||
|
of specific condition types may define expected values and
|
||||||
|
meanings for this field, and whether the values are considered
|
||||||
|
a guaranteed API. The value should be a CamelCase string.
|
||||||
|
This field may not be empty.
|
||||||
|
maxLength: 1024
|
||||||
|
minLength: 1
|
||||||
|
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
description: status of the condition, one of True, False, Unknown.
|
||||||
|
enum:
|
||||||
|
- "True"
|
||||||
|
- "False"
|
||||||
|
- Unknown
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
||||||
|
--- Many .condition.type values are consistent across resources
|
||||||
|
like Available, but because arbitrary conditions can be useful
|
||||||
|
(see .node.status.conditions), the ability to deconflict is
|
||||||
|
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
|
||||||
|
maxLength: 316
|
||||||
|
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- lastTransitionTime
|
||||||
|
- message
|
||||||
|
- reason
|
||||||
|
- status
|
||||||
|
- type
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
inventory:
|
||||||
|
description: Inventory contains the list of Kubernetes resource object
|
||||||
|
references that have been successfully applied.
|
||||||
|
properties:
|
||||||
|
entries:
|
||||||
|
description: Entries of Kubernetes resource object references.
|
||||||
|
items:
|
||||||
|
description: ResourceRef contains the information necessary
|
||||||
|
to locate a resource within a cluster.
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
description: ID is the string representation of the Kubernetes
|
||||||
|
resource object's metadata, in the format '<namespace>_<name>_<group>_<kind>'.
|
||||||
|
type: string
|
||||||
|
v:
|
||||||
|
description: Version is the API version of the Kubernetes
|
||||||
|
resource object's kind.
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- v
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- entries
|
||||||
|
type: object
|
||||||
|
lastAppliedRevision:
|
||||||
|
description: The last successfully applied revision. The revision
|
||||||
|
format for Git sources is <branch|tag>/<commit-sha>.
|
||||||
|
type: string
|
||||||
|
lastAttemptedRevision:
|
||||||
|
description: LastAttemptedRevision is the revision of the last reconciliation
|
||||||
|
attempt.
|
||||||
|
type: string
|
||||||
|
lastHandledReconcileAt:
|
||||||
|
description: LastHandledReconcileAt holds the value of the most recent
|
||||||
|
reconcile request value, so a change can be detected.
|
||||||
|
type: string
|
||||||
|
observedGeneration:
|
||||||
|
description: ObservedGeneration is the last reconciled generation.
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
@@ -2554,7 +3100,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: providers.notification.toolkit.fluxcd.io
|
name: providers.notification.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: notification.toolkit.fluxcd.io
|
group: notification.toolkit.fluxcd.io
|
||||||
@@ -2645,6 +3191,7 @@ spec:
|
|||||||
- telegram
|
- telegram
|
||||||
- lark
|
- lark
|
||||||
- matrix
|
- matrix
|
||||||
|
- opsgenie
|
||||||
type: string
|
type: string
|
||||||
username:
|
username:
|
||||||
description: Bot username for this provider
|
description: Bot username for this provider
|
||||||
@@ -2653,6 +3200,8 @@ spec:
|
|||||||
- type
|
- type
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
|
default:
|
||||||
|
observedGeneration: -1
|
||||||
description: ProviderStatus defines the observed state of Provider
|
description: ProviderStatus defines the observed state of Provider
|
||||||
properties:
|
properties:
|
||||||
conditions:
|
conditions:
|
||||||
@@ -2724,6 +3273,10 @@ spec:
|
|||||||
- type
|
- type
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
observedGeneration:
|
||||||
|
description: ObservedGeneration is the last reconciled generation.
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
@@ -2746,7 +3299,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: receivers.notification.toolkit.fluxcd.io
|
name: receivers.notification.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: notification.toolkit.fluxcd.io
|
group: notification.toolkit.fluxcd.io
|
||||||
@@ -2864,6 +3417,8 @@ spec:
|
|||||||
- type
|
- type
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
|
default:
|
||||||
|
observedGeneration: -1
|
||||||
description: ReceiverStatus defines the observed state of Receiver
|
description: ReceiverStatus defines the observed state of Receiver
|
||||||
properties:
|
properties:
|
||||||
conditions:
|
conditions:
|
||||||
@@ -2961,7 +3516,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: helm-controller
|
name: helm-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
---
|
---
|
||||||
@@ -2971,7 +3526,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: kustomize-controller
|
name: kustomize-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
---
|
---
|
||||||
@@ -2981,7 +3536,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: notification-controller
|
name: notification-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
---
|
---
|
||||||
@@ -2991,7 +3546,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: source-controller
|
name: source-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
---
|
---
|
||||||
@@ -3001,7 +3556,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: crd-controller-flux-system
|
name: crd-controller-flux-system
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
@@ -3081,7 +3636,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: cluster-reconciler-flux-system
|
name: cluster-reconciler-flux-system
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
@@ -3101,7 +3656,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
name: crd-controller-flux-system
|
name: crd-controller-flux-system
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
@@ -3133,7 +3688,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: notification-controller
|
name: notification-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3153,7 +3708,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: source-controller
|
name: source-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3173,7 +3728,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: webhook-receiver
|
name: webhook-receiver
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3193,7 +3748,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: helm-controller
|
name: helm-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3222,7 +3777,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
image: ghcr.io/fluxcd/helm-controller:v0.11.2
|
image: ghcr.io/fluxcd/helm-controller:v0.12.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -3266,7 +3821,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: kustomize-controller
|
name: kustomize-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3295,7 +3850,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
image: ghcr.io/fluxcd/kustomize-controller:v0.14.1
|
image: ghcr.io/fluxcd/kustomize-controller:v0.15.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -3341,7 +3896,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: notification-controller
|
name: notification-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3369,7 +3924,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
image: ghcr.io/fluxcd/notification-controller:v0.16.0
|
image: ghcr.io/fluxcd/notification-controller:v0.17.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -3417,7 +3972,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: flux-system
|
app.kubernetes.io/instance: flux-system
|
||||||
app.kubernetes.io/part-of: flux
|
app.kubernetes.io/part-of: flux
|
||||||
app.kubernetes.io/version: v0.17.2
|
app.kubernetes.io/version: v0.18.0
|
||||||
control-plane: controller
|
control-plane: controller
|
||||||
name: source-controller
|
name: source-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
@@ -3450,7 +4005,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
image: ghcr.io/fluxcd/source-controller:v0.15.4
|
image: ghcr.io/fluxcd/source-controller:v0.16.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ spec:
|
|||||||
branch: main
|
branch: main
|
||||||
url: ${BOOTSTRAP_GIT_REPOSITORY}
|
url: ${BOOTSTRAP_GIT_REPOSITORY}
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: flux-system
|
name: flux-system
|
||||||
@@ -22,7 +22,6 @@ spec:
|
|||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: flux-system
|
name: flux-system
|
||||||
validation: client
|
|
||||||
decryption:
|
decryption:
|
||||||
provider: sops
|
provider: sops
|
||||||
secretRef:
|
secretRef:
|
||||||
|
|||||||
Reference in new issue
Block a user