mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
The code changes update the commands used to retrieve secrets from Kubernetes. The previous commands were using the deprecated `go-template` option, which has been replaced with the `jsonpath` option. This refactor ensures that the correct commands are used to retrieve the secrets, improving the reliability and maintainability of the code.
214 B
214 B
Redis Ops
Get Redis Password
echo $(kubectl get secret --namespace "default" oneuptime-redis -o jsonpath="{.data.redis-password}" | base64 -d)
Please ignore % in the end of the password output.