Closed Vijay-Nirmal closed 1 year ago
Below line of codes will through [: redis-0: unexpected operator exception in non alpine images. Please change it to if [ "$(hostname)" = "redis-0" ]; (Single =)
[: redis-0: unexpected operator
if [ "$(hostname)" = "redis-0" ];
https://github.com/marcel-dempers/docker-development-youtube-series/blob/c484d2f39f7eb8d6eb01a9dfb66fbcfb07a36317/storage/redis/kubernetes/redis/redis-statefulset.yaml#L29
https://github.com/marcel-dempers/docker-development-youtube-series/blob/c484d2f39f7eb8d6eb01a9dfb66fbcfb07a36317/storage/redis/kubernetes/sentinel/sentinel-statefulset.yaml#L29
Thanks, fixed in PR https://github.com/marcel-dempers/docker-development-youtube-series/pull/171
Below line of codes will through
[: redis-0: unexpected operator
exception in non alpine images. Please change it toif [ "$(hostname)" = "redis-0" ];
(Single =)https://github.com/marcel-dempers/docker-development-youtube-series/blob/c484d2f39f7eb8d6eb01a9dfb66fbcfb07a36317/storage/redis/kubernetes/redis/redis-statefulset.yaml#L29
https://github.com/marcel-dempers/docker-development-youtube-series/blob/c484d2f39f7eb8d6eb01a9dfb66fbcfb07a36317/storage/redis/kubernetes/sentinel/sentinel-statefulset.yaml#L29