Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce WCP_TKG_Multiple_CL FSS in the VM Operator #427

Closed
ridaz opened this issue Mar 9, 2024 · 0 comments · Fixed by #406
Closed

Introduce WCP_TKG_Multiple_CL FSS in the VM Operator #427

ridaz opened this issue Mar 9, 2024 · 0 comments · Fixed by #406

Comments

@ridaz
Copy link

ridaz commented Mar 9, 2024

Please describe the solution you would like.

With the introduction of WCP_TKG_Multiple_CL,

The CLs attached to the supervisor would now be attached with new label services.supervisor.vmware.com/<service-name> .
Here, the can be anything which includes tkg, vmop etc.

Once the CL is attached to the cluster, the CCL is created along with the labels created.
For example,

labels:
    services.supervisor.vmware.com/tkg.vsphere.vmware.com: ""
    services.supervisor.vmware.com/vmop.vsphere.vmware.com: ""

This gets reflected in the CCLItem which is taken care by Image registry.

With the VM Operator,
we need to ensure that as the labels are updated in the CCLItem, it should be reflected in the CVMI created.

Is there anything else you would like to add?

Before the introduction of Multiple CL,
type.services.vmware.com/tkg is added as the label in CL if it is attached as a TKG Content Library.
We need to have a conditional check to decide which label must be used.

Please tell us about your environment.

Value How to Obtain
Supervisor version rpm -qa VMware-wcp on the vCenter appliance
Supervisor node image version rpm -qa VMware-wcpovf on the vCenter appliance
Kubernetes version kubectl version
VM Operator version
kubectl -n vmware-system-vmop get pods \
  -ojsonpath='{range .items[*].spec.containers[*]}{.image}{"\n"}{end}' | \
  sort -u | \
  grep vmop | \
  awk -F'/' '{print $3}' | \
  awk -F: '{print $2}'
@ridaz ridaz changed the title Introduce WCP_TKG_Multiple_CL FSS in the vm-operator code Introduce WCP_TKG_Multiple_CL FSS in the VM Operator Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant