This plugin allows you to add environment variables to your run configuration from a k8s cluster. It uses the current context from $KUBECONFIG
or $HOME/.kube/config
file.
It supports several modes:
- Configmap and secrets - fetch variables from multiple configmap and/or secrets
- Pod environment - fetch all environment variables from the selected pod
- Pod Vault environment - fetch all Vault environment variables from the selected pod.
Also, you can replace your variable values using regexp.
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Kubernetes Run Configuration Env" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Copyright (c) 2024 Sviatoslav Sharaev. See the LICENSE file for license rights and limitations (MIT).