Skip to content

cloudboyd/php-vault-example

 
 

Repository files navigation

php-vault-example

This example is used to showcase Kubernetes Hashicorp Vault Secrets injections.

Clone this repo

git clone https://github.com/sidd-harth/php-vault-example.git

Build PHP Docker Image

docker build -t php:vault .

Update Image in php-app-k8s-deploy.yaml and run

kubectl apply -f php-app-k8s-deploy.yaml

image

Patching the Deployment with Vault Annotations

kubectl patch deploy php -p "$(cat patch-annotations-template.yaml)"

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.1%
  • Dockerfile 1.9%