From 0208a70d80f9c79fafb2931a64fa55e6548a9338 Mon Sep 17 00:00:00 2001 From: Michael Fornaro <20387402+xUnholy@users.noreply.github.com> Date: Sat, 24 Apr 2021 00:18:34 +0000 Subject: [PATCH] Auto-update flux version Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com> --- .../flux-system/gotk-components.yaml | 103 ++++++++++++------ 1 file changed, 71 insertions(+), 32 deletions(-) diff --git a/k8s/clusters/production/flux-system/gotk-components.yaml b/k8s/clusters/production/flux-system/gotk-components.yaml index 34b6391108..c71baf0b67 100755 --- a/k8s/clusters/production/flux-system/gotk-components.yaml +++ b/k8s/clusters/production/flux-system/gotk-components.yaml @@ -1,5 +1,5 @@ --- -# Flux version: v0.12.3 +# Flux version: v0.13.1 # Components: source-controller,kustomize-controller,helm-controller,notification-controller apiVersion: v1 kind: Namespace @@ -7,7 +7,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: flux-system --- apiVersion: apiextensions.k8s.io/v1 @@ -19,7 +19,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: alerts.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -194,7 +194,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: buckets.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -382,7 +382,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: gitrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -390,6 +390,8 @@ spec: kind: GitRepository listKind: GitRepositoryList plural: gitrepositories + shortNames: + - gitrepo singular: gitrepository scope: Namespaced versions: @@ -601,7 +603,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: helmcharts.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -609,6 +611,8 @@ spec: kind: HelmChart listKind: HelmChartList plural: helmcharts + shortNames: + - hc singular: helmchart scope: Namespaced versions: @@ -680,8 +684,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. @@ -793,7 +802,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: helmreleases.helm.toolkit.fluxcd.io spec: group: helm.toolkit.fluxcd.io @@ -871,8 +880,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. @@ -902,6 +916,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 @@ -931,7 +952,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'. @@ -1131,6 +1152,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 @@ -1309,7 +1337,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: helmrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -1317,6 +1345,8 @@ spec: kind: HelmRepository listKind: HelmRepositoryList plural: helmrepositories + shortNames: + - helmrepo singular: helmrepository scope: Namespaced versions: @@ -1477,7 +1507,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: kustomizations.kustomize.toolkit.fluxcd.io spec: group: kustomize.toolkit.fluxcd.io @@ -1874,7 +1904,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: providers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -1915,6 +1945,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 @@ -2021,7 +2060,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: receivers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -2201,7 +2240,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: helm-controller namespace: flux-system --- @@ -2211,7 +2250,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: kustomize-controller namespace: flux-system --- @@ -2221,7 +2260,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: notification-controller namespace: flux-system --- @@ -2231,7 +2270,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: source-controller namespace: flux-system --- @@ -2241,7 +2280,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: crd-controller-flux-system rules: - apiGroups: @@ -2321,7 +2360,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: cluster-reconciler-flux-system roleRef: apiGroup: rbac.authorization.k8s.io @@ -2341,7 +2380,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 name: crd-controller-flux-system roleRef: apiGroup: rbac.authorization.k8s.io @@ -2373,7 +2412,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: notification-controller namespace: flux-system @@ -2393,7 +2432,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: source-controller namespace: flux-system @@ -2413,7 +2452,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: webhook-receiver namespace: flux-system @@ -2433,7 +2472,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: helm-controller namespace: flux-system @@ -2462,7 +2501,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/helm-controller:v0.9.0 + image: ghcr.io/fluxcd/helm-controller:v0.10.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2506,7 +2545,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: kustomize-controller namespace: flux-system @@ -2535,7 +2574,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/kustomize-controller:v0.11.0 + image: ghcr.io/fluxcd/kustomize-controller:v0.11.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2581,7 +2620,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: notification-controller namespace: flux-system @@ -2609,7 +2648,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/notification-controller:v0.12.0 + image: ghcr.io/fluxcd/notification-controller:v0.13.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2657,7 +2696,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.12.3 + app.kubernetes.io/version: v0.13.1 control-plane: controller name: source-controller namespace: flux-system @@ -2690,7 +2729,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/source-controller:v0.11.0 + image: ghcr.io/fluxcd/source-controller:v0.12.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: