Skip to content

Add support for client-side dry-run capabilities in client.create() #101

Description

@theoctober19th

Right now, the dry_run arg to Client.create() method is a boolean, which stuffs --dryRun=All argument to the K8s request. This is fine for the server-side dry run.

However, there are often times when a client-side dry-run is desired. It would be awesome if we could add a functionality to support this. Maybe we can make dry_run an enum, with three values False, Client and All. I'm open to other ideas as well.

If this is worth adding, I'm happy to contribute with a pull request as well!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions