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

Add vcd_ui_plugin resource and data source to programmatically manage UI Plugins #1059

Merged
merged 30 commits into from
Jul 12, 2023

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented May 23, 2023

Overview

This PR adds a new resource and data source vcd_ui_plugin, so service providers can install UI Plugins programmatically.
Despite it can be a bit contradictory at first glance, as Terraform is a pure IaC tool, it makes sense in a scenario where the service provider uses Terraform to automate all VCD infrastructure but her tenant users don't. In this case, a service provider may need to install the UI Plugins using Terraform for their tenants to use them.

This PR additionally updates the CSE guide to install the Kubernetes Container Clusters UI Plugin making use of this new resource.

Depdendencies

Requires vmware/go-vcloud-director#575

Tests

Tested on VCD 10.4.2, 10.4.1, 10.3.3, 10.3.0

abarreiro added 2 commits May 23, 2023 17:10
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro changed the title Add vcd_ui_plugin resource and data source to programatically manage UI Plugins Add vcd_ui_plugin resource and data source to programmatically manage UI Plugins May 23, 2023
abarreiro added 15 commits May 23, 2023 17:13
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
nit
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
website/docs/d/ui_plugin.html.markdown Outdated Show resolved Hide resolved
website/docs/r/ui_plugin.html.markdown Outdated Show resolved Hide resolved
abarreiro added 2 commits June 7, 2023 09:23
Signed-off-by: abarreiro <[email protected]>
nit
Signed-off-by: abarreiro <[email protected]>
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this manually and it works good but have one concern about update (inline)

website/docs/r/ui_plugin.html.markdown Outdated Show resolved Hide resolved
vcd/remove_leftovers_test.go Show resolved Hide resolved
vcd/remove_leftovers_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ui_plugin.go Outdated Show resolved Hide resolved
abarreiro added 4 commits June 20, 2023 10:46
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tried manually working with plugin as well as ran tests on 10.3.0, 10.4.0, 10.4.1

Signed-off-by: abarreiro <[email protected]>
abarreiro added 2 commits June 21, 2023 16:41
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro merged commit 7fa7fce into vmware:main Jul 12, 2023
@adambarreiro adambarreiro deleted the add-ui-plugin branch July 12, 2023 13:39
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 this pull request may close these issues.

6 participants