Socket
Socket
Sign inDemoInstall

@helm-charts/appscode-csi-vault

Package Overview
Dependencies
1
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @helm-charts/appscode-csi-vault

HashiCorp Vault CSI Driver for Kubernetes


Version published
Maintainers
2
Created

Readme

Source

@helm-charts/appscode-csi-vault

HashiCorp Vault CSI Driver for Kubernetes

FieldValue
Repository Nameappscode
Chart Namecsi-vault
Chart Version0.2.0
NPM Package Version0.1.0
Helm chart `values.yaml` (default values)
# Default values for chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

attacher:
  name: attacher
  registry: quay.io/k8scsi
  repository: csi-attacher
  tag: v1.0.1
  pullPolicy: IfNotPresent
plugin:
  name: plugin
  registry: kubevault
  repository: csi-vault
  tag: 0.2.0
  pullPolicy: Always
provisioner:
  name: provisioner
  registry: quay.io/k8scsi
  repository: csi-provisioner
  tag: v1.0.1
  pullPolicy: IfNotPresent
clusterRegistrar:
  name: cluster-registrar
  registry: quay.io/k8scsi
  repository: csi-cluster-driver-registrar
  tag: v1.0.1
  pullPolicy: IfNotPresent
nodeRegistrar:
  name: node-registrar
  registry: quay.io/k8scsi
  repository: csi-node-driver-registrar
  tag: v1.0.1
  pullPolicy: IfNotPresent

controllerPlugin:
  name: controller

nodePlugin:
  name: node

logLevel: 3

## Annotations passed to operator pod(s).
##
annotations: {}

nameOverride: ''
fullnameOverride: ''

driverName: secrets.csi.kubevault.com
pluginAddress: /var/lib/csi/sockets/pluginproxy/csi.sock
pluginDir: /var/lib/csi/sockets/pluginproxy/

attachRequired: false

## Install AppBinding CRD
appbinding:
  # Specifies whether AppBinding CRD should be created
  create: true

## Installs pods as critical addon
## https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
criticalAddon: true

resources:
  {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #  cpu: 100m
  #  memory: 128Mi
  # requests:
  #  cpu: 100m
  #  memory: 128Mi

## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}

## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: {}

## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}

## Install Default RBAC roles and bindings
rbac:
  # Specifies whether RBAC resources should be created
  create: true

apiserver:
  # If true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522 (default true)
  useKubeapiserverFqdnForAks: true
  # healthcheck configures the readiness and liveliness probes for the operator pod.
  healthcheck:
    enabled: true

# Send usage events to Google Analytics
enableAnalytics: true

monitoring:
  # specify monitoring agent (either "prometheus.io/builtin" or "prometheus.io/coreos-operator")
  agent: 'none'
  # specify whether to monitor Vault CSI driver node plugin
  node: false
  # specify whether to monitor Vault CSI driver controller plugin
  controller: false
  # specify where ServiceMonitor crd will be created
  prometheus:
    namespace: ''
  serviceMonitor:
    labels: {}

CSI Vault

CSI Driver for Vault by AppsCode

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install appscode/csi-vault --name csi-vault --namespace kube-system

Introduction

This chart bootstraps a Vault CSI Driver on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes v1.13+
  • --allow-privileged flag must be set to true for both the API server and the kubelet
  • (If you use Docker) The Docker daemon of the cluster nodes must allow shared mounts
  • Pre-installed HashiCorp Vault server.
  • Pass --feature-gates=CSIDriverRegistry=true,CSINodeInfo=true to kubelet and kube-apiserver

Installing the Chart

To install the chart with the release name csi-vault

$ helm install appscode/csi-vault --name csi-vault

This command deploys CSI Driver for Vault on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the csi-vault:

$ helm delete csi-vault

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Stash chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of Vault operator replicas to create (only 1 is supported)1
attacher.nameName of the attacher componentattacher
attacher.registryDocker registry used to pull CSI attacher imagequay.io/k8scsi
attacher.repositoryCSI attacher container imagecsi-attacher
attacher.tagCSI attacher container image tagv1.0.1
attacher.pullPolicyCSI attacher container image pull policyIfNotPresent
plugin.nameName of the plugin componentplugin
plugin.registryDocker registry used to pull Vault CSI driver imagekubevault
plugin.repositoryVault CSI driver container imagecsi-vault
plugin.tagVault CSI driver container image tag0.2.0
plugin.pullPolicyVault CSI driver container image pull policyIfNotPresent
provisioner.nameName of the provisioner componentprovisioner
provisioner.registryDocker registry used to pull CSI provisioner imagequay.io/k8scsi
provisioner.repositoryCSI provisioner container imagecsi-provisioner
provisioner.tagCSI provisioner container image tagv1.0.1
provisioner.pullPolicyCSI provisioner container image pull policyIfNotPresent
clusterRegistrar.registryDocker registry used to pull CSI driver cluster registrar imagequay.io/k8scsi
clusterRregistrar.repositoryCSI driver cluster registrar container imagecsi-cluster-driver-registrar
clusterRregistrar.tagCSI driver cluster registrar container image tagv1.0.1
clusterRregistrar.pullPolicyCSI driver cluster registrar container image pull policyIfNotPresent
nodeRegistrar.registryDocker registry used to pull CSI driver node registrar imagequay.io/k8scsi
nodeRregistrar.repositoryCSI driver node registrar container imagecsi-node-driver-registrar
nodeRregistrar.tagCSI driver node registrar container image tagv1.0.1
nodeRregistrar.pullPolicyCSI driver node registrar container image pull policyIfNotPresent
driverNameVault CSI driver namecom.kubevault.csi.secrets
pluginAddressVault CSI driver endpoint address/var/lib/csi/sockets/pluginproxy/csi.sock
pluginDirVault CSI driver plugin directory/var/lib/csi/sockets/pluginproxy/
attachRequiredIndicates CSI volume driver requires an attach operationfalse
appbinding.createIf true, AppBinding CRD will be createdtrue
imagePullSecretsSpecify image pull secretsnil (does not add image pull secrets to deployed pods)
criticalAddonIf true, installs Vault CSI driver as critical addonfalse
logLevelLog level for CSI driver3
affinityAffinity rules for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations used pod assignment{}
apiserver.useKubeapiserverFqdnForAksIf true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522true
apiserver.healthcheck.enabledEnable readiness and liveliness probestrue
enableAnalyticsSend usage events to Google Analyticstrue
monitoring.agentSpecify which monitoring agent to use for monitoring Vault. It accepts either prometheus.io/builtin or prometheus.io/coreos-operator.none
monitoring.nodeSpecify whether to monitor Vault CSI driver node plugin.false
monitoring.controllerSpecify whether to monitor Vault CSI driver controllerplugin.false
monitoring.prometheus.namespaceSpecify the namespace where Prometheus server is running or will be deployed.Release namespace
monitoring.serviceMonitor.labelsSpecify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is prometheus.io/coreos-operator.app: <generated app name> and release: <release name>

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:

$ helm install --name csi-vault --set plugin.tag=v0.2.0 appscode/csi-vault

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:

$ helm install --name csi-vault --values values.yaml appscode/csi-vault

FAQs

Last updated on 22 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc