Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Thib
@thibaultamartin@mamot.fr  ·  activity timestamp 3 days ago

Oddly struggling with setting up a managed role in CloudNative PG.

- I have a `Secret` in a namespace in my k8s and can base64 decode the password
- I have a `Cluster` in another namespace with a `.spec.managed.roles` that references the secret above
- I can see said role when doing a `psql -c \du;`
- But I can't authenticate with said user and b64 decoded password from the secret.

Am I holding it wrong?

#kubernetes #selfHosting #homeLab

  • Copy link
  • Flag this post
  • Block
Thib
@thibaultamartin@mamot.fr replied  ·  activity timestamp 3 days ago

Also inspecting my `Cluster` I can see the role seems reconciled

```
Managed Roles Status:
By Status:
Not - Managed:
app
Reconciled:
authentik
Reserved:
postgres
streaming_replica
Password Status:
Authentik:
Transaction ID: 755
```

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.6 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login