Open JashBook opened 4 months ago
opengauss cluster container opengauss logs contain secret password
kbcli cluster create ogauss-cluster --termination-policy=Halt --cluster-definition=opengauss --cluster-version=opengauss-3.0.0
kubectl get pod -l app.kubernetes.io/instance=ogauss-cluster
NAME READY STATUS RESTARTS AGE
ogauss-cluster-opengauss-0 1/1 Running 0 19s
kubectl get secrets ogauss-cluster-conn-credential -o jsonpath="{.data.password}"|base64 -d p@ssW0rd1
2. see error
kubectl logs ogauss-cluster-opengauss-0 -c opengauss|grep "p@ssW0rd1" Execute SQL: gsql -v ON_ERROR_STOP=1 --username omm --password p@ssW0rd1 --dbname postgres --set db=opengauss --set passwd=p@ssW0rd1 Execute SQL: gsql -v ON_ERROR_STOP=1 --username omm --password p@ssW0rd1 --dbname postgres --set db=opengauss --set passwd=p@ssW0rd1 --set user=kbadmin
Get it
Describe the bug
+ echo '"postgres" "75rbcktq"'
To Reproduce Steps to reproduce the behavior:
kubectl get secrets orioledb-boroli-conn-credential -o jsonpath="{.data.password}"|base64 -d 75rbcktq
kubectl logs orioledb-boroli-orioledb-0 -c pgbouncer
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.