github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/reference/cli/alpha/rpkg/push/README.md (about)

     1  ---
     2  title: "`push`"
     3  linkTitle: "push"
     4  type: docs
     5  description: >
     6    Push resources to a package revision.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      Push resources to a package revision.
    11  -->
    12  
    13  `push` update the content of a package revision with
    14  the provided resources.
    15  
    16  ### Synopsis
    17  
    18  <!--mdtogo:Long-->
    19  
    20  ```
    21  kpt alpha rpkg push PACKAGE_REV_NAME [DIR] [flags]
    22  ```
    23  
    24  #### Args
    25  
    26  ```
    27  PACKAGE_REV_NAME:
    28    The name of a an existing package revision in a repository.
    29  
    30  DIR:
    31    A local directory with the new manifest. If not provided,
    32    the manifests will be read from stdin.
    33  ```
    34  
    35  <!--mdtogo-->
    36  
    37  ### Examples
    38  
    39  <!--mdtogo:Examples-->
    40  
    41  ```shell
    42  # update the package revision blueprint-f977350dff904fa677100b087a5bd989106d0456 with the resources
    43  # in the ./package directory
    44  $ kpt alpha rpkg push blueprint-f977350dff904fa677100b087a5bd989106d0456 ./package --namespace=default
    45  ```
    46  
    47  <!--mdtogo-->