Skip to content

Conversation

elmehdisaniss
Copy link
Contributor

The name of the created secret with the minimal postgres deployment is "postgres.acid-minimal-cluster.credentials.postgresql.acid.zalan.do" so when trying the command export "PGPASSWORD=$(kubectl get secret postgres.acid-minimal-cluster.credentials -o 'jsonpath={.data.password}' | base64 -d)" base64 complains about invalid input and when running the command "kubectl get secret postgres.acid-minimal-cluster.credentials -o 'jsonpath={.data.password}'" it complains about not finding the resource. it worked when I used the full name, i.e. "postgres.acid-minimal-cluster.credentials.postgresql.acid.zalan.do".

@FxKu
Copy link
Member

FxKu commented Oct 8, 2021

Thanks @elmehdisaniss . Can you update the example in the configmap manifest, too?

Should be: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"

@FxKu FxKu added this to the 1.7.1 milestone Oct 8, 2021
@elmehdisaniss
Copy link
Contributor Author

@FxKu update has been made on the example in the configmap manifest.

@FxKu
Copy link
Member

FxKu commented Oct 12, 2021

👍

1 similar comment
@RafiaSabih
Copy link
Contributor

👍

@FxKu FxKu merged commit 1d4e491 into zalando:master Oct 12, 2021
@FxKu FxKu changed the title Update user.md Update secret examples in user docs Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants