Closed sv6375261073 closed 1 year ago
This issue can be fixed by changing the user in security contexts in statefulset "redis-cluster" which is "{}" by default.
spec:
securityContext:
runAsUser: 1099
runAsGroup: 1099
fsGroup: 1099
Please do the changes in statefulset as it should not happen even in default config also.
Installing or upgrading redis-cluster takes default security context which is
securityContext: {}
and it's not managed by values file in redis-cluster.
Attaching the screen shot below when upgraded the redis-cluster.
@shubham-cmyk can you please provide update for it, ??
@sv6375261073
Have you tried using latest helm chart version v0.15.3
Is that released? 0.15.0 was the default latest. And i am using the same. If 0.15.3 is released will upgrade and test it.
On Wed, 12 Jul 2023, 13:14 Shubham Gupta, @.***> wrote:
@sv6375261073 https://github.com/sv6375261073
Have you tried using latest helm chart version v0.15.3
— Reply to this email directly, view it on GitHub https://github.com/OT-CONTAINER-KIT/helm-charts/issues/115#issuecomment-1632012763, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIUORANWXIIMIEHZEQUT4CLXPZIWVANCNFSM6AAAAAA2ABJO4Y . You are receiving this because you were mentioned.Message ID: @.***>
Yes @sv6375261073 This might be due to the CRD are not updated. Helm has a issue it don't update the crd so you might have to apply that. If you use helm upgrade then this issue might arise if you uninstall the crd and install again then it would be fine
Yes, upgraded to 0.15.3 and resolved the issue.
Thanks for your help
On Thu, 13 Jul 2023, 01:17 Shubham Gupta, @.***> wrote:
Yes @sv6375261073 https://github.com/sv6375261073 This might be due to the CRD are not updated. Helm has a issue it don't update the crd so you might have to apply that. If you use helm upgrade then this issue might arise if you uninstall the crd and install again then it would be fine
— Reply to this email directly, view it on GitHub https://github.com/OT-CONTAINER-KIT/helm-charts/issues/115#issuecomment-1633114173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIUORAK22R6JMLY7BHTCWYDXP35MTANCNFSM6AAAAAA2ABJO4Y . You are receiving this because you were mentioned.Message ID: @.***>
redis-cluster version 0.15.0 configs: default error: permission denied /data/node.conf file.