kodekloudhub / php-vault-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:PHP 98.1%Language:Dockerfile 1.9%