Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Latest commit

 

History

History

gke

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

GKE + SecretHub


View Docs


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.

Prerequisites

  1. Terraform installed along with the SecretHub Provider
  2. Correctly configured GCP Credentials
  3. Values assigned to the variables in variables.tf

Running the example

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.