Compare commits

..
3 Commits
Author SHA1 Message Date
OmkarDeshpande7 c2bf28ee95 Add release v0.1.10 2026-09-15 22:45:31 +05:30
OmkarDeshpande7 ae6ea842f1 Add release v0.1.9 2026-09-15 22:45:22 +05:30
OmkarDeshpande7 2402f7258a Add release v0.1.8 2026-09-15 22:45:13 +05:30
6 changed files with 306 additions and 115 deletions
+217 -108
View File
@@ -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:
+23 -6
View File
@@ -15,11 +15,28 @@ spec:
app: sync-daemon
spec:
hostNetwork: true
initContainers:
- name: fix-perms
image: alpine:latest
securityContext:
privileged: true
runAsUser: 0
command: ["/bin/sh", "-c"]
args:
- |
echo "Fixing permissions on /home/ubuntu/vmware-vix-disklib-distrib..."
chown -R 1000:1000 /home/ubuntu/vmware-vix-disklib-distrib
chmod 755 /home/ubuntu/vmware-vix-disklib-distrib
volumeMounts:
- name: vmwarelib
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
containers:
- name: sync-container
image: alpine:latest
securityContext:
privileged: true
runAsUser: 0
runAsGroup: 0
ports:
- containerPort: 873
volumeMounts:
@@ -31,17 +48,13 @@ spec:
command: ["/bin/sh", "-c"]
args:
- |
# Install required packages
apk add --no-cache rsync coreutils grep;
# Extract variables from environment file
apk add --no-cache rsync coreutils grep
IS_MASTER=$(grep -E '^export IS_MASTER=' /etc/pf9/k3s.env | cut -d'=' -f2)
MASTER_IP=$(grep -E '^export MASTER_IP=' /etc/pf9/k3s.env | cut -d'=' -f2)
if [ "$IS_MASTER" = "true" ]; then
echo "Master node detected. IP: $MASTER_IP"
# Start rsync daemon using the pre-created config file
echo "Starting rsync daemon..."
rsync --daemon --config=/etc/pf9/rsyncd.conf --no-detach
# Verify rsync daemon is running
if ps aux | grep rsync | grep -v grep; then
echo "rsync daemon is running."
else
@@ -59,7 +72,7 @@ spec:
else
echo "Sync failed. Retrying in 60 seconds..."
fi
sleep 20 # Retry every 60 seconds
sleep 20
done
fi
volumes:
@@ -71,3 +84,7 @@ spec:
hostPath:
path: /home/ubuntu/vmware-vix-disklib-distrib
type: DirectoryOrCreate
- name: env
hostPath:
type: Directory
path: /etc/pf9/env
+4
View File
@@ -0,0 +1,4 @@
# This file is used to set environment variables to be injected into v2v-helper
# User can populate this file via cloud-init
+17
View File
@@ -0,0 +1,17 @@
# v0.1.10
- **Tag:** `v0.1.10`
- **Published:** 2025-05-07T17:34:01Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.10
## Release Notes
## What's Changed
* added os icons in vms list table in Migrations by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/431
* Backend change to block selection of vms without appropriate flavors in openstack by @spai-p9 in https://github.com/platform9/vjailbreak/pull/424
* Backend:Retrieve correct network names from backing Network references instead of device summary by @spai-p9 in https://github.com/platform9/vjailbreak/pull/432
* Backend: Improve the error handling and event reporting on these failures. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/411
* Backend: Preserve the job logs. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/435
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.9...v0.1.10
+20
View File
@@ -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
+24
View File
@@ -0,0 +1,24 @@
# v0.1.9
- **Tag:** `v0.1.9`
- **Published:** 2025-04-25T06:14:53Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.9
## Release Notes
## What's Changed
* Backend: Add check if datacenter exists by @spai-p9 in https://github.com/platform9/vjailbreak/pull/368
* Proxy env injection via configmap by @spai-p9 in https://github.com/platform9/vjailbreak/pull/364
* removed creds from logs and Made changes to match OS_INSECURE value t… by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/379
* vddk files check before migration ( release ) by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/375
* Damian doc updates by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/377
* Doc: Inject any environment variables required by user into v2v-helper pod. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/381
* Backend: Change ownership of /home/ubuntu/vmware-vix-disklib-distrib to ubuntu:ubuntu via init container. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/378
* ensure correct permissions on shared vmwarelib directory for rsync ac… by @spai-p9 in https://github.com/platform9/vjailbreak/pull/383
* Scaling doc update by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/391
* Backend: Remove logs in vmwaremachines by @spai-p9 in https://github.com/platform9/vjailbreak/pull/390
## New Contributors
* @sarika-p9 made their first contribution in https://github.com/platform9/vjailbreak/pull/379
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.8...v0.1.9