-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce openshift markers support and generate CRDs
- Loading branch information
Showing
52 changed files
with
110,105 additions
and
11,403 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
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
156 changes: 156 additions & 0 deletions
156
api/hypershift/v1alpha1/zz_generated.featuregated-crd-manifests.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,156 @@ | ||
awsendpointservices.hypershift.openshift.io: | ||
Annotations: {} | ||
ApprovedPRNumber: "" | ||
CRDName: awsendpointservices.hypershift.openshift.io | ||
Capability: "" | ||
Category: "" | ||
FeatureGates: [] | ||
FilenameOperatorName: "" | ||
FilenameOperatorOrdering: "" | ||
FilenameRunLevel: "" | ||
GroupName: hypershift.openshift.io | ||
HasStatus: true | ||
KindName: AWSEndpointService | ||
Labels: {} | ||
PluralName: awsendpointservices | ||
PrinterColumns: [] | ||
Scope: Namespaced | ||
ShortNames: null | ||
TopLevelFeatureGates: [] | ||
Version: v1alpha1 | ||
|
||
hostedclusters.hypershift.openshift.io: | ||
Annotations: {} | ||
ApprovedPRNumber: "" | ||
CRDName: hostedclusters.hypershift.openshift.io | ||
Capability: "" | ||
Category: "" | ||
FeatureGates: | ||
- DynamicResourceAllocation | ||
- ExternalOIDC | ||
- NetworkDiagnosticsConfig | ||
FilenameOperatorName: "" | ||
FilenameOperatorOrdering: "" | ||
FilenameRunLevel: "" | ||
GroupName: hypershift.openshift.io | ||
HasStatus: true | ||
KindName: HostedCluster | ||
Labels: {} | ||
PluralName: hostedclusters | ||
PrinterColumns: | ||
- description: Version | ||
jsonPath: .status.version.history[?(@.state=="Completed")].version | ||
name: Version | ||
type: string | ||
- description: KubeConfig Secret | ||
jsonPath: .status.kubeconfig.name | ||
name: KubeConfig | ||
type: string | ||
- description: Progress | ||
jsonPath: .status.version.history[?(@.state!="")].state | ||
name: Progress | ||
type: string | ||
- description: Available | ||
jsonPath: .status.conditions[?(@.type=="Available")].status | ||
name: Available | ||
type: string | ||
- description: Progressing | ||
jsonPath: .status.conditions[?(@.type=="Progressing")].status | ||
name: Progressing | ||
type: string | ||
- description: Message | ||
jsonPath: .status.conditions[?(@.type=="Available")].message | ||
name: Message | ||
type: string | ||
Scope: Namespaced | ||
ShortNames: | ||
- hc | ||
- hcs | ||
TopLevelFeatureGates: [] | ||
Version: v1alpha1 | ||
|
||
hostedcontrolplanes.hypershift.openshift.io: | ||
Annotations: {} | ||
ApprovedPRNumber: "" | ||
CRDName: hostedcontrolplanes.hypershift.openshift.io | ||
Capability: "" | ||
Category: cluster-api | ||
FeatureGates: | ||
- DynamicResourceAllocation | ||
- ExternalOIDC | ||
- NetworkDiagnosticsConfig | ||
FilenameOperatorName: "" | ||
FilenameOperatorOrdering: "" | ||
FilenameRunLevel: "" | ||
GroupName: hypershift.openshift.io | ||
HasStatus: true | ||
KindName: HostedControlPlane | ||
Labels: {} | ||
PluralName: hostedcontrolplanes | ||
PrinterColumns: [] | ||
Scope: Namespaced | ||
ShortNames: | ||
- hcp | ||
- hcps | ||
TopLevelFeatureGates: [] | ||
Version: v1alpha1 | ||
|
||
nodepools.hypershift.openshift.io: | ||
Annotations: {} | ||
ApprovedPRNumber: "" | ||
CRDName: nodepools.hypershift.openshift.io | ||
Capability: "" | ||
Category: "" | ||
FeatureGates: [] | ||
FilenameOperatorName: "" | ||
FilenameOperatorOrdering: "" | ||
FilenameRunLevel: "" | ||
GroupName: hypershift.openshift.io | ||
HasStatus: true | ||
KindName: NodePool | ||
Labels: {} | ||
PluralName: nodepools | ||
PrinterColumns: | ||
- description: Cluster | ||
jsonPath: .spec.clusterName | ||
name: Cluster | ||
type: string | ||
- description: Desired Nodes | ||
jsonPath: .spec.replicas | ||
name: Desired Nodes | ||
type: integer | ||
- description: Available Nodes | ||
jsonPath: .status.replicas | ||
name: Current Nodes | ||
type: integer | ||
- description: Autoscaling Enabled | ||
jsonPath: .status.conditions[?(@.type=="AutoscalingEnabled")].status | ||
name: Autoscaling | ||
type: string | ||
- description: Node Autorepair Enabled | ||
jsonPath: .status.conditions[?(@.type=="AutorepairEnabled")].status | ||
name: Autorepair | ||
type: string | ||
- description: Current version | ||
jsonPath: .status.version | ||
name: Version | ||
type: string | ||
- description: UpdatingVersion in progress | ||
jsonPath: .status.conditions[?(@.type=="UpdatingVersion")].status | ||
name: UpdatingVersion | ||
type: string | ||
- description: UpdatingConfig in progress | ||
jsonPath: .status.conditions[?(@.type=="UpdatingConfig")].status | ||
name: UpdatingConfig | ||
type: string | ||
- description: Message | ||
jsonPath: .status.conditions[?(@.type=="Ready")].message | ||
name: Message | ||
type: string | ||
Scope: Namespaced | ||
ShortNames: | ||
- np | ||
- nps | ||
TopLevelFeatureGates: [] | ||
Version: v1alpha1 | ||
|
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
39 changes: 39 additions & 0 deletions
39
api/hypershift/v1beta1/featuregates/featureGate-Hypershift-Default.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,39 @@ | ||
{ | ||
"apiVersion": "config.openshift.io/v1", | ||
"kind": "FeatureGate", | ||
"metadata": { | ||
"annotations": { | ||
"include.release.openshift.io/ibm-cloud-managed": "false-except-for-the-config-operator" | ||
}, | ||
"creationTimestamp": null, | ||
"name": "cluster" | ||
}, | ||
"spec": { | ||
"featureSet": "" | ||
}, | ||
"status": { | ||
"featureGates": [ | ||
{ | ||
"disabled": [ | ||
{ | ||
"name": "OpenStack" | ||
} | ||
], | ||
"enabled": [ | ||
# We enable all OCP feature gates only so the CRD contains the fields. | ||
# Each HostedCluster can configure their specific feature gate CR at creation time via spec.configuration. | ||
{ | ||
"name": "ExternalOIDC" | ||
}, | ||
{ | ||
"name": "DynamicResourceAllocation" | ||
}, | ||
{ | ||
"name": "NetworkDiagnosticsConfig" | ||
} | ||
], | ||
"version": "" | ||
} | ||
] | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
api/hypershift/v1beta1/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.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,36 @@ | ||
{ | ||
"apiVersion": "config.openshift.io/v1", | ||
"kind": "FeatureGate", | ||
"metadata": { | ||
"annotations": { | ||
"include.release.openshift.io/ibm-cloud-managed": "false-except-for-the-config-operator" | ||
}, | ||
"creationTimestamp": null, | ||
"name": "cluster" | ||
}, | ||
"spec": { | ||
"featureSet": "TechPreviewNoUpgrade" | ||
}, | ||
"status": { | ||
"featureGates": [ | ||
{ | ||
"disabled": [], | ||
"enabled": [ | ||
{ | ||
"name": "ExternalOIDC" | ||
}, | ||
{ | ||
"name": "DynamicResourceAllocation" | ||
}, | ||
{ | ||
"name": "NetworkDiagnosticsConfig" | ||
}, | ||
{ | ||
"name": "OpenStack" | ||
} | ||
], | ||
"version": "" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.