You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/administrator.md
+80-3Lines changed: 80 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -993,7 +993,81 @@ with `USE_WALG_BACKUP: "true"`.
993
993
994
994
### Google Cloud Platform setup
995
995
996
-
To configure the operator on GCP these prerequisites that are needed:
996
+
When using GCP, there are two authentication methods to allow the postgres
997
+
cluster to access buckets to write WAL-E logs: Workload Identity (recommended)
998
+
or using a GCP Service Account Key (legacy).
999
+
1000
+
#### Workload Identity setup
1001
+
1002
+
To configure the operator on GCP using Workload Identity these prerequisites are
1003
+
needed.
1004
+
1005
+
*[Workload Identity](https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity) enabled on the GKE cluster where the operator will be deployed
1006
+
* A GCP service account with the proper IAM setup to access the GCS bucket for the WAL-E logs
1007
+
* An IAM policy granting the Kubernetes service account the
1008
+
`roles/iam.workloadIdentityUser` role on the GCP service account, e.g.:
1009
+
```bash
1010
+
gcloud iam service-accounts add-iam-policy-binding <GCP_SERVICE_ACCOUNT_NAME>@<GCP_PROJECT_ID>.iam.gserviceaccount.com \
0 commit comments