diff --git a/charts/maas/templates/etc/_drivers.yaml.tpl b/charts/maas/templates/etc/_drivers.yaml.tpl index 8bf1bf3..2f8a828 100644 --- a/charts/maas/templates/etc/_drivers.yaml.tpl +++ b/charts/maas/templates/etc/_drivers.yaml.tpl @@ -14,10 +14,16 @@ # limitations under the License. */}} {{- if .Values.conf.drivers }} -{{- range .Values.conf.drivers -}} +drivers: +{{- range .Values.conf.drivers }} - comment: {{ .comment }} +{{- if .key_binary }} key_binary: !!binary | {{ .key_binary | indent 4 }} +{{- end }} +{{- if .repository }} + repository: {{ .repository }} +{{- end }} modaliases: {{ .modaliases | toYaml | indent 4 }} module: {{ .module }} diff --git a/charts/maas/values.yaml b/charts/maas/values.yaml index 63535d1..3ed06c7 100644 --- a/charts/maas/values.yaml +++ b/charts/maas/values.yaml @@ -257,6 +257,8 @@ conf: drivers: null #### If you populates drivers, it will replace the 3rd party driver #### info that comes with MaaS. see structure below if it is needed + #### Additional context about the use of this file can be found here: + #### https://github.com/maas/maas/blob/2.3.5/src/maasserver/third_party_drivers.py # - blacklist: string # a kernel module to blacklist from loading if needed # comment: string # free form comment # key_binary: | # The GPG key for the repo holding the package, base64 encoded, non-ascii armored