kubevault-webhook-server

by AppsCode Inc.

Helm chartv0.27.0App v0.27.0Verified publisher

KubeVault Webhook Server by AppsCode

About this chart

KubeVault Webhook Server

KubeVault Webhook Server by AppsCode - Kubernetes webhooks for KubeVault by AppsCode

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubevault-webhook-server --version=v0.27.0
$ helm upgrade -i kubevault-webhook-server appscode/kubevault-webhook-server -n kubevault --create-namespace --version=v0.27.0

Introduction

This chart deploys a KubeVault webhook server on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.16+

Installing the Chart

To install/upgrade the chart with the release name kubevault-webhook-server:

$ helm upgrade -i kubevault-webhook-server appscode/kubevault-webhook-server -n kubevault --create-namespace --version=v0.27.0

The command deploys a KubeVault webhook server 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 the kubevault-webhook-server:

$ helm uninstall kubevault-webhook-server -n kubevault

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 kubevault-webhook-server chart and their default values.

ParameterDescriptionDefault
nameOverrideOverrides name template""
fullnameOverrideOverrides fullname template""
replicaCountNumber of KubeVault webhook server replicas to create (only 1 is supported)1
registryFQDNDocker registry fqdn used to pull docker images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image}ghcr.io
server.registryDocker registry used to pull KubeVault webhook server imagekubevault
server.repositoryKubeVault webhook server container imagevault-operator
server.tagKubeVault webhook server container image tag""
server.securityContextSecurity options this container should run with{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}
server.resourcesCompute Resources required by the webhook server container{}
imagePullSecretsSpecify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/kubevault-webhook-server \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1[]
imagePullPolicyContainer image pull policyIfNotPresent
criticalAddonIf true, installs KubeVault operator as critical addonfalse
priorityClassNamePriorityClassName for the operator""
logLevelLog level for webhook server3
featureGates.Druidfalse
featureGates.Elasticsearchfalse
featureGates.Etcdfalse
featureGates.HanaDBfalse
featureGates.Ignitefalse
featureGates.Kafkafalse
featureGates.MariaDBfalse
featureGates.Milvusfalse
featureGates.MongoDBfalse
featureGates.MSSQLServer

Deploy kubevault-webhook-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubevault-webhook-server on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubevault-webhook-server is pinned at v0.27.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply