Skip to content

Commit

Permalink
Update manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <[email protected]>
  • Loading branch information
anmazzotti committed Sep 13, 2024
1 parent 4aec600 commit e6d7fdd
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 153 deletions.
2 changes: 1 addition & 1 deletion elemental-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ components:
type: boolean
condition:
$ref: '#/components/schemas/V1Beta1Condition'
inPlaceUpgrade:
inPlaceUpdate:
nullable: true
type: string
installed:
Expand Down
196 changes: 44 additions & 152 deletions infrastructure-elemental/v0.0.0/infrastructure-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.1
labels:
cluster.x-k8s.io/v1beta1: v1beta1
name: elementalclusters.infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -153,7 +153,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.1
labels:
cluster.x-k8s.io/v1beta1: v1beta1
name: elementalclustertemplates.infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -236,7 +236,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.1
labels:
cluster.x-k8s.io/v1beta1: v1beta1
name: elementalhosts.infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -316,7 +316,6 @@ spec:
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
type: string
kind:
description: |-
Expand Down Expand Up @@ -362,7 +361,6 @@ spec:
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
type: string
kind:
description: |-
Expand Down Expand Up @@ -391,6 +389,12 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
osVersionManagement:
description: |-
OSVersionManagement defines the OS Version and options to be reconciled
on the host. The supported schema depends on the OSPlugin in use by
the elementa-agent.
x-kubernetes-preserve-unknown-fields: true
pubKey:
description: |-
PubKey is the host public key to verify when authenticating
Expand Down Expand Up @@ -459,7 +463,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.1
labels:
cluster.x-k8s.io/v1beta1: v1beta1
name: elementalmachines.infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -535,7 +539,6 @@ spec:
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
type: string
kind:
description: |-
Expand Down Expand Up @@ -564,6 +567,13 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
osVersionManagement:
description: |-
OSVersionManagement defines the OS Version and options to be reconciled
on the host. The supported schema depends on the OSPlugin in use by
the elementa-agent. Whenever an ElementalHost is associated to this
ElementalMachine, the OSVersionManagement will be applied to it.
x-kubernetes-preserve-unknown-fields: true
providerID:
description: |-
ProviderID references the associated ElementalHost.
Expand Down Expand Up @@ -599,11 +609,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand Down Expand Up @@ -699,7 +711,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.1
labels:
cluster.x-k8s.io/v1beta1: v1beta1
name: elementalmachinetemplates.infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -771,7 +783,6 @@ spec:
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
type: string
kind:
description: |-
Expand Down Expand Up @@ -800,6 +811,13 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
osVersionManagement:
description: |-
OSVersionManagement defines the OS Version and options to be reconciled
on the host. The supported schema depends on the OSPlugin in use by
the elementa-agent. Whenever an ElementalHost is associated to this
ElementalMachine, the OSVersionManagement will be applied to it.
x-kubernetes-preserve-unknown-fields: true
providerID:
description: |-
ProviderID references the associated ElementalHost.
Expand Down Expand Up @@ -835,11 +853,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand All @@ -863,7 +883,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.1
labels:
cluster.x-k8s.io/v1beta1: v1beta1
name: elementalregistrations.infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -939,13 +959,17 @@ spec:
default: /usr/lib/elemental/plugins/elemental.so
type: string
postInstall:
description: PostAction is used to return instructions
to the cli after a Phase is handled.
properties:
powerOff:
type: boolean
reboot:
type: boolean
type: object
postReset:
description: PostAction is used to return instructions
to the cli after a Phase is handled.
properties:
powerOff:
type: boolean
Expand Down Expand Up @@ -1016,7 +1040,6 @@ spec:
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
type: string
kind:
description: |-
Expand Down Expand Up @@ -1190,22 +1213,6 @@ rules:
resources:
- clusters
- clusters/status
verbs:
- get
- list
- watch
- apiGroups:
- cluster.x-k8s.io
resources:
- clusters
- machines
verbs:
- get
- list
- watch
- apiGroups:
- cluster.x-k8s.io
resources:
- machines
- machines/status
verbs:
Expand All @@ -1216,135 +1223,10 @@ rules:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclusters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclusters/finalizers
verbs:
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclusters/status
verbs:
- get
- patch
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclustertemplates
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclustertemplates/finalizers
verbs:
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclustertemplates/status
verbs:
- get
- patch
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalhosts
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalhosts/finalizers
verbs:
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalhosts/status
verbs:
- get
- patch
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalmachines
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalmachines/finalizers
verbs:
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalmachines/status
verbs:
- get
- patch
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalmachinetemplates
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalmachinetemplates/finalizers
verbs:
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalmachinetemplates/status
verbs:
- get
- patch
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalregistrations
verbs:
- create
Expand All @@ -1357,12 +1239,22 @@ rules:
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclusters/finalizers
- elementalclustertemplates/finalizers
- elementalhosts/finalizers
- elementalmachines/finalizers
- elementalmachinetemplates/finalizers
- elementalregistrations/finalizers
verbs:
- update
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- elementalclusters/status
- elementalclustertemplates/status
- elementalhosts/status
- elementalmachines/status
- elementalmachinetemplates/status
- elementalregistrations/status
verbs:
- get
Expand Down

0 comments on commit e6d7fdd

Please sign in to comment.