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

WIP: Allow creation of users through a job #358

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented Jun 30, 2022

What this PR does:
This is WIP of the job approach to creating users, allowing external secrets resources. The CRDs will change, this is just to show it could be done without disabling the original behavior (SuperuserSecretname can now be left empty, if UserInfo is provided and it won't be generated).

There are other secrets in the project also, this PR will not touch those (that will be next PRs) - but instead only move the users creation (currently only superusers) towards a job, using modifications in the k8ssandra-client.

Also, fixes a bug that causes CreateUsers and upsertUsers to be called against Cassandra instance on every reconcile invocation.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@github-actions
Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

@burmanm
Copy link
Contributor Author

burmanm commented Jan 19, 2023

The new test will not pass without k8ssandra/k8ssandra-client#4

@adejanovski adejanovski added blocked Issues in the state 'blocked' and removed zh:In-Progress labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Issues in the state 'blocked'
Projects
No open projects
Status: Blocked/Stale
Development

Successfully merging this pull request may close these issues.

2 participants