Skip to content

Feature: Add a kongctl create -f command which creates (best effort) input resources #572

@rspurgeon

Description

@rspurgeon

Following the same pattern as:

  • kongctl apply -f <inputs> # create or update
  • kongctl sync -f <inputs> # create update or delete
  • kongctl delete -f <inputs> # delete

Add a command to create resources without first checking state.

kongctl create -f <inputs>

This will perform a best effort attempt to create all the input resources with the following caveats:

  • It will not first check existing state
  • It will not update existing resources
  • If a create (POST) fails, it will warn and continue with the input resource set
  • It will create children of parents even if they already exist and the create fails for the parent

Metadata

Metadata

Assignees

No one assigned

    Labels

    declarativeenhancementNew feature or requestmedium-priorityThis item should be addressed in the medium term time frametriagedThis item has been triaged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions