Repository navigation
GIT-18: unflag microk8s-hostpath via distro-keyed Longhorn resources (public, iff enabled) - #31
Merged
Merged
Conversation
…d); catalogue example
…(public, iff Longhorn enabled)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of GIT-18. Moves #30's
microk8s-hostpathdefault-class override so it's public and exists iff Longhorn is enabled.Unflagging the distro's default StorageClass is a MicroK8s + Longhorn concern: every MicroK8s cluster running Longhorn has two defaults. It isn't an ivylen fact. So it's keyed on the cluster's
distrolabel, not on the cluster.sources/1value-file patches are unaffected; verified with the gitops-private bootstrap build). It syncsenvironments/default/addons/longhorn/distros/{{metadata.labels.distro}}with the longhorn Application.distros/microk8s/: the add-on'smicrok8s-hostpathobject copied field-for-field, withis-default-class: "false"andPrune=false,Delete=false(PVCs still use it by name). Server-side diff against ivylen: none; the live object already matches after GIT-18: single default StorageClass on ivylen (Longhorn) #30.distros/kind/:resources: []. Everydistrolabel in use needs a folder, or the app fails with "path does not exist";distros/README.mdexplains this. Labels today:microk8s(on-prem),kind(hub/spokes).clusters/ivylen/resources/is back to[]. The live object hasPrune=false,Delete=false, so leaving that list neither deletes nor reverts it. The longhorn app adopts it onceenable_longhornis applied.🤖 Generated with Claude Code