-
Notifications
You must be signed in to change notification settings - Fork 228
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
Rancher 2.5 Fleet/Continious Delivery Resources/Datasources #502
Comments
I'd like the ability to specify a fleet workspace for cluster imports on the rancher2_cluster resource. |
As a rough workaround, you can set up your cluster groups and git repos from terraform using the It's not a very nice process, but it does allow you to manage Fleet configuration from Terraform for now, while waiting for an update to the |
Is there likely to be any work even to add the |
@sgran , more than happy to accept a PR with this feature |
This closes rancher/rancher rancher#502 by adding a new parameter that allows setting of the FleetWorkspaceName value. Signed-off-by: Stephen Gran <[email protected]>
I have successfully used the below in the terraform and it works, as long as Rancher is deployed. However, when you install from scratch and if your Rancher install is part of the same TF folder as your k8s manifest, you will get the below error. Code:
Error:
It appears that this is a bug in the kubernetes_manifest, as you can see in this issue: It looks like people are working around this by creating a CRD but I have not tried that yet. |
This issue was last commented on 3 years ago and the mentioned upstream link has a workaround. Personally, I feel there is a point in most Terraform configs where you need to break it down into multiple configs and orchestrate it. I have orchestrated with CI or Terraform itself in the past. I lean more towards Terraform orchestrating Terraform in my modules to reduce the number of dependencies. I have found orchestrating with CI to be very easy to manage and simple to understand. I am going to close this issue as stale, but feel free to open a new one if this is still an issue. |
Request to add resources and datasources to manage fleet/continuous delivery in Rancher 2.5+
The text was updated successfully, but these errors were encountered: