Prevent blank after backslash which breaks shell execution (#26632)
Closes #26631 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
parent
f173c87e34
commit
c1ae9a0817
1 changed files with 2 additions and 2 deletions
|
@ -10,12 +10,12 @@ USER=keycloak # <1>
|
||||||
PASSWORD=secret99 # <2>
|
PASSWORD=secret99 # <2>
|
||||||
DATABASE=keycloak # <3>
|
DATABASE=keycloak # <3>
|
||||||
HOST=$(aws rds describe-db-clusters \
|
HOST=$(aws rds describe-db-clusters \
|
||||||
--db-cluster-identifier keycloak-aurora \ # <4>
|
--db-cluster-identifier keycloak-aurora \#<4>
|
||||||
--query 'DBClusters[*].Endpoint' \
|
--query 'DBClusters[*].Endpoint' \
|
||||||
--region eu-west-1 \
|
--region eu-west-1 \
|
||||||
--output text
|
--output text
|
||||||
)
|
)
|
||||||
kubectl run -i --tty --rm debug --image=postgres:13 --restart=Never -- psql postgresql://${USER}:${PASSWORD}@${HOST}/${DATABASE}
|
kubectl run -i --tty --rm debug --image=postgres:15 --restart=Never -- psql postgresql://${USER}:${PASSWORD}@${HOST}/${DATABASE}
|
||||||
----
|
----
|
||||||
<1> Aurora DB user, this can be the same as `--master-username` used when creating the DB.
|
<1> Aurora DB user, this can be the same as `--master-username` used when creating the DB.
|
||||||
<2> Aurora DB user-password, this can be the same as `--master--user-password` used when creating the DB.
|
<2> Aurora DB user-password, this can be the same as `--master--user-password` used when creating the DB.
|
||||||
|
|
Loading…
Reference in a new issue