Skip to main content
  • Name: Kubernetes Secrets
  • Category: Secret manager

Configuration

Configu needs to be authorized to access your Kubernetes Secret instance. By default, Configu attempts to load the default kubeconfig credentials via the KUBECONFIG environment variable. You can manually provide credentials via a kubeconfig file via the kubeconfig parameter. The namespace parameter must always be provided.

Usage

.configu store declaration

CLI examples

Upsert command

Eval and export commands

Common errors and solutions

  1. Cluster Access Issues
    • Solution: Ensure that the kubeconfig path is correct and that your user or service account has access to the cluster. Test connectivity with:
  2. Insufficient Permissions
    • Solution: Make sure your account has GET, CREATE, and UPDATE permissions for secrets. Use the following command to grant access:
  3. Namespace Not Found
    • Solution: Verify that the specified namespace exists by listing all available namespaces:
  4. Secret Access Errors
    • Solution: Check that the target secret exists and the user has proper access permissions. Use:

References