GoogleContainerTools/skaffold
skaffold does not handle tilde sign (home directory) under kubectl > manifests
開放
#6,983 建立於 2021年12月28日
area/confighelp wantedkind/bugpriority/p3
倉庫指標
- 星標
- (12,822 顆星)
- PR 合併指標
- (平均合併 3天 6小時) (30 天內合併 16 個 PR)
描述
Related to: https://github.com/GoogleContainerTools/skaffold/issues/2123 and https://github.com/GoogleContainerTools/skaffold/pull/2233
Expected behavior
skaffold should be able to use manifests from files in the home directory
Actual behavior
skaffold fails with:
invalid skaffold config: skaffold config file "skaffold.yml" referenced file "~/.secrets/timescaledb/timescaledb-secrets.yml" that could not be found.
Verify that file "~/.secrets/timescaledb/timescaledb-secrets.yml" referenced in config "skaffold.yml" exists and the path and naming are correct.
Information
- Skaffold version: v1.35.1
- Operating system: mac
- Installed via: Homebrew
- Contents of skaffold.yaml:
apiVersion: skaffold/v2beta26
kind: Config
metadata:
name: timescaledb
deploy:
helm:
releases:
- name: timescaledb
namespace: timescaledb
createNamespace: true
chartPath: ../../../shared/charts/timescaledb/charts/timescaledb-single
valuesFiles:
- ./services/timescaledb/default_values.yml
setValues: {}
kubectl:
manifests:
- ./.secrets/timescaledb/timescaledb-secrets.yml
defaultNamespace: timescaledb