mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
9054c49b3e
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.