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)
- Use file sync only HOT 6
- Kaniko no cache compression
- Support additional docker buildkit options
- Support for Java 21
- add logs for sync failture
- Delve is too old for Go version 1.21.4
- Add support for riscv64, the install-golint.sh can't work HOT 3
- Multistage cloudbuild + kaniko
- Default Deployer not set using `skaffold dev` when having multiple configurations HOT 2
- Add support for multi-arch OCI image indexes in Bazel builder HOT 2
- build tagpolicy gitcommit behaviour not expected
- skaffold run always forces redeploy with helm renderer HOT 1
- Quickstart
- Should build command depend on Helm? HOT 1
- Argo Rollouts With Canary Fail to Render and Deploy
- Override placeholder in a required configuration HOT 1
- Are modules broken on 2.9.0, 2.8.0? skaffold.yaml deploys, but fails to deploy when require:d as a module HOT 6
- <paste your skaffold.yaml here>
- [Feature Request] Support remote config dependencies with v2 Cloud Build repositories
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.