From a893076c3c719c91c55ec1cd8c849d29d3b357ef Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Fri, 14 Jun 2024 07:48:25 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=96=EF=B8=8F=20add=20MachineConfig=20e?= =?UTF-8?q?nabled=20flag=20=F0=9F=8F=96=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/ipa/Chart.yaml | 2 +- charts/ipa/templates/machineconfig.yaml | 2 ++ charts/ipa/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/ipa/Chart.yaml b/charts/ipa/Chart.yaml index 33744279..223cb7c9 100644 --- a/charts/ipa/Chart.yaml +++ b/charts/ipa/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: ipa description: A Helm chart to install FreeIPA -version: 1.3.7 +version: 1.3.8 appVersion: 1.16.0 home: https://github.com/redhat-cop/helm-charts icon: https://www.freeipa.org/images/freeipa/freeipa-logo-small.png diff --git a/charts/ipa/templates/machineconfig.yaml b/charts/ipa/templates/machineconfig.yaml index c30d5b85..b13142b6 100644 --- a/charts/ipa/templates/machineconfig.yaml +++ b/charts/ipa/templates/machineconfig.yaml @@ -1,4 +1,5 @@ # https://access.redhat.com/solutions/4910611 +{{- if .Values.machineconfig.enabled }} --- apiVersion: machineconfiguration.openshift.io/v1 kind: MachineConfig @@ -26,3 +27,4 @@ spec: WantedBy=multi-user.target enabled: true name: sebool.service +{{- end }} \ No newline at end of file diff --git a/charts/ipa/values.yaml b/charts/ipa/values.yaml index c892f554..232858de 100644 --- a/charts/ipa/values.yaml +++ b/charts/ipa/values.yaml @@ -24,6 +24,7 @@ ocp_auth: domain: "dc=redhatlabs,dc=dev" machineconfig: + enabled: true ignition_version: 3.2.0 # assumes node-role.kubernetes.io/infra: "" on one or more nodes