fresh-angle-76971
08/14/2025, 12:26 PMmicroscopic-river-74022
08/14/2025, 12:26 PMmicroscopic-river-74022
08/14/2025, 12:26 PMoutputs
key in its project configuration. These outputs can reference action outputs, provider outputs, or runtime outputs.
- In the parent project, you can reference these outputs using template strings like ${projects.some-project.outputs.<key>}
. This allows you to pass values from the nested project as inputs or use them elsewhere in your configuration.
Here’s a simplified example from the design discussions:
Parent project configuration:
yaml
kind: Project
name: my-project
dependencies:
- name: some-project
source: "<https://github.com/org/some-project#stable">
environment: dev
variables:
username: "${local.username}"
Nested project configuration:
yaml
kind: Project
name: some-project
outputs:
- name: auth-service-url
description: The URL of the auth service
value: "${services.auth.outputs.ingress-url}"
You can then reference the output in the parent project as ${projects.some-project.outputs.auth-service-url}
.microscopic-river-74022
08/14/2025, 12:26 PMmicroscopic-river-74022
08/14/2025, 12:26 PMfresh-angle-76971
08/14/2025, 12:31 PMmicroscopic-river-74022
08/14/2025, 12:31 PMmicroscopic-river-74022
08/14/2025, 12:31 PM${actions.deploy.pulumi-deploy-action-name.outputs.<key>}
), it does not specify that kubeconfig or context are available as outputs, nor does it provide an example of passing these specific values to a Helm deploy action. Therefore, I cannot confirm that this is currently supported based on the available documentation sources [Docs-edge Pulumi integration]().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------microscopic-river-74022
08/14/2025, 12:31 PMfresh-angle-76971
08/14/2025, 12:33 PMmicroscopic-river-74022
08/14/2025, 12:33 PMmicroscopic-river-74022
08/14/2025, 12:33 PM${actions.deploy.<pulumi-action-name>.outputs.kubeconfig}
and ${actions.deploy.<pulumi-action-name>.outputs.context}
in your Helm deploy action.
However, the knowledge sources do not provide a concrete example or explicitly confirm that Helm deploy actions can consume kubeconfig and context in this way, nor do they specify if these particular outputs are supported or how to wire them into the Helm action's configuration. The documentation does confirm that outputs from Pulumi deploy actions can be referenced in other actions, but it does not detail this specific use case or the required configuration fields for Helm actions to accept a kubeconfig or context from another action's outputs [Docs-edge Pulumi integration]().
In summary:
If your Pulumi deploy action exposes kubeconfig and context as outputs, you can reference them in other actions using Garden's templating, but the documentation does not explicitly confirm or provide an example for this specific scenario.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------microscopic-river-74022
08/14/2025, 12:33 PM