Skip to content

Commit

Permalink
Remove the response-server-ws-gcloud-key user-registration-server-ws-…
Browse files Browse the repository at this point in the history
…gcloud-key secrets

These aren't needed, as these apps can use the GKE credentials.
See https://cloud.google.com/docs/authentication/production
  • Loading branch information
MartinPetkov committed Apr 16, 2020
1 parent a90169d commit 87f786a
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,3 @@ resource "kubernetes_secret" "cloudsql_instance_credentials" {
}
}

resource "kubernetes_secret" "response_server_ws_gcloud_key" {
metadata {
name = "response-server-ws-gcloud-key"
}
data = {
"key.json" = base64decode(google_service_account_key.gke_cluster_service_account_key.private_key)
}
}

resource "kubernetes_secret" "user_registration_server_ws_gcloud_key" {
metadata {
name = "user-registration-server-ws-gcloud-key"
}
data = {
"key.json" = base64decode(google_service_account_key.gke_cluster_service_account_key.private_key)
}
}

0 comments on commit 87f786a

Please sign in to comment.