Talos: remove deprecated System Extentions and move to schematicID (#1309)
* Talos: remove deprecated System Extentions and move to schematicID for talhelper and SUC * Fix typo in comments
This commit is contained in:
1 parent
31323b4036
commit
4a65ddeff9
7 files changed
+10
-36
No files matched your search
@@ -9,6 +9,6 @@ resources:
|
||||
{% if distribution.type in ["k3s"] %}
|
||||
- ./k3s/ks.yaml
|
||||
{% endif %}
|
||||
{% if distribution.type in ["talos"] and nodes.talos.schematics.enabled %}
|
||||
{% if distribution.type in ["talos"] and distribution.talos.schematicID %}
|
||||
- ./talos/ks.yaml
|
||||
{% endif %}
|
||||
@@ -2,6 +2,5 @@ main = lambda data: (
|
||||
data.get("distribution", {}).get("type", "k3s") in ["talos"] and
|
||||
data.get("distribution", {})
|
||||
.get("talos", {})
|
||||
.get("schematics", {})
|
||||
.get("enabled", False) == True
|
||||
.get("schematicID", {})
|
||||
)
|
||||
@@ -88,6 +88,6 @@ spec:
|
||||
args:
|
||||
- --nodes=$(NODE_IP)
|
||||
- upgrade
|
||||
- --image=factory.talos.dev/installer/{{ distribution.talos.schematics.id }}:$(SYSTEM_UPGRADE_PLAN_LATEST_VERSION)
|
||||
- --image=factory.talos.dev/installer/{{ distribution.talos.schematicID }}:$(SYSTEM_UPGRADE_PLAN_LATEST_VERSION)
|
||||
- --preserve=true
|
||||
- --wait=false
|
||||
Reference in new issue
Block a user