Closed shixinghong closed 3 years ago
I want to use the definition password , then I have changed the "custom-password.yaml" ,Change the
password: MWYyZDFlMmU2N2Rm
topassword: MTIzNDU2Cg==
kubeclt apply -f custom-password.yaml
,There's an error "PostStartHookError: command '/bin/sh -c echo ${REDIS_PASSWORD} > /data/redis_password' exited with 126: 0 "kubectl logs -f drc-redis-cluster-0-0
,like this ` FATAL CONFIG FILE ERROR Reading the configuration file, at line 4'requirepass '123456' Unbalanced quotes in configuration line `
you can use stringData
I have solved it,thx !
I want to use the definition password , then I have changed the "custom-password.yaml" ,Change the
password: MWYyZDFlMmU2N2Rm
topassword: MTIzNDU2Cg==
kubeclt apply -f custom-password.yaml
,There's an error "PostStartHookError: command '/bin/sh -c echo ${REDIS_PASSWORD} > /data/redis_password' exited with 126: 0 "kubectl logs -f drc-redis-cluster-0-0
,like this ` FATAL CONFIG FILE ERROR Reading the configuration file, at line 4