Skip to content

Commit

Permalink
fix kustomize.mdx docs (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
Windfarer authored Nov 1, 2023
1 parent c8d5f46 commit 44e5c4a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/docs/kustomize.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,14 @@ from. This most likely means you didn't call `new(std.thisFile)` when importing

```jsonnet
local tanka = import "github.com/grafana/jsonnet-libs/tanka-util/main.libsonnet";
local helm = tanka.helm.new(std.thisFile);
↑ This is important
local kustomize = tanka.kustomize.new(std.thisFile);
↑ This is important
```

### Failed to find kustomization

```
helmTemplate: Failed to find a kustomization at 'flux2': No such file or directory.
helmTemplate: Failed to find a kustomization at '/home/user/stuff/tanka/environments/default/flux2': No such file or directory.
Error: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/home/user/stuff/tanka/environments/default/flux2'
```
Tanka failed to locate your kustomization on the filesystem. It looked at the
Expand Down

0 comments on commit 44e5c4a

Please sign in to comment.