Winson-030 / dify-kubernetes

Deploy Dify on Kubernetes
GNU General Public License v3.0
34 stars 8 forks source link

kubectl apply -f dify-deployment.yaml failed error #1

Closed stever100 closed 2 months ago

stever100 commented 2 months ago

it seems error in kubectl apply The request is invalid: patch: Invalid value: "map[spec:map[template:map[spec:map[]] volumes:[map[hostPath:map[path:/root/dify/app/api/storage type:DirectoryOrCreate] name:dify-api-storage]]]]": strict decoding error: unknown field "spec.volumes"

Winson-030 commented 2 months ago

it seems error in kubectl apply The request is invalid: patch: Invalid value: "map[spec:map[template:map[spec:map[]] volumes:[map[hostPath:map[path:/root/dify/app/api/storage type:DirectoryOrCreate] name:dify-api-storage]]]]": strict decoding error: unknown field "spec.volumes"

Hi, fixed in this commit. Feel free to tell me if any issue or bug you find, thanks! https://github.com/Winson-030/dify-kubernetes/commit/4940141967078757371cb6a8fb1747fdbc99b49b

stever100 commented 2 months ago

thanks. yes, working now, no more error in applying