Skip to content

Instantly share code, notes, and snippets.

View talalUcef's full-sized avatar

talalUcef talalUcef

View GitHub Profile
injector:
# True if you want to enable vault agent injection.
enabled: "false"
server:
# Affinity Settings
# Commenting out or setting as empty the affinity variable, will allow
# deployment to single node services such as Minikube
affinity: null
@talalUcef
talalUcef / install-hashicorp-vault-on-kubernetes-locally-with-postgresql-as-the-back-end-storage.md
Last active May 6, 2025 20:20
Install HashiCorp Vault on Kubernetes locally with PostgreSQL as the back-end storage

Install Hashicorp Vault official helm chart on minikube/Docker Desktop Kubernetes with PostgreSQL as a backend

Hashicorp Vault is a well-known secrets management solution that supports many technologies like Kubernetes and databases. Vault also supports many storage backends like Consul and PostgreSQL.

In this post, we will install Vault on a local Kubernetes cluster with a PostgreSQL backend storage, so to do that, we will first install PostgreSQL and pgAdmin and show how to install and configure Vault locally at the end.

Install PostgreSQL

If you don't have a running Postgres instance, install Postgres chart :

https://gist.github.com/b9a7385bcfdcb222edafcc13fcb20f65