https://github.com/reegnz/helmfile-bug
https://github.com/reegnz/helmfile-bug
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/reegnz/helmfile-bug
- Owner: reegnz
- Created: 2023-09-12T12:49:39.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T12:59:19.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T15:33:19.256Z (6 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Helmfile softlinks bug
## Problem
This works:
```sh
cd ./services/echo-server/
helmfile template
```This doesn't:
```sh
cd ./accounts/my_aws_account/clusters/my_cluster/services/echo-server/
helmfile template
```## Solution
The helmfile binary should first resolve the absolute path of PWD before resolving relative paths inside the helmfile.yaml
Tools like direnv for example behave correctly with softlinks:
https://github.com/direnv/direnv/blob/master/stdlib.sh#L193-L206