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

     1  ---
     2  title: "`delete`"
     3  linkTitle: "delete"
     4  type: docs
     5  description: >
     6    Remove a sync resource from the cluster.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      Remove a sync resource from the cluster.
    11  -->
    12  
    13  `delete` removes a sync resource from the cluster. This will also remove
    14  the package resources.
    15  
    16  ### Synopsis
    17  
    18  <!--mdtogo:Long-->
    19  
    20  ```
    21  kpt alpha sync delete DEPLOYMENT_NAME [flags]
    22  ```
    23  
    24  #### Args
    25  
    26  ```
    27  DEPLOYMENT_NAME:
    28    The name of the sync resource deleted from the cluster.
    29  ```
    30  
    31  #### Flags
    32  
    33  ```
    34  --keep-auth-secret
    35    Do not delete the repository authentication secret, if it exists.
    36  
    37  --timeout
    38    How long we should wait for all resources to be deleted from the cluster.
    39  ```
    40  
    41  <!--mdtogo-->
    42  
    43  ### Examples
    44  
    45  <!--mdtogo:Examples-->
    46  
    47  ```shell
    48  # remove the my-app sync resource from the cluster. Wait up to 5 minutes for
    49  # resources to be deleted.
    50  $ kpt alpha sync delete my-app --timeout=5m
    51  ```
    52  
    53  <!--mdtogo-->