Issues
Issues copied to clipboard
Project Template with Certificate Variable Type cannot have default value
Prerequisites
- [x] I have verified the problem exists in the latest version
- [x] I have searched open and closed issues to make sure it isn't already reported
- [x] I have written a descriptive issue title
- [x] I have linked the original source of this report
- [x] I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)
The bug
In the project template variable edit screen I can select certificate as the variable type and I can also enter in a default value.
However, when I go to the tenant screen the default value isn't populated and it doesn't appear to be an option for me to select or clear that.
The default value is set to a variable in the project:
What I expected to happen
I should be able to set a default certificate. Use case: the majority of my customers are hosted on my webservers, they have a subdomain [tenantsite].something.com. Customers I host will use the default cert. Customers I don't host will have their own certificates.
Affected versions
Octopus Server: 2019.11.x
Workarounds
Not set a default value, which means quite a bit of clicking. It is possible to set a variable set variable template.
That will appear as a common variable in the tenant.
It doesn't solve the core problem, but hopefully it helps with too many clicking.
Links
Community Slack: https://octopususergroup.slack.com/archives/C6UGLUWMQ/p1579007007053700
Any news? 🙏
up
Hi guys, any news??
@OctopusBob any update?
I'll reach out to our engineers to see what the priority is on this.
Ho @ronid This issue has been placed on our internal support backlog. This means we'll attempt to resolve the issue, but unfortunately is not a guarantee that an engineer will be assigned the issue, so I couldn't provide an estimate as to when it would be picked up, if at all.
We'll update the issue with any changes.
A more effective workaround here is to set the default value to the id of the certificate, rather than binding it to a variable.
When configuring the value for this template for a tenant, it will now correctly show the specific certificate as the default value for this template.
@ronid - Does the workaround above work for your use case?
Sorry for the late response.. Not working for me unfortunately, I need default certificate value to be empty, and only override it for specific tenants.
Second that. Can't use a certificate in a template properly. If I set a default certificate assigned to a variable (so that it varies based on the environment), I can't deploy anything unless I override the cert.
The Octopus engineering team has reviewed this issue.
We understand this would be a valuable improvement to the tenanted deployment experience, but based on our current plans we've classed this as low priority, and as such we won't work on supporting this in the near future.
We prioritize issues based on the number of people affected, the impact type, and available workarounds. If you’ve encountered this issue and haven’t informed our support team, please email [email protected]. Knowing how many people this issue affects helps us determine its priority.