Skip to content

Commit d027956

Browse files
authored
Merge pull request #2869 from replicatedhq/116695
Update info about installer-only annotation
2 parents 5f4b000 + 2f212c5 commit d027956

File tree

3 files changed

+26
-20
lines changed

3 files changed

+26
-20
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
* You must have a customer in the Replicated Vendor Portal with a valid email address. This email address is only used as a username for the Replicated registry and is never contacted. For more information about creating and editing customers in the Vendor Portal, see [Creating a Customer](/vendor/releases-creating-customer).
1+
* The customer used to install must have a valid email address. This email address is only used as a username for the Replicated registry and is never contacted. For more information about creating and editing customers in the Vendor Portal, see [Creating a Customer](/vendor/releases-creating-customer).
2+
3+
* The customer used to install must have the **Existing Cluster (Helm CLI)** install type enabled. For more information about enabling install types for customers in the Vendor Portal, see [Managing Install Types for a License](licenses-install-types).
24

35
* To ensure that the Replicated proxy registry can be used to grant proxy access to your application images during Helm installations, you must create an image pull secret for the proxy registry and add it to your Helm chart. To do so, follow the steps in [Using the Proxy Registry with Helm Installations](/vendor/helm-image-registry).
46

5-
* (Recommended) To install the Replicated SDK alongside the application, declare the SDK as a dependency. For more information, see [Install the SDK as a Subchart](replicated-sdk-installing#install-the-sdk-as-a-subchart) in _Installing the Replicated SDK_.
7+
* Declare the SDK as a dependency in your Helm chart. For more information, see [Install the SDK as a Subchart](replicated-sdk-installing#install-the-sdk-as-a-subchart) in _Installing the Replicated SDK_.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Any other Kubernetes resources in the release (such as Kubernetes Deployments or Services) must include the `kots.io/installer-only` annotation.
2+
3+
The `kots.io/installer-only` annotation indicates that the Kubernetes resource is used only by the Replicated installers (Embedded Cluster, KOTS, and kURL).
4+
5+
Example:
6+
```yaml
7+
apiVersion: v1
8+
kind: Service
9+
metadata:
10+
name: my-service
11+
annotations:
12+
kots.io/installer-only: "true"
13+
```

docs/vendor/licenses-install-types.mdx

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import InstallerOnlyAnnotation from "../partials/helm/_installer-only-annotation.mdx"
2+
13
# Managing Install Types for a License (Beta)
24

35
This topic describes how to manage which installation types and options are enabled for a license.
@@ -34,21 +36,24 @@ The following describes each installation type available, as well as the require
3436
<table>
3537
<tr>
3638
<th width="30%">Install Type</th>
37-
<th>Description</th>
39+
<th width="35%">Description</th>
3840
<th>Requirements</th>
3941
</tr>
4042
<tr>
4143
<th>Existing Cluster (Helm CLI)</th>
42-
<td><p>The customer does not have access to the Replicated installers.</p><p>When the <strong>Helm CLI Air Gap Instructions (Helm CLI only)</strong> install option is also enabled, the Download Portal displays instructions on how to pull Helm installable images into a local repository. See <a href="#install-options">Understanding Additional Install Options</a> below.</p></td>
43-
<td>The latest release promoted to the channel where the customer is assigned must contain only Helm charts and Replicated Custom Resources. Any other Kubernetes resources must include the `kots.io/installer-only` annotation. See <a href="#installer-only-annotation">kots.io/installer-only Annotation</a> below.</td>
44+
<td><p>Allows the customer to install with Helm in an existing cluster. The customer does not have access to the Replicated installers (Embedded Cluster, KOTS, and kURL).</p><p>When the <strong>Helm CLI Air Gap Instructions (Helm CLI only)</strong> install option is also enabled, the Download Portal displays instructions on how to pull Helm installable images into a local repository. See <a href="#install-options">Understanding Additional Install Options</a> below.</p></td>
45+
<td>
46+
<p>The latest release promoted to the channel where the customer is assigned must contain one or more Helm charts. It can also include Replicated custom resources, such as the Embedded Cluster Config custom resource, the KOTS HelmChart, Config, and Application custom resources, or the Troubleshoot Preflight and SupportBundle custom resources.</p>
47+
<InstallerOnlyAnnotation/>
48+
</td>
4449
</tr>
4550
<tr>
4651
<th>Existing Cluster (KOTS install)</th>
4752
<td>Allows the customer to install with Replicated KOTS in an existing cluster.</td>
4853
<td>
4954
<ul>
5055
<li>Your Vendor Portal team must have the KOTS entitlement</li>
51-
<li>The latest release promoted to the channel where the customer is assigned must contain KOTS custom resources</li>
56+
<li>The latest release promoted to the channel where the customer is assigned must contain KOTS custom resources, such as the KOTS HelmChart, Config, and Application custom resources. For more information, see [About Custom Resources](/reference/custom-resource-about).</li>
5257
</ul>
5358
</td>
5459
</tr>
@@ -77,20 +82,6 @@ The following describes each installation type available, as well as the require
7782
</tr>
7883
</table>
7984

80-
### `kots.io/installer-only` Annotation {#installer-only-annotation}
81-
82-
The `kots.io/installer-only` annotation indicates that the Kubernetes resource is only used by the Replicated installers (Embedded Cluster, KOTS, or kURL). This annotation is required for releases that support the `Existing Cluster (Helm CLI)` install type and include resources other than Helm charts.
83-
84-
Example:
85-
```yaml
86-
apiVersion: v1
87-
kind: Service
88-
metadata:
89-
name: my-service
90-
annotations:
91-
kots.io/installer-only: "true"
92-
```
93-
9485
## Understanding Additional Install Options {#install-options}
9586

9687
After enabling installation types in the **Available install types** field, you can also enable the following options in the **Additional install options** field:

0 commit comments

Comments
 (0)