mammoth-kilobyte-41764
04/15/2025, 4:54 PMbored-scientist-35669
06/05/2025, 4:24 PMgarden deploy --sync, help me debug and fix it
Could not flush synchronization changes, retryingfuture-businessperson-39015
06/12/2025, 6:10 PMworried-salesclerk-16508
06/13/2025, 2:18 PMfresh-angle-76971
07/08/2025, 8:16 AMdeploy.frontend → Ingress: http://<project>.local.demo.garden. I'm using garden version 0.14.4fresh-angle-76971
07/08/2025, 1:23 PMfresh-angle-76971
07/21/2025, 1:41 PMexec <pod> -i -- sh working on garden dev console? It just says "Command exec completed successfully!". garden exec <pod> -i -- sh from the commandline works for the same pod.helpful-businessperson-13763
07/28/2025, 9:03 PMfresh-angle-76971
08/13/2025, 8:55 AMCould not find key kubeconfig under var error when running garden validate for the following project config?
apiVersion: garden.io/v2
kind: Project
name: pulumi
environments:
- name: init
- name: dev
providers:
- name: pulumi
version: null # use whatever is in path
useNewPulumiVarfileSchema: true
- name: kubernetes
buildMode: cluster-buildkit
kubeconfig: ${var.kubeconfig}? # use $KUBECONFIG if deployment doesn't set this explicitly
It should work according to docs, it's actually the example listed there: https://docs.garden.io/features/variables-and-templating#optional-valuesfresh-angle-76971
08/13/2025, 9:20 AMkubeconfig optional for the kubernetes provider with garden 0.14? When I set it to kubeconfig: ${var.kubeconfig || null} I get the following error:
✖ providers → Failed processing resolve provider kubernetes (took 0.15 sec). This is what happened:
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Error validating provider configuration:
kubeconfig must be a string
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ pulumi → Provider is ready
Failed resolving one or more providers:
- kubernetesfresh-angle-76971
08/14/2025, 12:26 PMfresh-angle-76971
08/14/2025, 5:33 PMproviders:
- name: pulumi
version: null # use whatever is in path
useNewPulumiVarfileSchema: true
- name: exec
preInit:
runScript: mise run get kubecontext
- name: kubernetes
dependencies:
- exec
preInit:
runScript: mise run write-kubeconfig
buildMode: cluster-buildkit
kubeconfig: ./infra/kubeconfig.yaml
context: ${providers.exec.outputs.initScript.log}
giving me the following error?
❯ garden validate --force-refresh
Validate ✔️
ℹ garden → Initializing...
ℹ garden → Running in environment dev.default in project pulumi
ℹ providers → Resolving providers (will force refresh statuses)...
ℹ exec → Configuring provider...
ℹ pulumi → Configuring provider...
✔ exec → Provider configured
✔ pulumi → Provider configured
ℹ exec → Running pre-init script
✔ pulumi → Provider is ready
ℹ exec → kubernetes-admin@huudot-dev-cluster
ℹ exec → Finished in 28.0ms
ℹ exec → Pre-init script completed successfully
✔ exec → Provider is ready
✖ providers → Failed processing resolve provider kubernetes (took 0.25 sec). This is what happened:
project.garden.yml:22
...
21 | kubeconfig: ./infra/kubeconfig.yaml
22 | context: ${providers.exec.outputs.initScript.log}
-------------------^
Could not find key initScript under providers.exec.outputs. Available keys: (none).
Failed resolving one or more providers:
- kubernetesfresh-angle-76971
08/19/2025, 11:47 AMgarden deploy?
ℹ deploy.tailscale-operator → Deploying tailscale-operator (type helm) at version v-9f42f2e248...
✖ deploy.tailscale-operator → Failed (took 6.3 sec)
✖ deploy.tailscale-operator → Failed processing Deploy type=helm name=tailscale-operator (took 8.23 sec). This is what happened:
─────────────────────────────────────────
Command "/Users/spike/.garden/tools/helm/0dc3c32729046d4e/darwin-arm64/helm --kube-context kubernetes-admin@huudot-test-cluster --kubeconfig /Users/spike/gits/work/huudot.git/main/iac/infra/kubeconfig.yaml --namespace tailscale install tailscale-operator tailscale-operator --repo https://pkgs.tailscale.com/helmcharts --dry-run --namespace tailscale --output json --timeout 300s --values /private/var/folders/1y/httmdjmd02qf57f9zd3py6kw0000gn/T/113b7979b6cec659e9bc40edeee803a5" failed with code 1:
Error: INSTALLATION FAILED: file '/Users/spike/Library/Caches/helm/repository/tailscale-operator-1.86.2-1753978303-9f1ee41e298aac17db343df700f412b84d349962fbb0f680b102fa5e2c1453fd.tgz' does not appear to be a gzipped archive; got 'application/octet-stream'acoustic-architect-39949
08/21/2025, 2:41 PMresource "aws_secretsmanager_secret_version" "app_secret_version" {
secret_id = aws_secretsmanager_secret.app_secret.id
secret_string = var.secret_string
lifecycle {
ignore_changes = all
}
}ancient-island-74119
08/23/2025, 11:50 PMancient-island-74119
08/29/2025, 10:29 PMgarden publish ? Preferably scan before the push occurs.ancient-island-74119
09/02/2025, 6:38 PMkind: Command
name: cleanup-all
description:
short: Cleans up all environments (preview in the current project configuration)
gardenCommand:
- cleanup
- deploy
- app,app2
- "&&"
- cleanup
- namespace
The other option might be to create 2 custom commands and then call that command (similar to a Makefile target), but this would require 3 custom commands. I am trying to avoid that.ancient-island-74119
09/03/2025, 3:42 AMoutputs:
- name: app_image
value: "${actions.build.app.outputs.deploymentImageName}"
I have a Build Action with the name app defined.
I run garden build --env ci which completes successfully running the container build. I then run `` and receive the following error:
57 | - name: app_image
58 | value: "${actions.build.app.outputs.deploymentImageName}"
-----------------^
Could not find key actions. Available keys: local, command, datetime, project, git, secrets, variables, var, environment, providers, modules, runtime.faint-minister-59136
09/09/2025, 10:48 PMfresh-angle-76971
09/11/2025, 6:20 AMfresh-angle-76971
09/11/2025, 2:03 PMfresh-angle-76971
09/13/2025, 1:21 PMfresh-angle-76971
10/17/2025, 9:50 AMtraefik deployed without bundled crds. This is how you do it when installing the helm chart manually: helm install traefik traefik/traefik --skip-crdsancient-island-74119
10/20/2025, 4:51 PMfresh-angle-76971
10/23/2025, 1:00 PMfresh-angle-76971
11/06/2025, 2:48 PMproviders.exec.outputs.initScript.log and use the last line as context for the kubernetes provider? Something like this:
context: ${split("${providers.exec.outputs.initScript.log}", "\n")[-1]}microscopic-river-74022
11/06/2025, 9:16 PMfresh-angle-76971
11/13/2025, 1:56 PMfresh-angle-76971
11/13/2025, 2:50 PMfresh-angle-76971
11/13/2025, 3:32 PMgarden skip the actions that haven't changed since the last run?