Skip to content

Commit dc5c48b

Browse files
committed
feat(flux2): allow skipping the pre-install checks
Signed-off-by: Alvaro Cabanas <[email protected]>
1 parent 34dca68 commit dc5c48b

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

charts/flux2/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
annotations:
22
artifacthub.io/changes: |
3-
- "[Chore]: Update App Version to upstream 2.5.1"
3+
- "[feat(flux2)]: allow skipping the pre-install checks"
44
apiVersion: v2
55
appVersion: 2.5.1
66
description: A Helm chart for flux2
77
name: flux2
88
sources:
99
- https://github.com/fluxcd-community/helm-charts
1010
type: application
11-
version: 2.15.0
11+
version: 2.15.1

charts/flux2/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flux2
22

3-
![Version: 2.15.0](https://img.shields.io/badge/Version-2.15.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.5.1](https://img.shields.io/badge/AppVersion-2.5.1-informational?style=flat-square)
3+
![Version: 2.15.1](https://img.shields.io/badge/Version-2.15.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.5.1](https://img.shields.io/badge/AppVersion-2.5.1-informational?style=flat-square)
44

55
A Helm chart for flux2
66

@@ -142,6 +142,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
142142
| notificationController.webhookReceiver.service.annotations | object | `{}` | |
143143
| notificationController.webhookReceiver.service.labels | object | `{}` | |
144144
| policies.create | bool | `true` | |
145+
| preInstallChecks | bool | `true` | allows to skip the pre-install checks when disabled |
145146
| prometheus.podMonitor.create | bool | `false` | Enables podMonitor endpoint |
146147
| prometheus.podMonitor.podMetricsEndpoints[0].port | string | `"http-prom"` | |
147148
| prometheus.podMonitor.podMetricsEndpoints[0].relabelings[0].action | string | `"keep"` | |

charts/flux2/templates/pre-install-job.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.preInstallChecks -}}
12
apiVersion: batch/v1
23
kind: Job
34
metadata:
@@ -70,3 +71,4 @@ spec:
7071
{{- with .Values.cli.tolerations }}
7172
tolerations: {{ toYaml . | nindent 8 }}
7273
{{- end }}
74+
{{- end }}

charts/flux2/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ multitenancy:
2121

2222
clusterDomain: cluster.local
2323

24+
# -- allows to skip the pre-install checks when disabled
25+
preInstallChecks: true
26+
2427
cli:
2528
image: ghcr.io/fluxcd/flux-cli
2629
tag: v2.5.1

0 commit comments

Comments
 (0)