amila77kashyapa opened a new issue, #7326:
URL: https://github.com/apache/incubator-devlake/issues/7326

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   I'm trying to upgrade DevLake from v0.19.0-beta4 to v1.0.0-beta4 using Helm 
and am getting the error below. Same Issue came up with  v1.0.0-beta3 also. 
Thank you.
   
   "Error: UPGRADE FAILED: cannot patch "devlake-ui" with kind Deployment: 
Deployment.apps "devlake-ui" is invalid: spec.selector: Invalid value: 
v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake",
 "app.kubernetes.io/name":"devlake", "devlakeComponent":"ui"}, 
MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && 
cannot patch "devlake-lake" with kind Deployment: Deployment.apps 
"devlake-lake" is invalid: spec.selector: Invalid value: 
v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake",
 "app.kubernetes.io/name":"devlake", "devlakeComponent":"lake"}, 
MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && 
cannot patch "devlake-mysql" with kind StatefulSet: StatefulSet.apps 
"devlake-mysql" is invalid: spec: Forbidden: updates to statefulset spec for 
fields other than 'replicas', 'template', 'updateStrategy', 
'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbid
 den"
   
   ### What do you expect to happen
   
   Upgrade to newer version v1.0.0-beta4
   
   ### How to reproduce
   
   export ENCRYPTION_SECRET="your_current _secret"
   
   helm upgrade devlake devlake/devlake --version=1.0.0-beta4 --set 
API_REQUESTS_PER_HOUR="10000" --set API_RETRY="3" --set 
PIPELINE_MAX_PARALLEL="1" --set IN_SECURE_SKIP_VERIFY="true" --set 
lake.encryptionSecret.secret=$ENCRYPTION_SECRET
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.19.0-beta4
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to