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

     1  ---
     2  title: "`unreg`"
     3  linkTitle: "unreg"
     4  type: docs
     5  description: >
     6    Unregister a repository.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      Unregister a repository.
    11  -->
    12  
    13  `unreg` unregisters a repository.
    14  
    15  ### Synopsis
    16  
    17  <!--mdtogo:Long-->
    18  
    19  ```
    20  kpt alpha repo unreg REPOSITORY_NAME [flags]
    21  ```
    22  
    23  #### Args
    24  
    25  ```
    26  REPOSITORY_NAME:
    27    The name of a repository.
    28  ```
    29  
    30  #### Flags
    31  
    32  ```
    33  --keep-auth-secret:
    34    Keep the Secret object with auth information referenced by the repository.
    35    By default, it will be deleted when the repository is unregistered.
    36  ```
    37  
    38  <!--mdtogo-->
    39  
    40  ### Examples
    41  
    42  <!--mdtogo:Examples-->
    43  
    44  ```shell
    45  # unregister a repository and keep the auth secret.
    46  $ kpt alpha repo unreg registered-repository --namespace=default --keep-auth-secret
    47  ```
    48  
    49  <!--mdtogo-->