From 2402f7258acfc6711765365aaa120255e079a789 Mon Sep 17 00:00:00 2001 From: OmkarDeshpande7 Date: Tue, 15 Sep 2026 22:45:13 +0530 Subject: [PATCH] Add release v0.1.8 --- deploy/00crds.yaml | 325 ++++++++++++++++++++++++++++++--------------- releases/v0.1.8.md | 20 +++ 2 files changed, 237 insertions(+), 108 deletions(-) create mode 100644 releases/v0.1.8.md diff --git a/deploy/00crds.yaml b/deploy/00crds.yaml index 171b071..4b3a883 100644 --- a/deploy/00crds.yaml +++ b/deploy/00crds.yaml @@ -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: diff --git a/releases/v0.1.8.md b/releases/v0.1.8.md new file mode 100644 index 0000000..3e39431 --- /dev/null +++ b/releases/v0.1.8.md @@ -0,0 +1,20 @@ +# v0.1.8 + +- **Tag:** `v0.1.8` +- **Published:** 2025-04-10T06:48:23Z +- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.8 + +## Release Notes + +## What's Changed +* Release v0.1.7 by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/322 +* Update release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/326 +* Updating the video by @roopakparikh in https://github.com/platform9/vjailbreak/pull/342 +* Update the readme to point to the 'Getting Started' by @roopakparikh in https://github.com/platform9/vjailbreak/pull/349 +* release v0.1.8 by @spai-p9 in https://github.com/platform9/vjailbreak/pull/354 +* Update release notes for v0.1.8 by @github-actions in https://github.com/platform9/vjailbreak/pull/358 + +## New Contributors +* @roopakparikh made their first contribution in https://github.com/platform9/vjailbreak/pull/342 + +**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.7...v0.1.8