Fix freeipa chart?

main
Rakshit Menpara 2023-04-01 11:59:07 +05:30
parent 64c14bc300
commit cdb56c9281
4 changed files with 33 additions and 42 deletions

View File

@ -52,6 +52,9 @@ spec:
{{- else if .Values.command }}
command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.diagnosticMode.enabled }}
args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 12 }}
{{- else }}
args:
- -U
- --realm={{ default "localhost.com" .Values.args.realm }}
@ -77,6 +80,7 @@ spec:
{{- if .Values.args.sshtrustdns }}
- --ssh-trust-dns
{{- end }}
{{- end }}
ports:
{{- if .Values.args.setupdns }}
- containerPort: 53

View File

@ -1,15 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "freeipa.fullname" . }}-test-connection"
labels:
{{- include "freeipa.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "freeipa.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never

View File

@ -39,6 +39,8 @@ image:
# machineconfig:
# ignition_version: 3.1.0
command: {}
args:
realm: EXAMPLE.ORG
domain: example.org