我正在尝试让 Skaffold 与 Helm 一起工作。
下面是我的skaffold.yml文件:
apiVersion: skaffold/v2beta23
kind: Config
metadata:
name: test-app
build:
artifacts:
- image: test.common.repositories.cloud.int/manager/k8s
docker:
dockerfile: Dockerfile
deploy:
helm:
releases:
- name: my-release
artifactOverrides:
image: test.common.repositories.cloud.int/manager/k8s
imageStrategy:
helm: {}
这是我的values.yaml:
image:
repository: test.common.repositories.cloud.int/manager/k8s
tag: 1.0.0
运行skaffold命令会导致:
...
Starting deploy...
Helm release my-release not installed. Installing...
Error: INSTALLATION FAILED: failed to download ""
deploying "my-release": install: exit status 1
有谁知道,这里缺少什么?!