Skip to content

Fix app slug guidance for Helm-native v2 snapshot restore#4244

Merged
banjoh merged 2 commits into
mainfrom
evansmungai/sc-138672/fix-docs-kots-io-app-slug-must-be-a-pod-label
Jul 9, 2026
Merged

Fix app slug guidance for Helm-native v2 snapshot restore#4244
banjoh merged 2 commits into
mainfrom
evansmungai/sc-138672/fix-docs-kots-io-app-slug-must-be-a-pod-label

Conversation

@banjoh

@banjoh banjoh commented Jul 9, 2026

Copy link
Copy Markdown
Member

The app slug must be set as a pod label, not just an annotation, since restore for Helm-native v2 apps matches on pod labels.

Preview: https://deploy-preview-4244--replicated-docs.netlify.app/vendor/helm-native-v2-using#kots-steps

The app slug must be set as a pod label, not just an annotation, since
restore for Helm-native v2 apps matches on pod labels.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@banjoh banjoh requested a review from a team as a code owner July 9, 2026 18:44
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit 5d2eec2
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs/deploys/6a4fec72066690000855a0c5
😎 Deploy Preview https://deploy-preview-4244--replicated-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit 5d2eec2
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs-upgrade/deploys/6a4fec721cda3f00080ccbab
😎 Deploy Preview https://deploy-preview-4244--replicated-docs-upgrade.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added type::docs Improvements or additions to documentation type::feature labels Jul 9, 2026
Comment thread docs/vendor/helm-native-v2-using.mdx Outdated
To support KOTS existing cluster or kURL installations with HelmChart v2, complete these additional steps:

1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` label and `kots.io/app-slug: APP_SLUG` annotation to all resources that you want to be included in backups with Replicated snapshots. Use a `when` statement so that these are added to resources only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.
1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` and `kots.io/app-slug: APP_SLUG` labels to all resources that you want to be included in backups with Replicated snapshots. The `kots.io/app-slug` value must be added as a pod label, not only as an annotation, because restore for Helm-native v2 apps matches on pod labels. Use a `when` statement so that these are added to resources only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('be included').

Comment thread docs/vendor/helm-native-v2-using.mdx Outdated
To support KOTS existing cluster or kURL installations with HelmChart v2, complete these additional steps:

1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` label and `kots.io/app-slug: APP_SLUG` annotation to all resources that you want to be included in backups with Replicated snapshots. Use a `when` statement so that these are added to resources only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.
1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` and `kots.io/app-slug: APP_SLUG` labels to all resources that you want to be included in backups with Replicated snapshots. The `kots.io/app-slug` value must be added as a pod label, not only as an annotation, because restore for Helm-native v2 apps matches on pod labels. Use a `when` statement so that these are added to resources only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('be added').

Comment thread docs/vendor/helm-native-v2-using.mdx Outdated
To support KOTS existing cluster or kURL installations with HelmChart v2, complete these additional steps:

1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` label and `kots.io/app-slug: APP_SLUG` annotation to all resources that you want to be included in backups with Replicated snapshots. Use a `when` statement so that these are added to resources only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.
1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` and `kots.io/app-slug: APP_SLUG` labels to all resources that you want to be included in backups with Replicated snapshots. The `kots.io/app-slug` value must be added as a pod label, not only as an annotation, because restore for Helm-native v2 apps matches on pod labels. Use a `when` statement so that these are added to resources only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('are added').

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@banjoh banjoh merged commit 357a649 into main Jul 9, 2026
5 checks passed
@banjoh banjoh deleted the evansmungai/sc-138672/fix-docs-kots-io-app-slug-must-be-a-pod-label branch July 9, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type::docs Improvements or additions to documentation type::feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants