From 3badf0ed38a28989ff026e603488525027a515bb Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Wed, 2 Jun 2021 20:28:11 +0000 Subject: [PATCH] chore(deps): update flux components to v0.14.2 Signed-off-by: Devin Buhl --- cluster/flux-system/gotk-components.yaml | 217 ++++++++++++++++++----- 1 file changed, 175 insertions(+), 42 deletions(-) diff --git a/cluster/flux-system/gotk-components.yaml b/cluster/flux-system/gotk-components.yaml index 52d04248ed70a..abeb46563b038 100755 --- a/cluster/flux-system/gotk-components.yaml +++ b/cluster/flux-system/gotk-components.yaml @@ -1,23 +1,25 @@ --- -# Flux version: v0.8.1 +# Flux version: v0.14.2 # Components: source-controller,kustomize-controller,helm-controller,notification-controller apiVersion: v1 kind: Namespace metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: flux-system --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: alerts.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -166,6 +168,10 @@ spec: - type type: object type: array + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer type: object type: object served: true @@ -183,11 +189,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: buckets.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -370,11 +377,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: gitrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -382,6 +390,8 @@ spec: kind: GitRepository listKind: GitRepositoryList plural: gitrepositories + shortNames: + - gitrepo singular: gitrepository scope: Namespaced versions: @@ -424,9 +434,36 @@ spec: ignore: description: Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same as .gitignore). If not provided, a default will be used, consult the documentation for your version to find out what those are. type: string + include: + description: Extra git repositories to map into the repository + items: + description: GitRepositoryInclude defines a source with a from and to path. + properties: + fromPath: + description: The path to copy contents from, defaults to the root directory. + type: string + repository: + description: Reference to a GitRepository to include. + properties: + name: + description: Name of the referent + type: string + required: + - name + type: object + toPath: + description: The path to copy contents to, defaults to the name of the source ref. + type: string + required: + - repository + type: object + type: array interval: description: The interval at which to check for repository updates. type: string + recurseSubmodules: + description: When enabled, after the clone is created, initializes all submodules within, using their default settings. This option is available only when using the 'go-git' GitImplementation. + type: boolean ref: description: The Git reference to checkout and monitor for changes, defaults to master branch. properties: @@ -558,6 +595,32 @@ spec: - type type: object type: array + includedArtifacts: + description: IncludedArtifacts represents the included artifacts from the last successful repository sync. + items: + description: Artifact represents the output of a source synchronisation. + properties: + checksum: + description: Checksum is the SHA1 checksum of the artifact. + type: string + lastUpdateTime: + description: LastUpdateTime is the timestamp corresponding to the last update of this artifact. + format: date-time + type: string + path: + description: Path is the relative file path of this artifact. + type: string + revision: + description: Revision is a human readable identifier traceable in the origin source system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm chart version, etc. + type: string + url: + description: URL is the HTTP address of this artifact. + type: string + required: + - path + - url + type: object + type: array lastHandledReconcileAt: description: LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change can be detected. type: string @@ -585,11 +648,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: helmcharts.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -597,6 +661,8 @@ spec: kind: HelmChart listKind: HelmChartList plural: helmcharts + shortNames: + - hc singular: helmchart scope: Namespaced versions: @@ -668,8 +734,13 @@ spec: description: This flag tells the controller to suspend the reconciliation of this source. type: boolean valuesFile: - description: Alternative values file to use as the default chart values, expected to be a relative path in the SourceRef. Ignored when omitted. + 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: The chart version semver expression, ignored for charts from GitRepository and Bucket sources. Defaults to latest when omitted. @@ -776,11 +847,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: helmreleases.helm.toolkit.fluxcd.io spec: group: helm.toolkit.fluxcd.io @@ -858,8 +930,13 @@ spec: - name type: object valuesFile: - description: Alternative values file to use as the default chart values, expected to be a relative path in the SourceRef. Ignored when omitted. + 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. @@ -889,6 +966,13 @@ spec: 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. https://helm.sh/docs/chart_best_practices/custom_resource_definitions." + enum: + - Skip + - Create + - CreateReplace + type: string createNamespace: description: CreateNamespace tells the Helm install action to create the HelmReleaseSpec.TargetNamespace if it does not exist yet. On uninstall, the namespace will not be garbage collected. type: boolean @@ -918,7 +1002,7 @@ spec: description: Replace tells the Helm install action to re-use the 'ReleaseName', but only if that name is a deleted release which remains in the history. type: boolean skipCRDs: - description: SkipCRDs tells the Helm install action to not install any CRDs. By default, CRDs are installed if not already present. + description: "SkipCRDs tells the Helm install action to not install any CRDs. By default, CRDs are installed if not already present. \n Deprecated use CRD policy (`crds`) attribute with value `Skip` instead." type: boolean timeout: description: Timeout is the time to wait for any individual Kubernetes operation (like Jobs for hooks) during the performance of a Helm install action. Defaults to 'HelmReleaseSpec.Timeout'. @@ -1118,6 +1202,13 @@ spec: cleanupOnFail: description: CleanupOnFail allows deletion of new resources created during the Helm upgrade action when it fails. type: boolean + 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 `Skip` and if omitted CRDs are neither installed nor upgraded. \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 not applied during Helm upgrade action. With this option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm. https://helm.sh/docs/chart_best_practices/custom_resource_definitions." + enum: + - Skip + - Create + - CreateReplace + type: string disableHooks: description: DisableHooks prevents hooks from running during the Helm upgrade action. type: boolean @@ -1291,11 +1382,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: helmrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -1303,6 +1395,8 @@ spec: kind: HelmRepository listKind: HelmRepositoryList plural: helmrepositories + shortNames: + - helmrepo singular: helmrepository scope: Namespaced versions: @@ -1458,11 +1552,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: kustomizations.kustomize.toolkit.fluxcd.io spec: group: kustomize.toolkit.fluxcd.io @@ -1536,6 +1631,10 @@ spec: - 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: @@ -1736,7 +1835,7 @@ spec: description: Timeout for validation, apply and health checking operations. Defaults to 'Interval' duration. type: string validation: - description: Validate the Kubernetes objects before applying them on the cluster. The validation strategy can be 'client' (local dry-run), 'server' (APIServer dry-run) or 'none'. + description: Validate the Kubernetes objects before applying them on the cluster. The validation strategy can be 'client' (local dry-run), 'server' (APIServer dry-run) or 'none'. When 'Force' is 'true', validation will fallback to 'client' if set to 'server' because server-side validation is not supported in this scenario. enum: - none - client @@ -1850,11 +1949,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: providers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -1895,6 +1995,15 @@ spec: 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 @@ -1923,6 +2032,10 @@ spec: - gitlab - bitbucket - azuredevops + - googlechat + - webex + - sentry + - azureeventhub type: string username: description: Bot username for this provider @@ -1993,11 +2106,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.3.0 + controller-gen.kubebuilder.io/version: v0.4.1 creationTimestamp: null labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: receivers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -2099,6 +2213,7 @@ spec: - quay - gcr - nexus + - acr type: string required: - resources @@ -2150,6 +2265,10 @@ spec: - type type: object type: array + observedGeneration: + description: ObservedGeneration is the last observed generation. + format: int64 + type: integer url: description: Generated webhook URL in the format of '/hook/sha256sum(token+name+namespace)'. type: string @@ -2171,7 +2290,8 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: helm-controller namespace: flux-system --- @@ -2180,7 +2300,8 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: kustomize-controller namespace: flux-system --- @@ -2189,7 +2310,8 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: notification-controller namespace: flux-system --- @@ -2198,7 +2320,8 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: source-controller namespace: flux-system --- @@ -2207,7 +2330,8 @@ kind: ClusterRole metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: crd-controller-flux-system rules: - apiGroups: @@ -2286,7 +2410,8 @@ kind: ClusterRoleBinding metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: cluster-reconciler-flux-system roleRef: apiGroup: rbac.authorization.k8s.io @@ -2305,7 +2430,8 @@ kind: ClusterRoleBinding metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 name: crd-controller-flux-system roleRef: apiGroup: rbac.authorization.k8s.io @@ -2336,7 +2462,8 @@ kind: Service metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: notification-controller namespace: flux-system @@ -2355,7 +2482,8 @@ kind: Service metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: source-controller namespace: flux-system @@ -2374,7 +2502,8 @@ kind: Service metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: webhook-receiver namespace: flux-system @@ -2393,7 +2522,8 @@ kind: Deployment metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: helm-controller namespace: flux-system @@ -2422,7 +2552,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/helm-controller:v0.7.0 + image: ghcr.io/fluxcd/helm-controller:v0.10.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2465,7 +2595,8 @@ kind: Deployment metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: kustomize-controller namespace: flux-system @@ -2494,7 +2625,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/kustomize-controller:v0.8.1 + image: ghcr.io/fluxcd/kustomize-controller:v0.12.2 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2539,7 +2670,8 @@ kind: Deployment metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: notification-controller namespace: flux-system @@ -2567,7 +2699,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/notification-controller:v0.8.0 + image: ghcr.io/fluxcd/notification-controller:v0.14.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2614,7 +2746,8 @@ kind: Deployment metadata: labels: app.kubernetes.io/instance: flux-system - app.kubernetes.io/version: v0.8.1 + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v0.14.2 control-plane: controller name: source-controller namespace: flux-system @@ -2647,7 +2780,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/source-controller:v0.8.1 + image: ghcr.io/fluxcd/source-controller:v0.13.2 imagePullPolicy: IfNotPresent livenessProbe: httpGet: