Package feature package defines the names of the current feature flags.
const DeveloperMode = "developer-mode"
DeveloperMode allows access to developer specific commands and behaviour.
const Generations = "generations"
Generations will allow for model generation functionality to be used.
const ImageMetadata = "image-metadata"
ImageMetadata allows custom image metadata to be recorded in state.
const InstanceMutater = "instance-mutater"
InstanceMutater tells juju to use the InstanceMutater watcher for managing profiles on existing machines.
const LegacyLeases = "legacy-leases"
LegacyLeases will switch all lease management to be handled by the Mongo-based lease store, rather than by the Raft FSM.
const LegacyUpstart = "legacy-upstart"
LegacyUpstart is used to indicate that the version-based init system discovery code (service.VersionInitSystem) should return upstart instead of systemd for vivid and newer.
const LogErrorStack = "log-error-stack"
LogErrorStack is a developer feature flag to have the LoggedErrorStack function in the utils package write out the error stack as defined by the errors package to the logger. The ability to log the error stack is very useful in those error cases where you really don't expect there to be a failure. This means that the developers with this flag set will see the stack trace in the log output, but normal deployments never will.
const MongoDbSnap = "mongodb-snap"
MongoDbSnap tells Juju to install MongoDB as a snap, rather than installing it from APT.
const OldPresence = "old-presence"
OldPresence indicates that the old database presence implementation should be used by the API server to determine agent presence. This value is only checked using the controller config "features" attrubite.
const PostNetCLIMVP = "post-net-cli-mvp"
PostNetCLIMVP is used to indicate that additional networking commands will be available in addition to the networking MVP ones (space list|create, subnet list|add).
const StrictMigration = "strict-migration"
StrictMigration will cause migration to error if there are unexported values for annotations, status, status history, or settings.