Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bootstrap-gcp): add variable to allow gke to pull image from container registry #598

Merged
merged 2 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bootstrap/terraform/gcp-bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module "gke" {
release_channel = var.release_channel
regional = var.regional_cluster
zones = var.cluster_zones
grant_registry_access = var.grant_registry_access

node_pools = var.node_pools

Expand Down
8 changes: 7 additions & 1 deletion bootstrap/terraform/gcp-bootstrap/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -348,4 +348,10 @@ variable "cluster_zones" {
type = list(string)
description = "The zones to host the cluster in (optional if regional cluster / required if zonal)"
default = []
}
}

variable "grant_registry_access" {
type = bool
description = "Grants created cluster-specific service account storage.objectViewer and artifactregistry.reader roles."
default = false
}