Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/flux2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
annotations:
artifacthub.io/changes: |
- "[Chore]: Update App Version to upstream 2.6.4"
- "[feat(flux2)]: allow skipping the pre-install checks"
apiVersion: v2
appVersion: 2.6.4
description: A Helm chart for flux2
name: flux2
sources:
- https://github.com/fluxcd-community/helm-charts
type: application
version: 2.16.3
version: 2.17.0
1 change: 1 addition & 0 deletions charts/flux2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| notificationController.webhookReceiver.service.annotations | object | `{}` | |
| notificationController.webhookReceiver.service.labels | object | `{}` | |
| policies.create | bool | `true` | |
| preInstallChecks | bool | `true` | allows to skip the pre-install checks when disabled |
| prometheus.podMonitor.create | bool | `false` | Enables podMonitor endpoint |
| prometheus.podMonitor.podMetricsEndpoints[0].port | string | `"http-prom"` | |
| prometheus.podMonitor.podMetricsEndpoints[0].relabelings[0].action | string | `"keep"` | |
Expand Down
2 changes: 2 additions & 0 deletions charts/flux2/templates/pre-install-job-serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.preInstallChecks -}}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand All @@ -12,3 +13,4 @@ metadata:
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-10"
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
{{- end }}
2 changes: 2 additions & 0 deletions charts/flux2/templates/pre-install-job.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.preInstallChecks -}}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -70,3 +71,4 @@ spec:
{{- with .Values.cli.tolerations }}
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/flux2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ multitenancy:

clusterDomain: cluster.local

# -- allows to skip the pre-install checks when disabled
preInstallChecks: true

cli:
image: ghcr.io/fluxcd/flux-cli
tag: v2.6.4
Expand Down