Repository navigation
Explain what spaces can see when you share a Platform Hub template - #3584
Conversation
…form hub steps etc
This reverts commit 48a93d6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pull request environment is available at https://stoctodocspr3584.z22.web.core.windows.net/. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
|
|
||
| In some cases, any project in a space you share the template with can use these resources, such as in deployments, runbooks, and Git triggers. This applies to every project in the space, not just projects created from the template. | ||
|
|
||
| Before you share a template: |
There was a problem hiding this comment.
I'm pretty inclined to leave these suggestions out; they feel a bit patronising and don't really add value - obviously this is what you'd do if you care about the warning above. Let me know what you think.
There was a problem hiding this comment.
I'm happy to leave these in actually
I see where you're coming from with them sounding a bit patronising, but I can also see explicit suggestions / instructions being helpful for when someone uses an AI Agent to read through the documentation.
Coopdogg24
left a comment
There was a problem hiding this comment.
Looks good from a security perspective too
|
|
||
| A template uses a Platform Hub resource, such as an account, certificate, feed, Git credential, or GitHub App Connection, when one of its variables, parameters, or steps refers to it. The same applies to the template's own variables and parameters. | ||
|
|
||
| In some cases, any project in a space you share the template with can use these resources, such as in deployments, runbooks, and Git triggers. This applies to every project in the space, not just projects created from the template. |
There was a problem hiding this comment.
What cases is this where any project can reference them and not just projects using the templates? Are you referring to a regular project that's consuming a Process Template?
If that's the case, I'd suggest:
| In some cases, any project in a space you share the template with can use these resources, such as in deployments, runbooks, and Git triggers. This applies to every project in the space, not just projects created from the template. | |
| Any project that uses either a Project Template or a Process Template will be able to access the references resources within the template. Sharing to a space allows any project to use these templates. |
Feel free to riff on that, I don't think it's quite perfect yet.
Co-authored-by: Corey Underdown <corey.underdown@octopus.com>
Background
Sharing a Platform Hub template with a space makes the Platform Hub resources the template uses available in that space. In some cases any project in that space can use those resources. A project does not need to be created from the template. The docs don't tell Platform Hub admins about this before they share a template.
Results
Adds a "What spaces can see" section to the sharing docs. The section tells admins to treat any resource a shared template uses as visible to every space the template is shared with. The section also lists two steps to take before sharing. The Platform Hub overview links to the new section.
The section describes the behaviour in general terms on purpose. General guidance stays accurate as the product changes.
How to review this PR
🤖 Generated with Claude Code