This example uses Terraform to deploy the SecretHub Demo App on a GKE cluster and provision it with the secrets it needs using the SecretHub GCP Identity Provider.
- Terraform installed along with the SecretHub Provider
- Correctly configured GCP Credentials
- Values assigned to the variables in variables.tf
To deploy the app on your cluster, run:
terraform init
terraform apply
After launching it, forward the port to your local machine using kubectl
:
kubectl port-forward deployment/demo-app 8080
To see the app running, visit http://127.0.0.1:8080.