Request for classic confinement for snap “upgrade-cdk”
-
name: upgrade-cdk
-
description: upgrade-cdk automates the CDK (Charmed Distribution of Kubernetes) upgrade workflow using the Jubilant library.
-
snapcraft: https://github.com/canonical/upgrade-cdk/blob/main/snap/snapcraft.yaml
-
upstream: https://github.com/canonical/upgrade-cdk (Private to Canonical)
-
upstream-relation: I am the upstream author and maintainer
-
supported-category: Juju helpers
-
reasoning: Why classic is needed: upgrade-cdk requires unrestricted filesystem access to below paths:
- Juju credentials at ~/.local/share/juju (written by the juju snap)
- Kubernetes config at ~/.kube/config or $KUBECONFIG
- SSH keys used for “juju scp” opetaions
- The juju snap binary
These paths are outside the snap’s home directory and cannot be accessed under strict confinement.
X I understand that strict confinement is generally preferred over classic.
X I’ve tried the existing interfaces to make the snap to work under strict confinement.