Fix freeipa chart?
parent
64c14bc300
commit
cdb56c9281
|
|
@ -37,31 +37,31 @@ spec:
|
|||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: ldaps
|
||||
port: 636
|
||||
protocol: TCP
|
||||
targetPort: 636
|
||||
- name: http
|
||||
port: {{ .Values.service.port }}
|
||||
targetPort: 80
|
||||
- name: https
|
||||
port: 443
|
||||
targetPort: 443
|
||||
{{- if .Values.args.setupdns }}
|
||||
- name: dns-udp
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: 53
|
||||
{{- end}}
|
||||
- name: kerberos-tcp
|
||||
port: 88
|
||||
protocol: TCP
|
||||
targetPort: 88
|
||||
- name: kerberos-udp
|
||||
port: 88
|
||||
protocol: UDP
|
||||
targetPort: 88
|
||||
{{- if .Values.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
- name: ldaps
|
||||
port: 636
|
||||
protocol: TCP
|
||||
targetPort: 636
|
||||
- name: http
|
||||
port: {{ .Values.service.port }}
|
||||
targetPort: 80
|
||||
- name: https
|
||||
port: 443
|
||||
targetPort: 443
|
||||
{{- if .Values.args.setupdns }}
|
||||
- name: dns-udp
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: 53
|
||||
{{- end}}
|
||||
- name: kerberos-tcp
|
||||
port: 88
|
||||
protocol: TCP
|
||||
targetPort: 88
|
||||
- name: kerberos-udp
|
||||
port: 88
|
||||
protocol: UDP
|
||||
targetPort: 88
|
||||
{{- if .Values.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
# ignition_version: 3.1.0
|
||||
|
||||
command: {}
|
||||
|
||||
args:
|
||||
realm: EXAMPLE.ORG
|
||||
domain: example.org
|
||||
|
|
|
|||
Loading…
Reference in New Issue