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

Cluster Deletion: Pass OIDC token for a new policy #416

Open
moklidia opened this issue Apr 30, 2024 · 1 comment
Open

Cluster Deletion: Pass OIDC token for a new policy #416

moklidia opened this issue Apr 30, 2024 · 1 comment

Comments

@moklidia
Copy link
Collaborator

moklidia commented Apr 30, 2024

For description see https://github.com/UffizziCloud/uffizzi_platform/issues/1305

@moklidia
Copy link
Collaborator Author

The token is already passed to the backend


    def handle_delete_cluster(cluster_name)
      params = {
        cluster_name: cluster_name,
        oidc_token: oidc_token,
      }
      response = delete_cluster(server, project_slug, params)

      if ResponseHelper.no_content?(response)
        Uffizzi.ui.say("Cluster #{cluster_name} deleted")
      else
        ResponseHelper.handle_failed_response(response)
      end
    end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant