Skip to content

Commit

Permalink
Fix issues with renaming too many things on camel case format
Browse files Browse the repository at this point in the history
  • Loading branch information
anmazzotti committed Sep 18, 2023
1 parent f7594cb commit 856fe91
Show file tree
Hide file tree
Showing 10 changed files with 90 additions and 90 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/elementalmachineregistration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ type Elemental struct {
// +optional
Install Install `json:"install,omitempty" yaml:"install,omitempty"`
// +optional
// +kubebuilder:default:={"reset-persistent":true,"reset-oem":true,"reboot":true}
// +kubebuilder:default:={"resetPersistent":true,"resetOem":true,"reboot":true}
Reset Reset `json:"reset,omitempty" yaml:"reset,omitempty"`
// +optional
Registration Registration `json:"registration,omitempty" yaml:"registration,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: v1beta1
schema:
openAPIV3Schema:
description: ElementalCluster is the Schema for the elementalclusters API
description: ElementalCluster is the Schema for the elementalclusters API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -32,7 +32,7 @@ spec:
metadata:
type: object
spec:
description: ElementalClusterSpec defines the desired state of ElementalCluster
description: ElementalClusterSpec defines the desired state of ElementalCluster.
properties:
controlPlaneEndpoint:
description: ControlPlaneEndpoint represents the endpoint used to
Expand All @@ -51,7 +51,7 @@ spec:
type: object
type: object
status:
description: ElementalClusterStatus defines the observed state of ElementalCluster
description: ElementalClusterStatus defines the observed state of ElementalCluster.
properties:
conditions:
description: Conditions defines current service state of the ElementalCluster.
Expand Down Expand Up @@ -121,7 +121,7 @@ spec:
ready:
default: false
description: Ready indicates the provider-specific infrastructure
has been provisioned and is ready
has been provisioned and is ready.
type: boolean
type: object
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
schema:
openAPIV3Schema:
description: ElementalClusterTemplate is the Schema for the elementalclustertemplates
API
API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -34,7 +34,7 @@ spec:
type: object
spec:
description: ElementalClusterTemplateSpec defines the desired state of
ElementalClusterTemplate
ElementalClusterTemplate.
properties:
template:
properties:
Expand All @@ -43,7 +43,7 @@ spec:
type: object
spec:
description: ElementalClusterSpec defines the desired state of
ElementalCluster
ElementalCluster.
properties:
controlPlaneEndpoint:
description: ControlPlaneEndpoint represents the endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: v1beta1
schema:
openAPIV3Schema:
description: ElementalHost is the Schema for the elementalhosts API
description: ElementalHost is the Schema for the elementalhosts API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -32,11 +32,11 @@ spec:
metadata:
type: object
spec:
description: ElementalHostSpec defines the desired state of ElementalHost
description: ElementalHostSpec defines the desired state of ElementalHost.
properties:
bootstrapSecret:
description: BootstrapSecret is an optional reference to a Cluster
API Secret for bootstrap purpose
API Secret for bootstrap purpose.
properties:
apiVersion:
description: API version of the referent.
Expand Down Expand Up @@ -74,15 +74,15 @@ spec:
x-kubernetes-map-type: atomic
type: object
status:
description: ElementalHostStatus defines the observed state of ElementalHost
description: ElementalHostStatus defines the observed state of ElementalHost.
properties:
bootstrapped:
description: Bootstrapped references this host to have applied the
Boostrap instructions successfully
Boostrap instructions successfully.
type: boolean
installed:
description: Installed references this host to have been successfully
installed by Elemental
installed by Elemental.
type: boolean
machineRef:
description: MachineRef is an optional reference to a Cluster API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
schema:
openAPIV3Schema:
description: ElementalMachineRegistration is the Schema for the elementalmachineregistrations
API
API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -34,69 +34,69 @@ spec:
type: object
spec:
description: ElementalMachineRegistrationSpec defines the desired state
of ElementalMachineRegistration
of ElementalMachineRegistration.
properties:
config:
description: Config points to Elemental machine configuration.
properties:
cloud-config:
cloudConfig:
x-kubernetes-preserve-unknown-fields: true
elemental:
properties:
install:
properties:
config-dir:
configDir:
type: string
config-urls:
configUrls:
items:
type: string
type: array
debug:
type: boolean
device:
type: string
disable-boot-entry:
disableBootEntry:
type: boolean
eject-cd:
ejectCd:
type: boolean
firmware:
type: string
iso:
type: string
no-format:
noFormat:
type: boolean
poweroff:
type: boolean
reboot:
type: boolean
system-uri:
systemUri:
type: string
tty:
type: string
type: object
registration:
properties:
ca-cert:
caCert:
type: string
hostname:
properties:
prefix:
type: string
use-existing:
useExisting:
type: boolean
type: object
no-smbios:
noSmbios:
type: boolean
url:
type: string
type: object
reset:
default:
reboot: true
reset-oem: true
reset-persistent: true
resetOem: true
resetPersistent: true
properties:
config-urls:
configUrls:
items:
type: string
type: array
Expand All @@ -109,13 +109,13 @@ spec:
reboot:
default: true
type: boolean
reset-oem:
resetOem:
default: true
type: boolean
reset-persistent:
resetPersistent:
default: true
type: boolean
system-uri:
systemUri:
type: string
type: object
type: object
Expand All @@ -135,7 +135,7 @@ spec:
type: object
status:
description: ElementalMachineRegistrationStatus defines the observed state
of ElementalMachineRegistration
of ElementalMachineRegistration.
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: v1beta1
schema:
openAPIV3Schema:
description: ElementalMachine is the Schema for the elementalmachines API
description: ElementalMachine is the Schema for the elementalmachines API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -32,14 +32,14 @@ spec:
metadata:
type: object
spec:
description: ElementalMachineSpec defines the desired state of ElementalMachine
description: ElementalMachineSpec defines the desired state of ElementalMachine.
properties:
providerID:
description: ProviderID references the associated ElementalHost (elemental://{ElementalHost.Namespace}/{ElementalHost.Name})
description: ProviderID references the associated ElementalHost. (elemental://{ElementalHost.Namespace}/{ElementalHost.Name})
type: string
selector:
description: Selector can be used to associate ElementalHost that
match certain labels
match certain labels.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
Expand Down Expand Up @@ -85,7 +85,7 @@ spec:
x-kubernetes-map-type: atomic
type: object
status:
description: ElementalMachineStatus defines the observed state of ElementalMachine
description: ElementalMachineStatus defines the observed state of ElementalMachine.
properties:
conditions:
description: Conditions defines current service state of the ElementalCluster.
Expand Down Expand Up @@ -193,7 +193,7 @@ spec:
ready:
default: false
description: Ready indicates the provider-specific infrastructure
has been provisioned and is ready
has been provisioned and is ready.
type: boolean
type: object
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
schema:
openAPIV3Schema:
description: ElementalMachineTemplate is the Schema for the elementalmachinetemplates
API
API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand All @@ -38,7 +38,7 @@ spec:
type: object
spec:
description: ElementalMachineTemplateSpec defines the desired state of
ElementalMachineTemplate
ElementalMachineTemplate.
properties:
template:
properties:
Expand All @@ -47,15 +47,15 @@ spec:
type: object
spec:
description: ElementalMachineSpec defines the desired state of
ElementalMachine
ElementalMachine.
properties:
providerID:
description: ProviderID references the associated ElementalHost
description: ProviderID references the associated ElementalHost.
(elemental://{ElementalHost.Namespace}/{ElementalHost.Name})
type: string
selector:
description: Selector can be used to associate ElementalHost
that match certain labels
that match certain labels.
properties:
matchExpressions:
description: matchExpressions is a list of label selector
Expand Down
2 changes: 1 addition & 1 deletion demo/demo-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ spec:
elemental:
registration:
hostname:
use-existing: true
useExisting: true
prefix: "demo-"
Loading

0 comments on commit 856fe91

Please sign in to comment.