-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 test: use cluster without worker definition for kcp only test (#11212)
* test: use cluster without worker definition for kcp only test * add additional quick-start test for covering zero replicas * Rewrite quick-start test * comment fix * fix kcp-only clusterclass
- Loading branch information
Showing
14 changed files
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...infrastructure-docker/main/cluster-template-topology-kcp-only/cluster-topology-class.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- op: add | ||
path: /spec/topology/class | ||
value: "quick-start-kcp-only" |
9 changes: 9 additions & 0 deletions
9
...e2e/data/infrastructure-docker/main/cluster-template-topology-kcp-only/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resources: | ||
- ../cluster-template-topology-no-workers | ||
|
||
patches: | ||
- path: cluster-topology-class.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: Cluster |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...rastructure-docker/main/cluster-template-topology-no-workers/remove-topology-workers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- op: remove | ||
path: /spec/topology/workers |
3 changes: 3 additions & 0 deletions
3
.../data/infrastructure-docker/main/clusterclass-quick-start-kcp-only/clusterclass-name.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- op: replace | ||
path: /metadata/name | ||
value: quick-start-kcp-only |
19 changes: 19 additions & 0 deletions
19
.../e2e/data/infrastructure-docker/main/clusterclass-quick-start-kcp-only/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
resources: | ||
- ../clusterclass-quick-start.yaml | ||
|
||
patches: | ||
- path: remove-workers.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: ClusterClass | ||
- path: clusterclass-name.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: ClusterClass | ||
- path: remove-worker-patches.yaml | ||
target: | ||
group: cluster.x-k8s.io | ||
version: v1beta1 | ||
kind: ClusterClass |
12 changes: 12 additions & 0 deletions
12
...a/infrastructure-docker/main/clusterclass-quick-start-kcp-only/remove-worker-patches.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- op: remove | ||
path: /spec/patches/14 | ||
- op: remove | ||
path: /spec/patches/9 | ||
- op: remove | ||
path: /spec/patches/5 | ||
- op: remove | ||
path: /spec/patches/4/definitions/0/selector/matchResources/machineDeploymentClass | ||
- op: remove | ||
path: /spec/patches/3/definitions/2 | ||
- op: remove | ||
path: /spec/patches/3/definitions/0 |
2 changes: 2 additions & 0 deletions
2
...e2e/data/infrastructure-docker/main/clusterclass-quick-start-kcp-only/remove-workers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- op: remove | ||
path: /spec/workers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters