secrets-store-csi-driver-provider-infisical

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 12 Imported by: 0

README

secrets-store-csi-driver-provider-infisical

Helm charts

Unofficial Infisical provider for the Secret Store CSI Driver.

Install

  1. Prepare a Kubernetes Cluser running Secret Store SCI Driver
  2. Install Infisical secret proivder
    • If you can use HELM:
      helm install secrets-store-csi-driver-provider-infisical charts/secrets-store-csi-driver-provider-infisical
      
    • If you want to use kubectl (Using HELM is recommended, as some features are excluded from ./deployment):
      kubectl apply -f ./deployment/infisical-csi-provider.yaml
      

Usage

  1. Create a new Infisical client using Universal Auth
  2. Store the Client ID and the Client Secret to a Kubernetes Secret as client-id key and client-secret key respectively
    # You can create a secret using the following command or applying `./examples/secret.yaml` after it is edited
    kubectl create secret generic infisical-secret-provider-auth-credentials --from-literal="client-id=$id" --from-literal="client-secret=$secret"
    
  3. Create an SecretProviderClass referencing the secret
    # You should edit secretproviderclass.yaml to get secrets from provider
    kubectl apply -f ./examples/secretproviderclass.yaml
    
  4. Create an Pod using the SecretProviderClass
    # This deployment lists and reads all secrets, then output logs of their contents
    kubectl apply -f ./examples/deployment.yaml
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
mock_auth
Package mock_auth is a generated GoMock package.
Package mock_auth is a generated GoMock package.
mock_provider
Package mock_provider is a generated GoMock package.
Package mock_provider is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL