ironic: allow extra containers for the conductor
Add the ability to specify init and running containers for the conductor pods. Change-Id: I88657a8d656f0ef5da56f75fca637ca6938f99d8 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
parent
8e5ad85fd0
commit
adb13709e3
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Ironic
|
||||
name: ironic
|
||||
version: 0.2.18
|
||||
version: 0.2.19
|
||||
home: https://docs.openstack.org/ironic/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Ironic/OpenStack_Project_Ironic_vertical.png
|
||||
sources:
|
||||
|
@ -162,6 +162,9 @@ spec:
|
||||
- name: pod-shared
|
||||
mountPath: /tmp/pod-shared
|
||||
{{- end }}
|
||||
{{- with .Values.conductor.initContainers }}
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: ironic-conductor
|
||||
{{ tuple $envAll "ironic_conductor" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||
@ -251,6 +254,9 @@ spec:
|
||||
mountPath: /var/lib/openstack-helm
|
||||
{{ if $mounts_ironic_conductor.volumeMounts }}{{ toYaml $mounts_ironic_conductor.volumeMounts | indent 12 }}{{ end }}
|
||||
{{- end }}
|
||||
{{- with .Values.conductor.extraContainers }}
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: pod-tmp
|
||||
emptyDir: {}
|
||||
|
@ -207,6 +207,12 @@ conf:
|
||||
datefmt: "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
conductor:
|
||||
# -- Additional containers to add to the conductor pods
|
||||
## Note: Supports use of custom Helm templates
|
||||
extraContainers: []
|
||||
# -- Additional init containers to add to the conductor pods
|
||||
## Note: Supports use of custom Helm templates
|
||||
initContainers: []
|
||||
http:
|
||||
enabled: true
|
||||
init_script: |
|
||||
|
@ -22,4 +22,5 @@ ironic:
|
||||
- 0.2.16 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default
|
||||
- 0.2.17 Allow overriding of hostNetwork and hostIPC for Ironic conductor
|
||||
- 0.2.18 Use service tokens
|
||||
- 0.2.19 Allow extra containers for the conductor
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user