fix(talos): Mount openebs-hostpath in kubelet (#1289)
This commit is contained in:
1 parent
6756f29ecb
commit
ca39a1cc53
1 file changed
+14
@@ -183,6 +183,19 @@ controlPlane:
|
|||||||
allowedKubernetesNamespaces:
|
allowedKubernetesNamespaces:
|
||||||
- system-upgrade
|
- system-upgrade
|
||||||
|
|
||||||
|
# Mount openebs-hostpath in kubelet
|
||||||
|
- &openEbsPatch |-
|
||||||
|
machine:
|
||||||
|
kubelet:
|
||||||
|
extraMounts:
|
||||||
|
- destination: /var/openebs/local
|
||||||
|
type: bind
|
||||||
|
source: /var/openebs/local
|
||||||
|
options:
|
||||||
|
- bind
|
||||||
|
- rshared
|
||||||
|
- rw
|
||||||
|
|
||||||
{% if nodes.inventory | selectattr('controller', 'equalto', False) | list | length %}
|
{% if nodes.inventory | selectattr('controller', 'equalto', False) | list | length %}
|
||||||
worker:
|
worker:
|
||||||
{% if distribution.talos.schematics.enabled %}
|
{% if distribution.talos.schematics.enabled %}
|
||||||
@@ -199,4 +212,5 @@ worker:
|
|||||||
- *nameserverPatch
|
- *nameserverPatch
|
||||||
- *ntpPatch
|
- *ntpPatch
|
||||||
- *sysctlPatch
|
- *sysctlPatch
|
||||||
|
- *openEbsPatch
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in new issue
Block a user