Skip to content

Only apply OS/Arch chart restrictions to rancher repos #11670

@richard-cox

Description

@richard-cox

SURE-8420

Is your feature request related to a problem? Please describe.

  • The UI will block installation of charts given it's annotations, specifically the OS / Arch of cluster nodes
  • By default these are enforced and when missing assume linux only
  • This results in external charts failing to install on OSs like windows without manually adding the annotations

Describe the solution you'd like

Additional context

  • Old Annotation
catalog.cattle.io/os
  • New annotations
 - catalog.cattle.io/deploys-on-os: indicates that a chart needs global.cattle.OS.enabled to be set for the OSs provided by a comma-separated list
  - No default
- catalog.cattle.io/deploys-on-arch (NEW): indicates that a chart needs global.cattle.ARCH.enabled to be set for the archs provided by a comma-separated list
  - No default
- catalog.cattle.io/permits-os: indicates that the chart is deployable onto clusters who have nodes with OSs provided by a comma-separated list
  - Default if not exists: catalog.cattle.io/permits-os: linux
- catalog.cattle.io/permits-arch: indicates that the chart is deployable onto clusters who have nodes with archs provided by a comma-separated list
  - Default if not exists: catalog.cattle.io/permits-arch: amd64 

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions