-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add HighlyAvailableArbiter control plane topology as feature fo…
…r techpreview Signed-off-by: ehila <[email protected]>
- Loading branch information
Showing
40 changed files
with
4,428 additions
and
63 deletions.
There are no files selected for viewing
101 changes: 101 additions & 0 deletions
101
config/v1/tests/infrastructures.config.openshift.io/HighlyAvailableArbiter.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,101 @@ | ||
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this | ||
name: "Infrastructure" | ||
crdName: infrastructures.config.openshift.io | ||
featureGate: HighlyAvailableArbiter | ||
tests: | ||
onCreate: | ||
- name: Should be able to create a minimal Infrastructure | ||
initial: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: {} # No spec is required for a Infrastructure | ||
expected: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: {} | ||
onUpdate: | ||
- name: status should allow `HighlyAvailableArbiter` for control plane topology | ||
initial: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: | ||
platformSpec: | ||
aws: {} | ||
type: AWS | ||
updated: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: | ||
platformSpec: | ||
type: AWS | ||
aws: {} | ||
status: | ||
controlPlaneTopology: HighlyAvailableArbiter | ||
infrastructureTopology: HighlyAvailable | ||
platform: AWS | ||
platformStatus: | ||
aws: {} | ||
type: AWS | ||
expected: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: | ||
platformSpec: | ||
type: AWS | ||
aws: {} | ||
status: | ||
controlPlaneTopology: HighlyAvailableArbiter | ||
cpuPartitioning: None | ||
infrastructureTopology: HighlyAvailable | ||
platform: AWS | ||
platformStatus: | ||
aws: | ||
cloudLoadBalancerConfig: | ||
dnsType: PlatformDefault | ||
type: AWS | ||
- name: status should allow update to `HighlyAvailableArbiter` for control plane topology | ||
initial: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: | ||
platformSpec: | ||
aws: {} | ||
type: AWS | ||
status: | ||
controlPlaneTopology: HighlyAvailable | ||
infrastructureTopology: HighlyAvailable | ||
platform: AWS | ||
platformStatus: | ||
aws: {} | ||
type: AWS | ||
updated: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: | ||
platformSpec: | ||
type: AWS | ||
aws: {} | ||
status: | ||
controlPlaneTopology: HighlyAvailableArbiter | ||
infrastructureTopology: HighlyAvailable | ||
platform: AWS | ||
platformStatus: | ||
aws: {} | ||
type: AWS | ||
expected: | | ||
apiVersion: config.openshift.io/v1 | ||
kind: Infrastructure | ||
spec: | ||
platformSpec: | ||
type: AWS | ||
aws: {} | ||
status: | ||
controlPlaneTopology: HighlyAvailableArbiter | ||
cpuPartitioning: None | ||
infrastructureTopology: HighlyAvailable | ||
platform: AWS | ||
platformStatus: | ||
aws: | ||
cloudLoadBalancerConfig: | ||
dnsType: PlatformDefault | ||
type: AWS |
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
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
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
Oops, something went wrong.