Allow extensionServices to be specified (#1496)
* Update talconfig.yaml.j2 Allow extensionServices to be specified * Update config.sample.yaml Allow extensionServices to be specified
This commit is contained in:
1 parent
10118c20c0
commit
cfb3d8e259
2 files changed
+26
No files matched your search
@@ -92,6 +92,24 @@ nodes:
|
|||||||
- #{ manifest }#
|
- #{ manifest }#
|
||||||
#% endfor %#
|
#% endfor %#
|
||||||
#% endif %#
|
#% endif %#
|
||||||
|
#% if item.extension_services %#
|
||||||
|
extensionServices:
|
||||||
|
#% for es in item.extension_services %#
|
||||||
|
- name: #{ es.name }#
|
||||||
|
configFiles:
|
||||||
|
#% for cf in es.configFiles %#
|
||||||
|
- content: |-
|
||||||
|
#{ cf.content }#
|
||||||
|
mountPath: #{ cf.mountPath }#
|
||||||
|
#% endfor %#
|
||||||
|
#% if es.environment %#
|
||||||
|
environment:
|
||||||
|
#% for env in es.environment %#
|
||||||
|
- #{ env }#
|
||||||
|
#% endfor %#
|
||||||
|
#% endif %#
|
||||||
|
#% endfor %#
|
||||||
|
#% endif %#
|
||||||
#% endfor %#
|
#% endfor %#
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
|
|||||||
@@ -26,6 +26,14 @@ bootstrap_node_inventory: []
|
|||||||
# mtu: "" # (Optional) MTU for the NIC, default is 1500
|
# mtu: "" # (Optional) MTU for the NIC, default is 1500
|
||||||
# manifests: # (Optional) Additional manifests to include after MachineConfig
|
# manifests: # (Optional) Additional manifests to include after MachineConfig
|
||||||
# - extra.yaml # See: https://www.talos.dev/v1.7/reference/configuration/extensions/extensionserviceconfig/
|
# - extra.yaml # See: https://www.talos.dev/v1.7/reference/configuration/extensions/extensionserviceconfig/
|
||||||
|
# extension_services: # (Optional) Additional talhelper ExtensionServices (supports talenv.sops.yaml envsubst)
|
||||||
|
# - name: name
|
||||||
|
# configFiles:
|
||||||
|
# - content: |-
|
||||||
|
# ...
|
||||||
|
# mountPath: ...
|
||||||
|
# environment:
|
||||||
|
# - key=value
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
# (Optional) The DNS servers to use for the cluster nodes.
|
# (Optional) The DNS servers to use for the cluster nodes.
|
||||||
|
|||||||
Reference in new issue
Block a user