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

Fix to use postgres as the controller credential store #1016

Merged
merged 6 commits into from
Aug 2, 2023

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Jul 28, 2023

Description

Using Postgres for secret storage wasn't previously implemented correctly in the server setup. The dialer interface that dials Juju controllers needs to be configured with the same secret store as JIMM's credential store.

Also added a check before dialling to ensure the controller username and password are not until otherwise JIMM will panic.

Engineering checklist

Check only items that apply

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

@kian99 kian99 force-pushed the postgres-secret-storage-fix branch from da12adc to f138448 Compare July 28, 2023 13:30
service.go Show resolved Hide resolved
service.go Show resolved Hide resolved
service.go Outdated Show resolved Hide resolved
internal/jujuclient/dial.go Show resolved Hide resolved
@kian99 kian99 force-pushed the postgres-secret-storage-fix branch from 7912153 to 030c1be Compare July 28, 2023 14:29
kian99 and others added 3 commits July 28, 2023 16:44
Jimm could error out if no credential store is setup but this would require several tests to change and is best left for a separate PR
@kian99 kian99 merged commit be4267f into canonical:feature-rebac Aug 2, 2023
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.

5 participants