openstack-helm-infra/helm-toolkit/templates/utils
Vasyl Saienko f1e0981226 [helm-toolkit] Add daemonset_overrides_root util
The helm-toolkit.utils.daemonset_overrides function have some limitations:

 * it allows to override only conf values specifid in configmap-etc
 * it doesn't allow to override values for daemonsets passed via env variables
   or via damoenset definition. As result it is impossible to have mixed
   deployment when one compute is configured with dpdk while other not.
 * it is impossible to override interface names/other information stored in
   <service>-bin configmap
 * It allows to schedule on both hosts and labels, which adds some
   uncertainty

This implementation is intended to handle those limitations:

 * it allows to schedule only based on labels
 * it creates <service>-bin per daemonset override
 * it allows to override values when rendering daemonsets

 It picks data from the following structure:

  .Values:
    overrides:
      mychart_mydaemonset:
        labels:
          label::value:
            values:
              override_root_option: override_root_value
              conf:
                ovs_dpdk:
                  enabled: true
                neutron:
                  DEFAULT:
                    foo: bar

Change-Id: I5ff0f5deb34c74ca95c141f2402f375f6d926533
2024-09-17 07:43:38 +00:00
..
_comma_joined_service_list.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_configmap_templater.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_daemonset_overrides_root.tpl [helm-toolkit] Add daemonset_overrides_root util 2024-09-17 07:43:38 +00:00
_daemonset_overrides.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_dependency_resolver.tpl Fix dependency resolver 2023-07-29 02:28:24 +10:00
_hash.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_host_list.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_image_sync_list.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_joinListWithComma.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_joinListWithCommaAndSingleQuotes.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_joinListWithPrefix.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_joinListWithSpace.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_merge.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_template.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_to_ini.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_to_k8s_env_secret_vars.tpl Revert chart naming to .Release.Name expression 2022-03-28 19:35:14 +00:00
_to_k8s_env_vars.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_to_kv_list.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_to_oslo_conf.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00