Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment fails when database is enabled #122

Open
smailic05 opened this issue Dec 15, 2021 · 0 comments
Open

Deployment fails when database is enabled #122

smailic05 opened this issue Dec 15, 2021 · 0 comments

Comments

@smailic05
Copy link

When I tried to generate and deploy a service with -db option in kind environment got this error

make kind-deploy:

Switched to context "kind-minikube".
dapr is already installed
Error from server (AlreadyExists): namespaces "murad0660" already exists
No resources found.
redis is already installed
component.dapr.io/dapr-component created
bin/helm package helm/storage-infoblox-test --version v0.0.1-0-gdea63ed-unreleased
Successfully packaged chart and saved it to: /home/murad/go/src/github.com/smailic05/storage-infoblox-test/storage-infoblox-test-v0.0.1-0-gdea63ed-unreleased.tgz
Image: "murad0660/storage-infoblox-test:v0.0.1-0-gdea63ed-unreleased" with ID "sha256:4c5ea1529f2af707d157b7bf3cdac5ce0b18037ee84a0d8998f9dc43c57d76c8" not yet present on node "minikube-control-plane", loading...
Image: "murad0660/storage-infoblox-test:v0.0.1-0-gdea63ed-unreleased" with ID "sha256:4c5ea1529f2af707d157b7bf3cdac5ce0b18037ee84a0d8998f9dc43c57d76c8" not yet present on node "minikube-worker", loading...
Image: "murad0660/storage-infoblox-test:v0.0.1-0-gdea63ed-unreleased" with ID "sha256:4c5ea1529f2af707d157b7bf3cdac5ce0b18037ee84a0d8998f9dc43c57d76c8" not yet present on node "minikube-worker2", loading...
make[1]: Entering directory '/home/murad/go/src/github.com/smailic05/storage-infoblox-test'
warning: GOPATH set to GOROOT (/home/murad/go) has no effect
Error from server (AlreadyExists): namespaces "murad0660" already exists
bin/helm is already downloaded, version.BuildInfo{Version:"v3.5.3", GitCommit:"041ce5a2c17a58be0fcd5f5e16fb3e7e95fea622", GitTreeState:"dirty", GoVersion:"go1.15.8"}
serviceaccount/storage-infoblox-test-serviceaccount created
secret/storage-infoblox-test-sakey created
secret/storage-infoblox-test-db-key created
service/storage-infoblox-test-postgres created
service/storage-infoblox-test created
pod/storage-infoblox-test-migration created
error: error validating "deploy-storage-infoblox-test.yaml": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].env[1].valueFrom): unknown field "key" in io.k8s.api.core.v1.EnvVarSource, ValidationError(Deployment.spec.template.spec.containers[0].env[1].valueFrom): unknown field "name" in io.k8s.api.core.v1.EnvVarSource]; if you choose to ignore these errors, turn validation off with --validate=false
make[1]: *** [Makefile.kind:67: deploy-storage-infoblox-test] Error 1
make[1]: Leaving directory '/home/murad/go/src/github.com/smailic05/storage-infoblox-test'
make: *** [Makefile.kind:76: kind-deploy-storage-infoblox-test] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant