mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
*: Rename k8s-master to k8s-controller
This commit is contained in:
@@ -16,7 +16,7 @@ Fuze template files can be added in the `/var/lib/bootcfg/ignition` directory or
|
||||
/var/lib/bootcfg
|
||||
├── cloud
|
||||
├── ignition
|
||||
│ └── k8s-master.yaml
|
||||
│ └── k8s-controller.yaml
|
||||
│ └── etcd.yaml
|
||||
│ └── k8s-worker.yaml
|
||||
│ └── raw.ign
|
||||
|
||||
@@ -108,7 +108,7 @@ func TestGroupValidate(t *testing.T) {
|
||||
group *Group
|
||||
valid bool
|
||||
}{
|
||||
{&Group{Id: "node1", Profile: "k8s-master"}, true},
|
||||
{&Group{Id: "node1", Profile: "k8s-controller"}, true},
|
||||
{testGroupWithoutProfile, false},
|
||||
{&Group{Id: "node1"}, false},
|
||||
{&Group{}, false},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "node1",
|
||||
"name": "k8s controller",
|
||||
"profile": "k8s-master-install",
|
||||
"profile": "k8s-controller-install",
|
||||
"selector": {
|
||||
"os": "installed",
|
||||
"mac": "52:54:00:a1:9c:ae"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "node1",
|
||||
"name": "k8s controller",
|
||||
"profile": "k8s-master",
|
||||
"profile": "k8s-controller",
|
||||
"selector": {
|
||||
"mac": "52:54:00:a1:9c:ae"
|
||||
},
|
||||
|
||||
@@ -12,5 +12,5 @@
|
||||
}
|
||||
},
|
||||
"cloud_id": "",
|
||||
"ignition_id": "k8s-master.yaml"
|
||||
"ignition_id": "k8s-controller.yaml"
|
||||
}
|
||||
Reference in New Issue
Block a user