-
Notifications
You must be signed in to change notification settings - Fork 72
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
Plans for Move to confluent
vs. ccloud
CLI?
#85
Comments
I've got a commit ready for this, but confluent has changed the way IDs are returned by the new CLI. For Update: I have a ticket open with Confluent to discuss Update 2: Got confirmation from Confluent support that, as of updating this comment (2/11/2022), there is no way to retrieve numeric IDs with the new confluent CLI. (their "workaround" was to grab the numeric ID from a URL in confluent.cloud. Obviously not a good solution for automation.) In addition, alpha-numeric IDs are NOT supported in ACL operations. They are aware of this discrepancy, but I was not given any sort of timeline on a fix. Hopefully they get this fixed before May 9th. |
According to the support team, it is still possible to obtain the IDs directly via the API endpoint https://api.confluent.cloud/service_accounts as a json. This will continue to work for a certain time. At first glance, it looks like this contains the correct numeric ID. |
I would be interested with some updates on this, I have created a modified version of kafka-gitops that uses Will kafka-gitops migrate to alphanumeric ids or will it try to continue using numeric ids? |
It looks like creating an ACL with a service-account alpha-numeric id as the principal only works with |
As a workaround you can use the following script as a ccloud alternative: This script can be placed in the path and called with "ccloud service-account list -o json". The output corresponds exactly to the result that ccloud would return. This should make it possible to create ACLs even after May 9th. |
did we manage to get a workaround or updates on this one since ccloud CLI has already been deprecated since May 9th and now the pipeline is broken :( |
@michael-demian you can use https://gist.github.com/FloEc/c7c38c4ba24ef3c6b9c5c34da3591b77 as an alternative ccloud cli to get service account ids from confluent cloud. |
Given that Confluent is planning to sunset
ccloud
and has merged its functionality into the latest version of theconfluent
CLI (https://docs.confluent.io/ccloud-cli/current/migrate.html), are there plans to migrate this tool to leverage theconfluent
CLI behind-the-scenes instead?The text was updated successfully, but these errors were encountered: