Skip to content

GIT-18: single default StorageClass on ivylen (Longhorn) - #30

Merged
noels merged 1 commit into
mainfrom
GIT-18-default-sc
Sep 25, 2026
Merged

noels merged 1 commit into
mainfrom
GIT-18-default-sc

Conversation

@noels

@noels noels commented Sep 25, 2026

Copy link
Copy Markdown
Member

Part of GIT-18 / GIT-32. Independent of #29, safe to merge on its own.

ivylen has two default StorageClasses: longhorn and microk8s-hostpath. Kubernetes resolves the tie by picking the newest one, which is Longhorn today but could silently change. This adds the MicroK8s hostpath-storage add-on's StorageClass to ivylen's cluster-wide resources (cluster-ivylen-resources), copied field-for-field, with is-default-class: "false".

  • Server-side diff against ivylen: only the two annotations change (default flag → false, plus Prune=false,Delete=false).
  • Nothing currently changes: new PVCs without a class already get longhorn. The PVCs that use microk8s-hostpath by name (Paperless's consume) are unaffected.
  • Prune=false,Delete=false: dropping it from the list later never deletes the distro's class.

🤖 Generated with Claude Code

@noels
noels merged commit a052a81 into main Sep 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant