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
+35
-9
No files matched your search
@@ -92,6 +92,24 @@ nodes:
|
||||
- #{ manifest }#
|
||||
#% endfor %#
|
||||
#% 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 %#
|
||||
|
||||
patches:
|
||||
|
||||
+17
-9
@@ -17,15 +17,23 @@ bootstrap_node_network: ""
|
||||
# (Required) Use only 1, 3 or more ODD number of controller nodes, recommended is 3
|
||||
# Worker nodes are optional
|
||||
bootstrap_node_inventory: []
|
||||
# - name: "" # (Required) Name of the node (must match [a-z0-9-\]+)
|
||||
# address: "" # (Optional) IP address of the node (Remove if node has a static DHCP reservation)
|
||||
# controller: true # (Required) Set to true if this is a controller node
|
||||
# disk: "" # (Required) Device path or serial number of the disk for this node (talosctl disks -n <ip> --insecure)
|
||||
# mac_addr: "" # (Required) MAC address of the NIC for this node (talosctl get links -n <ip> --insecure)
|
||||
# schematic_id: "" # (Optional) Override the 'bootstrap_schematic_id' with a node specific schematic ID from https://factory.talos.dev/
|
||||
# mtu: "" # (Optional) MTU for the NIC, default is 1500
|
||||
# manifests: # (Optional) Additional manifests to include after MachineConfig
|
||||
# - extra.yaml # See: https://www.talos.dev/v1.7/reference/configuration/extensions/extensionserviceconfig/
|
||||
# - name: "" # (Required) Name of the node (must match [a-z0-9-\]+)
|
||||
# address: "" # (Optional) IP address of the node (Remove if node has a static DHCP reservation)
|
||||
# controller: true # (Required) Set to true if this is a controller node
|
||||
# disk: "" # (Required) Device path or serial number of the disk for this node (talosctl disks -n <ip> --insecure)
|
||||
# mac_addr: "" # (Required) MAC address of the NIC for this node (talosctl get links -n <ip> --insecure)
|
||||
# schematic_id: "" # (Optional) Override the 'bootstrap_schematic_id' with a node specific schematic ID from https://factory.talos.dev/
|
||||
# mtu: "" # (Optional) MTU for the NIC, default is 1500
|
||||
# manifests: # (Optional) Additional manifests to include after MachineConfig
|
||||
# - 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.
|
||||
|
||||
Reference in new issue
Block a user