GoogleContainerTools / GoogleContainerTools/skaffold

skaffold does not handle tilde sign (home directory) under kubectl > manifests

Open
#6,983 2 comments 0 reactions 0 assignees View on GitHub
area/config help wanted kind/bug priority/p3
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

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:

```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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.