Skip to main content
A company rolling Lumovi out to its people’s computers can set what the desktop app does on every one, in a policy only an administrator can write, deployed like any other managed setting: with an MDM, Group Policy, Intune or configuration management. What it sets is locked in the app, which says so. What it leaves out stays each person’s to choose.
The policy sets what Lumovi does. It isn’t a wall against the person using the computer: their kubeconfig’s credentials are theirs, and work with kubectl too. What they may do in a cluster is Kubernetes RBAC’s to say. Use the policy to keep Lumovi from changing what it shouldn’t, by mistake or by an AI assistant, and RBAC to keep people from it.

Where it goes

The policy is JSON, kept where only an administrator can write it: On macOS and Linux, the file and its folder must be root’s, and writable by nobody else: no write permission for the group or others. Where the file is a link, so must the folder of the file it points to. On Windows, only administrators can write under HKEY_LOCAL_MACHINE\SOFTWARE\Policies, which is where Group Policy and Intune put policies. Lumovi reads it as it starts: restart it after a change. Only when nothing is there is there no policy, and nothing locked. Something there that Lumovi can’t read is a policy that can’t be used.
policy.json
Every key is optional. A key Lumovi doesn’t know, or one given twice, isn’t ignored: it makes the policy one that can’t be used.

What it sets

readOnly

true makes every cluster read-only. A list makes those whose kubeconfig context names match read-only: each name whole, with * for any characters, like prod-*. false, or leaving it out, leaves read-only to each person. What it makes read-only can’t be made changeable in Lumovi. The cluster switcher’s Read-only switch is disabled, with the caption “Set by your organization”, the command palette leaves out the read-only command, and the Read-only badge says “Your organization’s policy makes prod-eu read-only.”, without Allow changes. People can still make other clusters read-only themselves. See Read-only mode. A list matches context names, which are each person’s to choose in their kubeconfig: it keeps them from changing those clusters through Lumovi by mistake, not someone who renames a context. true holds whatever the names.

assistants

false turns AI assistants off: Lumovi doesn’t listen for them, and they can’t be turned on. On the AI assistants page, the Connect tab’s switch is disabled, and instead of Turn on, it says “Your organization’s policy turns AI assistants off on this computer.” true, or leaving it out, leaves them to each person, off until they turn them on.

assistantRules

What assistants may do at most, as a list of rules, the same as a server’s LUMOVI_ASSISTANT_RULES: each with a name, the clusters and namespaces it applies to, and what it limits, at least one of visibility: hidden, changes: ask or never, secrets: keys or hidden, env: sensitive or all, and logs: off. People see them first on their Permissions tab, locked, with Set by your administrator, and nothing of theirs loosens them. See What assistants may do. On a computer, clusters have no labels: match them by name or pattern, like prod-*.

updates

false leaves updates to you: Lumovi neither looks for new versions nor installs them, and you deploy each one, as you deployed the first. In the Help menu, Check for Updates… reads Updates Are Set by Your Organization, and both it and Check for Updates Automatically are disabled. A check asked for anyway says “Your organization updates Lumovi”. true, or leaving it out, leaves Lumovi to update itself, as each person sets: see Staying up to date.

kubectl

Whether, and from where, terminals get a kubectl matching their cluster:
  • false: they don’t. Terminals use the kubectl installed on the computer, and View → Match kubectl to Each Cluster is off and disabled.
  • An https URL: a mirror of dl.k8s.io to get it from, laid out the same way (release/stable-1.34.txt, release/v1.34.9/bin/windows/amd64/kubectl.exe, and beside it its .sha256, and, if the mirror keeps them, Kubernetes’ .sig and .cert), for computers that can’t reach dl.k8s.io. Each kubectl is checked against the checksum published beside it, on the mirror. Where the mirror keeps Kubernetes’ signature too, it’s checked against that, and one that doesn’t hold isn’t used. Where it keeps none, the checksum is all there is, and each terminal says so: “artifacts.corp.example.com has no Kubernetes signature for it, so Lumovi checked it against its SHA-256 only.” Mirror the .sig and .cert files too, so it’s checked as dl.k8s.io’s is, and require them with kubectlSignatures. Plain http is taken only on this computer (localhost, 127.0.0.1 or [::1]): elsewhere, the checksum would come over the same plain connection, and both could be changed on the way. It wins over LUMOVI_KUBECTL_MIRROR.
  • true, or leaving it out: from dl.k8s.io, or the mirror LUMOVI_KUBECTL_MIRROR names, unless each person turns it off.

kubectlSignatures

"required" uses a mirror’s kubectl only with Kubernetes’ signature, as dl.k8s.io’s always is: the mirror kubectl names, or LUMOVI_KUBECTL_MIRROR. A kubectl the mirror keeps no .sig and .cert for isn’t used: the terminal uses the newest one of that minor version kept and checked against Kubernetes’ signature, or else the kubectl on the computer, and its first line then says why:
A kubectl taken from a mirror without a signature, checked against its SHA-256 only, isn’t used while the policy requires signatures. It stays kept, and is used again if the key goes. Leaving the key out leaves it to the mirror: where it keeps no signature, the checksum is all there is, and each terminal says so. Anything but "required" makes the policy one that can’t be used, which gets no kubectl at all.

kubeconfigFiles

"locked" keeps Lumovi to the kubeconfig the computer has: the files in KUBECONFIG, or ~/.kube/config. People can’t choose other files, or add any in Lumovi, or folders, or add clusters, and terminals get the same ones. On the start screen, Add cluster gives way to a Managed badge: “Your organization’s policy keeps Lumovi to the kubeconfig in KUBECONFIG or ~/.kube/config, so it can’t add files, folders or clusters.”, with the policy’s file. The kubeconfig files are listed as they are, and nothing in the list can be changed. Files and folders someone chose or added before the policy came, and clusters they added, are kept, but not read: they’re back if the key goes. Leaving it out leaves the files to each person. Anything but "locked" makes the policy one that can’t be used, which locks them too. It decides which files Lumovi reads, not what’s in them: ~/.kube/config is still each person’s to change, and so is a KUBECONFIG they start Lumovi with. "off": Lumovi opens no lumovi:// link, and Copy link isn’t offered. A link handed to Lumovi is let go, with no card, and on Windows Lumovi doesn’t register itself for them. Leaving it out leaves links on.

settings

A person’s own settings, set and locked: Settings shows each with its value and Set by your organization, and it can’t be changed. Any of theme ("system", "light", "dark"), accent ("blue", "cyan", "violet", "graphite"), density ("comfortable", "compact"), textSize (90, 100, 110, 125), timeZone ("local", "UTC" or an IANA zone like "Europe/Budapest"), clock ("system", "12", "24"), terminalFont, terminalFontSize (10 to 24), copyOnSelect (true or false), shell (a full path, or "" for the login shell), namespaces ({ "mode": "last" }, { "mode": "all" }, or { "mode": "named", "namespace": "shop" }), shortcuts and autoUpdate:
shortcuts sets commands’ keys, and locks each command it names, that one alone. Each is a command’s id with up to three keys, like { "palette": ["Mod+P"], "refresh": ["Mod+R", "F5"] }. Keys are written as Mod+Shift+K: Mod (⌘ on a Mac, Ctrl elsewhere), Ctrl, Alt and Shift, in that order, then the key: a capital letter, a digit, F1 to F12, a sign like [ or /, or one of Escape, Enter, Backspace, Delete, Tab, Space, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End, PageUp and PageDown. Keys that Settings would refuse, or that two commands would have where both work, make it unusable, as any value Lumovi doesn’t take does. A value Lumovi doesn’t take, like a shell that isn’t a full path, makes the policy one that can’t be used. Leaving a setting out leaves it to each person.

metricsStack

false turns Lumovi’s metrics stack off: where a cluster has no usage history, Lumovi doesn’t offer to install one, and it refuses to install or remove one. A stack that’s already installed keeps running, and Lumovi keeps charting from it. true, or leaving it out, leaves it to each person and their cluster’s RBAC.

fileCopy

false turns copying files to and from containers off: Lumovi refuses every copy, saying “Copying files is turned off here. Your organization’s policy turns it off (fileCopy).” A whole number sets the most one copy carries, in bytes, in place of 2 GiB: 1073741824 is 1 GiB. Either wins over LUMOVI_FILE_COPY_MAX_BYTES in a person’s environment. Anything else is a mistake in the file.

plugins

What plugins there are:
  • "off": none. Neither the plugins Lumovi comes with nor anyone’s own: the sidebar has Lumovi’s own pages only.
  • "bundled": only the plugins Lumovi comes with. A person’s own, in ~/.lumovi/plugins, aren’t read, and none is installed from Lumovi-plugins: “Your organization’s policy allows only the plugins that come with Lumovi.”
  • "no-code": plugins as data, their kinds, views and actions, with none of their code. Pages a plugin’s code draws say “Your organization’s policy doesn’t let plugins run code.”, and each plugin’s Run its code is off and locked, with Turned off by your organization’s policy. Where Lumovi has an overview of its own, as for Karpenter, that’s shown instead.
  • ["bundled", "no-code"]: both.
Leaving it out leaves plugins to each person. "off" and "bundled" also turn off checking for newer plugins.

pluginsAllowed

A list of plugins’ names, like ["karpenter", "argo-cd"]: only these are there, whether Lumovi’s own, installed, or a person’s. Any other isn’t listed, nor used, and All plugins says “Your organization’s policy allows only some plugins here: the others aren’t shown.” Each plugin’s name is in Included plugins, after its label. A name with a version, like "argo-cd@1.2.0", allows only that version of it. Any other version of it, Lumovi’s own included, isn’t there, and installing or updating to one is refused: “Your organization’s policy doesn’t allow this version.”

pluginProposals

"off": no plugin’s page may propose a change. Where one does, no dialog opens, and a note says “Your organization’s policy doesn’t let plugins propose changes.” A plugin whose pages would isn’t installed or updated. The actions a plugin’s file spells out stay, with their usual confirmations.

pluginSecrets

"off": no plugin shows what’s in a Secret, even where its file names the keys it shows: Lumovi reads nothing of the Secret for it, and says “Your organization’s policy doesn’t let plugins show what’s in Secrets.” A plugin that would isn’t installed or updated.

pluginLogs

"off": no plugin’s page may show containers’ logs, and no plugin’s code may read them. Where one would, it says “Your organization’s policy doesn’t let plugins show or read containers’ logs.”, and Lumovi reads none for it. A plugin whose pages show logs isn’t installed or updated: “Your organization’s policy doesn’t let plugins show or read containers’ logs, and this one would.” All plugins says so under the plugin’s logs line: “Turned off by your organization’s policy (pluginLogs: off): Lumovi reads no logs for it.”

pluginServers

"off": no plugin may talk to a server in the cluster. Where one would, its page is told “Your organization’s policy doesn’t let plugins talk to servers in the cluster.”, and Lumovi asks no server for it. All plugins says so under the plugin’s server line: “Turned off by your organization’s policy (pluginServers: off): Lumovi asks no server for it.” A plugin that would isn’t installed or updated.

pluginDeveloperMode

"off": Developer mode stays off, so no plugin of a person’s own runs code. Its switch is locked, with “Turned off by your organization’s policy.”, and as Lumovi starts, it lets go of what the person agreed to run: once Developer mode is allowed again, each plugin waits for them from the start. plugins set to "bundled", "off" or "no-code" keep it off too, and so does a policy that can’t be used.

pluginStore

"off": Lumovi doesn’t check Lumovi-plugins for newer plugins, asks GitHub nothing for it, and so installs and updates none. All plugins says “Your organization’s policy turns off checking for newer plugins.”

network

The proxy and certificate authorities Lumovi’s own connections use, instead of what each person’s shell says:
  • proxy: the proxy’s URL, http:// or https://, with credentials in it if it wants them. It’s used for https and http addresses alike, whatever HTTPS_PROXY and HTTP_PROXY say, and passed on to helm and credential plugins. Looking for new versions goes through it too, with its credentials.
  • noProxy: what’s reached directly, as NO_PROXY: names, with what’s under them (.corp.example.com), and addresses, each with a port or without. Not ranges. It replaces the shell’s.
  • caFiles: files of certificate authorities, as PEM, to trust besides the system’s: the one a proxy that inspects HTTPS signs with, if it isn’t in the system’s certificates already. Looking for new versions trusts only the system’s.
A cluster with proxy-url in its kubeconfig still goes through that one, and localhost never goes through a proxy. See Proxies and certificates. A certificate authority file that can’t be read doesn’t stop Lumovi: it leaves that file out, trusts the others, and says so as it starts, in a notice titled “Lumovi started without something it was given”. Put the files where every account can read them.

Deploy it

Make the folder, then copy the file into it, both root’s and writable by nobody else:
With an MDM, deploy the same with a script or a package that installs it there, with that owner and mode.

Try one out

To try a policy on a computer that has none, point LUMOVI_POLICY at a file of your own, and start Lumovi from a terminal:
The file needn’t be root’s. Where IT’s policy is set, that one is used, and LUMOVI_POLICY is ignored: nobody can put one of their own in its place.

When it can’t be used

A policy Lumovi can’t use locks the most it could, until it’s put right: every cluster read-only, AI assistants off, no kubectl got to match a cluster (terminals use the one installed, and View → Match kubectl to Each Cluster is off, and locked), the kubeconfig kept to the files in KUBECONFIG, or ~/.kube/config, as kubeconfigFiles keeps it, and no plugins. As Lumovi starts, a notice says so, titled “Lumovi started without something it was given”, and the Read-only badge says why too, like:
What it can say after can't be used::

What stays each person’s

The policy locks only what it sets, and only while it’s there. Lumovi shows what it sets, but doesn’t save it over anyone’s settings: a person’s own choices, like AI assistants on, automatic updates or the kubeconfig files they chose or added, are back if the policy goes. Everything else, like the theme, the clusters they make read-only themselves, and their own AI permissions within the policy’s rules, stays theirs. Beyond which kubectl they get, and how it’s checked, the policy doesn’t reach terminals, which are each person’s own shell: read-only doesn’t apply to what they run there.

Proxies and certificates

How the desktop app reaches clusters behind a proxy.

Read-only mode

What read-only turns off, for one cluster or every one.