Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions docs/reference/replicated-cli-customer-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,22 @@ replicated customer create [Flags]
<td>duration</td>
<td>If set, license will expire a specified number of units from the current time. For example, <code>2h</code> or <code>1h60m</code> or <code>120m</code> are all the same duration.</td>
</tr>
<tr>
<td><code>--custom-id</code></td>
<td>string</td>
<td>If set, this custom alphanumeric ID is associated with this customer to more easily tie this record to your external data systems (i.e. Salesforce, Hubspot, etc.) </td>
</tr>
<Help/>
<App/>
<Token/>
</table>

## Examples
```bash
replicated customer create --channel Megacorp_Beta --name "Megacorp" --ensure-channel --expires-in "8760h"
ID NAME CHANNELS EXPIRES TYPE
2u4KGXSY65SAUW0ltG_pPhxBGPJ4XNSS Megacorp Megacorp_Beta 2021-01-20 00:17:38 +0000 UTC dev
replicated customer create --channel Megacorp_Beta --name "Megacorp" --ensure-channel --expires-in "8760h" --custom-id "salesforceid-123"
```

```bash
ID NAME CHANNELS EXPIRES TYPE CUSTOM_ID
2u4KGXSY65SAUW0ltG_pPhxBGPJ4XNSS Megacorp Megacorp_Beta 2021-01-20 00:17:38 +0000 UTC dev salesforceid-123
```
6 changes: 3 additions & 3 deletions docs/reference/replicated-cli-customer-ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ List all customers:

```bash
replicated customer ls
ID NAME CHANNELS EXPIRES TYPE
iEgJuVDHy2pi-AqOjLXbZCTX9bqlV6YH John Smith Unstable Never
YAg7ripYbK0tM5MVn_81nMy0YrhBsHrm Megacorp Megacorp_Beta Never
ID NAME CHANNELS EXPIRES TYPE CUSTOM_ID
iEgJuVDHy2pi-AqOjLXbZCTX9bqlV6YH John Smith Unstable Never Not Set
YAg7ripYbK0tM5MVn_81nMy0YrhBsHrm Megacorp Megacorp_Beta Never salesforceid-123
```

List customers and their instances for a specific application version:
Expand Down
47 changes: 47 additions & 0 deletions docs/reference/replicated-cli-registry-add-gar.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import App from "../partials/replicated-cli/_app.mdx"
import SkipValidation from "../partials/replicated-cli/_skip-validation.mdx"
import Token from "../partials/replicated-cli/_token.mdx"
import Help from "../partials/replicated-cli/_help.mdx"

# registry add gar

Adds a Google Artifact Registry (GAR) using a service account key or token.

## Usage

```bash
replicated registry add gar [flags]
```

The following flags are supported:

<table>
<tr>
<th width="30%">Flag</th>
<th width="20%">Type (if applicable)</th>
<th width="50%">Description</th>
</tr>
<App/>
<Help/>
<tr>
<td><code>--serviceaccountkey</code></td>
<td>string</td>
<td>The service account key to use when authenticating to the registry.</td>
</tr>
<tr>
<td><code>--serviceaccountkey-stdin</code></td>
<td></td>
<td>Take the service account key from stdin.</td>
</tr>
<tr>
<td><code>--token</code></td>
<td>string</td>
<td>The Google Cloud OAuth token to use when authenticating to the registry.</td>
</tr>
<tr>
<td><code>--token-stdin</code></td>
<td></td>
<td>Takes the Google Cloud OAuth token from stdin.</td>
</tr>
<SkipValidation/>
</table>
4 changes: 4 additions & 0 deletions docs/reference/replicated-cli-registry-add.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ The following `registry add` commands are supported:
<td><a href="replicated-cli-registry-add-ecr"><code>replicated registry add ecr</code></a></td>
<td>Adds an Amazon Elastic Container Registry (ECR).</td>
</tr>
<tr>
<td><a href="replicated-cli-registry-add-gar"><code>replicated registry add gar</code></a></td>
<td>Adds a Google Artifact Registry (GAR).</td>
</tr>
<tr>
<td><a href="replicated-cli-registry-add-gcr"><code>replicated registry add gcr</code></a></td>
<td>Adds a Google Container Registry (GCR).</td>
Expand Down
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ const sidebars = {
'reference/replicated-cli-registry-add',
'reference/replicated-cli-registry-add-dockerhub',
'reference/replicated-cli-registry-add-ecr',
'reference/replicated-cli-registry-add-gar',
'reference/replicated-cli-registry-add-gcr',
'reference/replicated-cli-registry-add-ghcr',
'reference/replicated-cli-registry-add-other',
Expand Down