Comments (1)
I could be wrong with the unit test. Having read the code, io.Discard is being used. But it does not make sense why my skaffold is receiving the env key instead of the value.
My skaffold looks like this:
apiVersion: skaffold/v4beta8
kind: Config
build:
tagPolicy:
customTemplate:
template: "{{.USER}}_{{.HASH}}"
components:
- name: USER
envTemplate:
template: "{{.USER}}"
- name: HASH
sha256: {}
artifacts:
- image: "a image name comes here"
context: .
custom:
buildCommand: "make docker_build_svc SVC={{.SERVICE}}"
dependencies:
paths:
- "."
ignore:
- "svc/*/bin/**"
local:
push: false
deploy:
helm:
releases:
- name: "{{.SERVICE}}"
chartPath: "../core/charts/{{.SERVICE}}" # <---- this does not work
namespace: nid
upgradeOnChange: true
valuesFiles:
- "./default_svc_values.yaml"
- "./services/{{.SERVICE}}.yaml"
setValues:
skaffold: "true"
environment.LOG_FORMAT.value: "text"
setValueTemplates:
name: "{{.SERVICE}}"
fullnameOverride: "{{.SERVICE}}"
hosts[0]: "{{.SERVICE}}.{{.CLUSTER_HOST}}"
image: "an image name comes here"
imagePullPolicy: Never
deploymentAnnotations.sidecar\.istio\.io/proxyCPU: "1m"
deploymentAnnotations.sidecar\.istio\.io/proxyMemory: 16Mi
istioVersion: "{{.ISTIO_VERSION}}"
The output that I am receiving is:
Starting deploy...
Loading images into kind cluster nodes...
- an image name comes here -> Found
Images loaded in 49.08925ms
INFO[0002] Deploying with helm v3.12.2 ... subtask=0 task=Deploy
INFO[0002] Building helm dependencies... subtask=0 task=Deploy
Error: could not find ../core/charts/{{.SERVICE}}: stat ../core/charts/{{.SERVICE}}: no such file or directory
deploying "wallet-gql": building helm dependencies: exit status 1
from skaffold.
Related Issues (20)
- TestShouldDisplayPrompt is failing for 2.10.0
- Skaffold ignores helm post renderer's errors and destroys deployment
- Skaffold build with --file-output and --tag outputs a file without the new tag. HOT 1
- Authentication required when pullinb public images from gcr when logged in to Google Cloud
- 2.11.1 is a wrong tag? HOT 2
- Modules activated by profiles? HOT 2
- Allow any network to be provided to docker builder HOT 1
- Cannot update mutliple containers created from single image HOT 2
- skaffold.yaml: Add global field to hold YAML anchor definitions
- Skaffold stops restarting my container after some time passes HOT 1
- Dockerfile in .dockerignore is not respected, leading to unnecessary full rebuilds HOT 2
- Custom actions ignores container volumes
- watcher breaks with dockerfile using COPY --parents
- [BUG] Config dependency doesn't work when deployers are different HOT 2
- Migrate the project to CNFC HOT 4
- How to control logs format?
- skaffold is very slow when doing "intersect matchers" for images HOT 1
- "no tag provided for image" error when using --build-artifacts flag
- Unnecessary reloads of existing images
- Kaniko builder can't push to private registry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skaffold.