Skip to content

Commit

Permalink
Auto-update flux version
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Fornaro <[email protected]>
  • Loading branch information
xunholy committed Apr 24, 2021
1 parent 876450e commit 0208a70
Showing 1 changed file with 71 additions and 32 deletions.
103 changes: 71 additions & 32 deletions k8s/clusters/production/flux-system/gotk-components.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
# Flux version: v0.12.3
# Flux version: v0.13.1
# Components: source-controller,kustomize-controller,helm-controller,notification-controller
apiVersion: v1
kind: Namespace
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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -382,14 +382,16 @@ 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
names:
kind: GitRepository
listKind: GitRepositoryList
plural: gitrepositories
shortNames:
- gitrepo
singular: gitrepository
scope: Namespaced
versions:
Expand Down Expand Up @@ -601,14 +603,16 @@ 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
names:
kind: HelmChart
listKind: HelmChartList
plural: helmcharts
shortNames:
- hc
singular: helmchart
scope: Namespaced
versions:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1309,14 +1337,16 @@ 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
names:
kind: HelmRepository
listKind: HelmRepositoryList
plural: helmrepositories
shortNames:
- helmrepo
singular: helmrepository
scope: Namespaced
versions:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
---
Expand All @@ -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
---
Expand All @@ -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
---
Expand All @@ -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
---
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0208a70

Please sign in to comment.