[674] operator base version
This MR creates the initial version of the CRD addressing the production of SylvaUnitsRelease resource with its fields mapped/computed based on the spec on the SylvaWorkloadCluster CR
With this MR, I can define this CR:
apiVersion: sylva.gitlab.com/v1alpha1
kind: SylvaWorkloadCluster
metadata:
name: test
spec:
k8sVersion: x.y
infrastructure: metal3
controlPlane:
provider: rke2
replicas: 3
machineDeployments:
md0:
replicas: 5
And the following SylvaUnitsRelease is created:
apiVersion: sylva.gitlab.com/v1alpha1
kind: SylvaUnitsRelease
metadata:
name: test
spec:
values:
cluster:
k8s_version: x.y
capi_providers:
infra_provider: capm3
bootstrap_provider: cabpr
machine_deployments:
md0:
replicas: 5
relates to sylva-projects/sylva-core#674 (closed)
Edited by Priya Goyal