#gcp (2023-03)

Google Cloud Platform

2023-03-05

2023-03-06

2023-03-08

DaniC (he/him) avatar
DaniC (he/him)

fyi for folks who may use TFC on GCP, here is an implementation based on OIDC https://medium.com/google-cloud/terraform-cloud-enterprise-and-gcp-workload-identity-federation-fbb84a3dfbeb

Terraform Cloud/Enterprise and GCP Workload Identity Federationattachment image

Note: this article has been updated, and the initial article was based primarily on integration of GCP Workload Identity and Terraform…

DaniC (he/him) avatar
DaniC (he/him)

similar works for other cloud providers though

Terraform Cloud/Enterprise and GCP Workload Identity Federationattachment image

Note: this article has been updated, and the initial article was based primarily on integration of GCP Workload Identity and Terraform…

2023-03-13

timduhenchanter avatar
timduhenchanter

Does anyone have a working example of creating a ComputeDisk with GCP ConfigConnector and then creating a VolumeClaim with that disk? Or even just an annotation to set a GCP snapshot schedule (not K8S VolumeSnapshot) on a PV?

The purpose. I want to create a snapshot schedule for the persistent disk without using any 3rd party tools. Previously, I have created the PV and then created the schedule against the generated disk with gcloud but I would really like a more full featured implementation.

timduhenchanter avatar
timduhenchanter

I asked this after well over an hour of failed Googling but I think I found an answer right after (gcePersistentDisk) as part of the PV definition: https://stackoverflow.com/questions/66598748/gke-how-to-use-existing-compute-engine-disk-as-persistent-volumes

1
    keyboard_arrow_up