Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update secret examples in user docs #1631

Merged
merged 2 commits into from
Oct 12, 2021
Merged

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.

None yet

3 participants