Skip to content

Commit 554fc4a

Browse files
authored
Merge pull request #4004 from replicatedhq/laverya/sc-136963/troubleshoot-crds-don-t-exist-on-helm-cli
document the recommended 'inside secret' method for supportbundle res…
2 parents bc37bae + a51955e commit 554fc4a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

docs/reference/linter.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,26 @@ For more information, see [LintConfig](custom-resource-lintconfig).
11231123
</tr>
11241124
</table>
11251125

1126+
### troubleshoot-spec-in-chart-without-crd
1127+
1128+
<table>
1129+
<tr>
1130+
<th>Description</th>
1131+
<td>
1132+
<p>Notifies if a Helm chart contains a top-level <code>kind: Preflight</code> or <code>kind: SupportBundle</code> custom resource.</p>
1133+
<p>Preflight and SupportBundle custom resources cannot be applied directly from a Helm chart — they require cluster-side CRDs that are not available in most shared clusters and that need cluster-admin permissions to install. Embed the spec in a Kubernetes Secret with the <code>troubleshoot.sh/kind</code> label instead. See <a href="/vendor/preflight-defining">Define preflight checks</a> and <a href="/vendor/support-bundle-customizing">Add and customize support bundles</a>.</p>
1134+
</td>
1135+
</tr>
1136+
<tr>
1137+
<th>Level</th>
1138+
<td>Warn</td>
1139+
</tr>
1140+
<tr>
1141+
<th>Applies To</th>
1142+
<td>Helm chart archives in the release</td>
1143+
</tr>
1144+
</table>
1145+
11261146
### volume-docker-sock
11271147

11281148
<table>

0 commit comments

Comments
 (0)