Fix freeipa chart?
parent
64c14bc300
commit
cdb56c9281
|
|
@ -52,6 +52,9 @@ spec:
|
||||||
{{- else if .Values.command }}
|
{{- else if .Values.command }}
|
||||||
command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }}
|
command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.diagnosticMode.enabled }}
|
||||||
|
args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 12 }}
|
||||||
|
{{- else }}
|
||||||
args:
|
args:
|
||||||
- -U
|
- -U
|
||||||
- --realm={{ default "localhost.com" .Values.args.realm }}
|
- --realm={{ default "localhost.com" .Values.args.realm }}
|
||||||
|
|
@ -77,6 +80,7 @@ spec:
|
||||||
{{- if .Values.args.sshtrustdns }}
|
{{- if .Values.args.sshtrustdns }}
|
||||||
- --ssh-trust-dns
|
- --ssh-trust-dns
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
{{- if .Values.args.setupdns }}
|
{{- if .Values.args.setupdns }}
|
||||||
- containerPort: 53
|
- containerPort: 53
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -39,6 +39,8 @@ image:
|
||||||
# machineconfig:
|
# machineconfig:
|
||||||
# ignition_version: 3.1.0
|
# ignition_version: 3.1.0
|
||||||
|
|
||||||
|
command: {}
|
||||||
|
|
||||||
args:
|
args:
|
||||||
realm: EXAMPLE.ORG
|
realm: EXAMPLE.ORG
|
||||||
domain: example.org
|
domain: example.org
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue