kp_clusterbuildpack_save.md

May 25, 2023 ยท View on GitHub

kp clusterbuildpack save

Create or patch a cluster buildpack

Synopsis

Create or patch a cluster buildpack by providing command line arguments. The cluster buildpack will be created only if it does not exist, otherwise it will be patched.

No defaults will be assumed for patches.

kp clusterbuildpack save <name> [flags]

Examples

kp clusterbuildpack save my-buildpack --image gcr.io/paketo-buildpacks/java

Options

      --dry-run         perform validation with no side-effects; no objects are sent to the server.
                          The --dry-run flag can be used in combination with the --output flag to
                          view the Kubernetes resource(s) without sending anything to the server.
  -h, --help            help for save
  -i, --image string    registry location where the buildpack is located
      --output string   print Kubernetes resources in the specified format; supported formats are: yaml, json.
                          The output can be used with the "kubectl apply -f" command. To allow this, the command
                          updates are redirected to stderr and only the Kubernetes resource(s) are written to stdout.
                          The APIVersion of the outputted resources will always be the latest APIVersion known to kp (currently: v1alpha2).

SEE ALSO