[Self-solved issue] Pulling images from gcr.io
dalekurt opened this issue · comments
@sethvargo I'm using my private gcr.io to host vault-enterprise and my GKE cluster will need to pull images from GCR so, I updated the service_account_iam_roles
in the variables.tf
file to include the roles/storage.objectViewer
which allows the GKE cluster to pull images stored on gcr.io.
variable "service_account_iam_roles" {
type = "list"
default = [
"roles/logging.logWriter",
"roles/monitoring.metricWriter",
"roles/monitoring.viewer",
"roles/storage.objectViewer",
]
}
That solved my issue of pulling images stored in gcr.io. This is just for the benefit of others.
Hi there. I don’t think this is the correct repo for this issue as there’s no terraform in this repo.