Skip to content

Commit

Permalink
🐝 bringback mc πŸ€¦β€β™€οΈ 🐝
Browse files Browse the repository at this point in the history
  • Loading branch information
ckavili committed Dec 19, 2023
1 parent 60d562d commit 61aa2e2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions charts/ipa/templates/machineconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# https://access.redhat.com/solutions/4910611
---
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
{{- if .Values.runOnInfra }}
machineconfiguration.openshift.io/role: infra
{{- else }}
machineconfiguration.openshift.io/role: worker
{{- end }}
name: 01-sebool
spec:
config:
ignition:
version: {{ .Values.machineconfig.ignition_version }}
systemd:
units:
- contents: |
[Unit]
Description=Enable container_manage_cgroup on worker nodes
Before=kubelet.service
[Service]
ExecStart=/usr/sbin/setsebool container_manage_cgroup 1
[Install]
WantedBy=multi-user.target
enabled: true
name: sebool.service
2 changes: 1 addition & 1 deletion charts/ipa/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ admin_password: Passw0rd123
realm: "-r redhatlabs.dev"

# sensible defaults
image: freeipa-server:latest
image: quay.io/freeipa/freeipa-server@sha256:b7e79f8430a1d8ab7293c1f249162ca92eb5d5d2ce6a1f73c6a85e95a09c2da3
install_opts: "-U --setup-dns --no-forwarders --no-ntp"
container_args: "ipa-server-install"
volume: 5Gi
Expand Down

0 comments on commit 61aa2e2

Please sign in to comment.