Add release v0.1.8
This commit is contained in:
+217
-108
@@ -314,12 +314,9 @@ spec:
|
||||
description: MigrationTemplateSource defines the source details for
|
||||
the migrationtemplate
|
||||
properties:
|
||||
datacenter:
|
||||
type: string
|
||||
vmwareRef:
|
||||
type: string
|
||||
required:
|
||||
- datacenter
|
||||
- vmwareRef
|
||||
type: object
|
||||
storageMapping:
|
||||
@@ -332,51 +329,6 @@ spec:
|
||||
- source
|
||||
- storageMapping
|
||||
type: object
|
||||
status:
|
||||
description: MigrationTemplateStatus defines the observed state of MigrationTemplate
|
||||
properties:
|
||||
openstack:
|
||||
properties:
|
||||
networks:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
volumeTypes:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
vmware:
|
||||
description: |-
|
||||
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
|
||||
Important: Run "make" to regenerate code after modifying this file
|
||||
items:
|
||||
properties:
|
||||
datastores:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
disks:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
ipAddress:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
networks:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
osType:
|
||||
type: string
|
||||
vmState:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
@@ -501,6 +453,58 @@ spec:
|
||||
spec:
|
||||
description: OpenstackCredsSpec defines the desired state of OpenstackCreds
|
||||
properties:
|
||||
flavors:
|
||||
description: Flavors is the list of available flavors in openstack
|
||||
items:
|
||||
description: |-
|
||||
Flavor represent (virtual) hardware configurations for server resources
|
||||
in a region.
|
||||
properties:
|
||||
OS-FLV-EXT-DATA:ephemeral:
|
||||
description: Ephemeral is the amount of ephemeral disk space,
|
||||
measured in GB.
|
||||
type: integer
|
||||
description:
|
||||
description: |-
|
||||
Description is a free form description of the flavor. Limited to
|
||||
65535 characters in length. Only printable characters are allowed.
|
||||
New in version 2.55
|
||||
type: string
|
||||
disk:
|
||||
description: Disk is the amount of root disk, measured in GB.
|
||||
type: integer
|
||||
id:
|
||||
description: ID is the flavor's unique ID.
|
||||
type: string
|
||||
name:
|
||||
description: Name is the name of the flavor.
|
||||
type: string
|
||||
os-flavor-access:is_public:
|
||||
description: IsPublic indicates whether the flavor is public.
|
||||
type: boolean
|
||||
ram:
|
||||
description: RAM is the amount of memory, measured in MB.
|
||||
type: integer
|
||||
rxtx_factor:
|
||||
description: RxTxFactor describes bandwidth alterations of the
|
||||
flavor.
|
||||
type: number
|
||||
vcpus:
|
||||
description: VCPUs indicates how many (virtual) CPUs are available
|
||||
for this flavor.
|
||||
type: integer
|
||||
required:
|
||||
- OS-FLV-EXT-DATA:ephemeral
|
||||
- description
|
||||
- disk
|
||||
- id
|
||||
- name
|
||||
- os-flavor-access:is_public
|
||||
- ram
|
||||
- rxtx_factor
|
||||
- vcpus
|
||||
type: object
|
||||
type: array
|
||||
secretRef:
|
||||
description: SecretRef is the reference to the Kubernetes secret holding
|
||||
OpenStack credentials
|
||||
@@ -549,6 +553,18 @@ spec:
|
||||
status:
|
||||
description: OpenstackCredsStatus defines the observed state of OpenstackCreds
|
||||
properties:
|
||||
openstack:
|
||||
description: Openstack is the Openstack configuration for the openstackcreds
|
||||
properties:
|
||||
networks:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
volumeTypes:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
openstackValidationMessage:
|
||||
type: string
|
||||
openstackValidationStatus:
|
||||
@@ -681,59 +697,6 @@ spec:
|
||||
spec:
|
||||
description: Spec defines the desired state of VjailbreakNode
|
||||
properties:
|
||||
availableFlavors:
|
||||
description: AvailableFlavors is the list of available flavors in
|
||||
openstack
|
||||
items:
|
||||
description: |-
|
||||
Flavor represent (virtual) hardware configurations for server resources
|
||||
in a region.
|
||||
properties:
|
||||
OS-FLV-EXT-DATA:ephemeral:
|
||||
description: Ephemeral is the amount of ephemeral disk space,
|
||||
measured in GB.
|
||||
type: integer
|
||||
description:
|
||||
description: |-
|
||||
Description is a free form description of the flavor. Limited to
|
||||
65535 characters in length. Only printable characters are allowed.
|
||||
New in version 2.55
|
||||
type: string
|
||||
disk:
|
||||
description: Disk is the amount of root disk, measured in GB.
|
||||
type: integer
|
||||
id:
|
||||
description: ID is the flavor's unique ID.
|
||||
type: string
|
||||
name:
|
||||
description: Name is the name of the flavor.
|
||||
type: string
|
||||
os-flavor-access:is_public:
|
||||
description: IsPublic indicates whether the flavor is public.
|
||||
type: boolean
|
||||
ram:
|
||||
description: RAM is the amount of memory, measured in MB.
|
||||
type: integer
|
||||
rxtx_factor:
|
||||
description: RxTxFactor describes bandwidth alterations of the
|
||||
flavor.
|
||||
type: number
|
||||
vcpus:
|
||||
description: VCPUs indicates how many (virtual) CPUs are available
|
||||
for this flavor.
|
||||
type: integer
|
||||
required:
|
||||
- OS-FLV-EXT-DATA:ephemeral
|
||||
- description
|
||||
- disk
|
||||
- id
|
||||
- name
|
||||
- os-flavor-access:is_public
|
||||
- ram
|
||||
- rxtx_factor
|
||||
- vcpus
|
||||
type: object
|
||||
type: array
|
||||
nodeRole:
|
||||
description: NodeRole is the role assigned to the node
|
||||
type: string
|
||||
@@ -863,10 +826,11 @@ spec:
|
||||
spec:
|
||||
description: VMwareCredsSpec defines the desired state of VMwareCreds
|
||||
properties:
|
||||
datacenter:
|
||||
type: string
|
||||
secretRef:
|
||||
description: |-
|
||||
INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
|
||||
Important: Run "make" to regenerate code after modifying this file
|
||||
description: ObjectReference contains enough information to let you
|
||||
inspect or modify the referred object.
|
||||
properties:
|
||||
apiVersion:
|
||||
description: API version of the referent.
|
||||
@@ -908,6 +872,8 @@ spec:
|
||||
type: string
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
required:
|
||||
- datacenter
|
||||
type: object
|
||||
status:
|
||||
description: VMwareCredsStatus defines the observed state of VMwareCreds
|
||||
@@ -915,9 +881,6 @@ spec:
|
||||
vmwareValidationMessage:
|
||||
type: string
|
||||
vmwareValidationStatus:
|
||||
description: |-
|
||||
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
|
||||
Important: Run "make" to regenerate code after modifying this file
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
@@ -926,6 +889,100 @@ spec:
|
||||
subresources:
|
||||
status: {}
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.17.1
|
||||
name: vmwaremachines.vjailbreak.k8s.pf9.io
|
||||
spec:
|
||||
group: vjailbreak.k8s.pf9.io
|
||||
names:
|
||||
kind: VMwareMachine
|
||||
listKind: VMwareMachineList
|
||||
plural: vmwaremachines
|
||||
singular: vmwaremachine
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: VMwareMachine is the Schema for the vmwaremachines API
|
||||
properties:
|
||||
apiVersion:
|
||||
description: |-
|
||||
APIVersion defines the versioned schema of this representation of an object.
|
||||
Servers should convert recognized schemas to the latest internal value, and
|
||||
may reject unrecognized values.
|
||||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
||||
type: string
|
||||
kind:
|
||||
description: |-
|
||||
Kind is a string value representing the REST resource this object represents.
|
||||
Servers may infer this from the endpoint the client submits requests to.
|
||||
Cannot be updated.
|
||||
In CamelCase.
|
||||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
description: VMwareMachineSpec defines the desired state of VMwareMachine
|
||||
properties:
|
||||
targetFlavorId:
|
||||
description: TargetFlavorId is the flavor to be used to create the
|
||||
target VM on openstack
|
||||
type: string
|
||||
vms:
|
||||
description: VMInfo is the info of the VMs in the VMwareMachine
|
||||
properties:
|
||||
cpu:
|
||||
type: integer
|
||||
datastores:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
disks:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
ipAddress:
|
||||
type: string
|
||||
memory:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
networks:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
osType:
|
||||
type: string
|
||||
vmState:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: object
|
||||
status:
|
||||
description: VMwareMachineStatus defines the observed state of VMwareMachine
|
||||
properties:
|
||||
migrated:
|
||||
default: false
|
||||
description: Migrated flag to indicate if the VMs have been migrated
|
||||
type: boolean
|
||||
powerState:
|
||||
description: PowerState is the state of the VMs in the VMware
|
||||
type: string
|
||||
required:
|
||||
- migrated
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
@@ -1043,6 +1100,7 @@ rules:
|
||||
- storagemappings
|
||||
- vjailbreaknodes
|
||||
- vmwarecreds
|
||||
- vmwaremachines
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
@@ -1074,6 +1132,7 @@ rules:
|
||||
- storagemappings/status
|
||||
- vjailbreaknodes/status
|
||||
- vmwarecreds/status
|
||||
- vmwaremachines/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
@@ -1480,6 +1539,56 @@ rules:
|
||||
- get
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
app.kubernetes.io/name: migration
|
||||
name: migration-vmwaremachine-editor-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- vjailbreak.k8s.pf9.io
|
||||
resources:
|
||||
- vmwaremachines
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- vjailbreak.k8s.pf9.io
|
||||
resources:
|
||||
- vmwaremachines/status
|
||||
verbs:
|
||||
- get
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
app.kubernetes.io/name: migration
|
||||
name: migration-vmwaremachine-viewer-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- vjailbreak.k8s.pf9.io
|
||||
resources:
|
||||
- vmwaremachines
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- vjailbreak.k8s.pf9.io
|
||||
resources:
|
||||
- vmwaremachines/status
|
||||
verbs:
|
||||
- get
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
labels:
|
||||
@@ -1546,7 +1655,7 @@ spec:
|
||||
- --health-probe-bind-address=:8081
|
||||
command:
|
||||
- /manager
|
||||
image: quay.io/platform9/vjailbreak-controller:v0.1.7
|
||||
image: quay.io/platform9/vjailbreak-controller:v0.1.8
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
|
||||
Reference in New Issue
Block a user