GoogleContainerTools/skaffold
skaffold does not handle tilde sign (home directory) under kubectl > manifests
Aberta
#6.983 aberto em 28 de dez. de 2021
area/confighelp wantedkind/bugpriority/p3
Métricas do repositório
- Stars
- (12.822 estrelas)
- Métricas de merge de PR
- (Mesclagem média 3d 6h) (16 fundiu PRs em 30d)
Description
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