-
Notifications
You must be signed in to change notification settings - Fork 15
Use GKE workload identity federation in composer #4023
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
base: main
Are you sure you want to change the base?
Conversation
Terraform plan in iac/cal-itp-data-infra-staging/airflow/us Plan: 0 to add, 3 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# google_storage_bucket_object.calitp-staging-composer["dags/publish_open_data/publish_california_open_data.yml"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-staging-composer" {
!~ crc32c = "Wx+C0A==" -> (known after apply)
!~ detect_md5hash = "Dmn2ccrjkUs7GTsL5zO+rw==" -> "different hash"
!~ generation = 1751416049286660 -> (known after apply)
id = "calitp-staging-composer-dags/publish_open_data/publish_california_open_data.yml"
!~ md5hash = "Dmn2ccrjkUs7GTsL5zO+rw==" -> (known after apply)
name = "dags/publish_open_data/publish_california_open_data.yml"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-staging-composer["dags/unzip_and_validate_gtfs_schedule_hourly/validate_gtfs_schedule.yml"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-staging-composer" {
!~ crc32c = "WAOTIw==" -> (known after apply)
!~ detect_md5hash = "Q2KZHpa145QxEt0qrMVrvQ==" -> "different hash"
!~ generation = 1751929677147947 -> (known after apply)
id = "calitp-staging-composer-dags/unzip_and_validate_gtfs_schedule_hourly/validate_gtfs_schedule.yml"
!~ md5hash = "Q2KZHpa145QxEt0qrMVrvQ==" -> (known after apply)
name = "dags/unzip_and_validate_gtfs_schedule_hourly/validate_gtfs_schedule.yml"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-staging-composer-dags["profiles.yml"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-staging-composer-dags" {
!~ crc32c = "fcYfVw==" -> (known after apply)
!~ detect_md5hash = "8XK0sntGMFxIy7Ve/HuJzg==" -> "different hash"
!~ generation = 1749663111897003 -> (known after apply)
id = "calitp-staging-composer-data/warehouse/profiles.yml"
!~ md5hash = "8XK0sntGMFxIy7Ve/HuJzg==" -> (known after apply)
name = "data/warehouse/profiles.yml"
# (17 unchanged attributes hidden)
}
Plan: 0 to add, 3 to change, 0 to destroy. 📝 Plan generated in Plan Terraform for Warehouse and DAG changes #724 |
Terraform plan in iac/cal-itp-data-infra/airflow/us Plan: 0 to add, 3 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# google_storage_bucket_object.calitp-composer["dags/publish_open_data/publish_california_open_data.yml"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer" {
!~ crc32c = "Wx+C0A==" -> (known after apply)
!~ detect_md5hash = "Dmn2ccrjkUs7GTsL5zO+rw==" -> "different hash"
!~ generation = 1751416675383240 -> (known after apply)
id = "calitp-composer-dags/publish_open_data/publish_california_open_data.yml"
!~ md5hash = "Dmn2ccrjkUs7GTsL5zO+rw==" -> (known after apply)
name = "dags/publish_open_data/publish_california_open_data.yml"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-composer["dags/unzip_and_validate_gtfs_schedule_hourly/validate_gtfs_schedule.yml"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer" {
!~ crc32c = "WAOTIw==" -> (known after apply)
!~ detect_md5hash = "Q2KZHpa145QxEt0qrMVrvQ==" -> "different hash"
!~ generation = 1751416672802943 -> (known after apply)
id = "calitp-composer-dags/unzip_and_validate_gtfs_schedule_hourly/validate_gtfs_schedule.yml"
!~ md5hash = "Q2KZHpa145QxEt0qrMVrvQ==" -> (known after apply)
name = "dags/unzip_and_validate_gtfs_schedule_hourly/validate_gtfs_schedule.yml"
# (17 unchanged attributes hidden)
}
# google_storage_bucket_object.calitp-composer-dags["profiles.yml"] will be updated in-place
!~ resource "google_storage_bucket_object" "calitp-composer-dags" {
!~ crc32c = "fcYfVw==" -> (known after apply)
!~ detect_md5hash = "8XK0sntGMFxIy7Ve/HuJzg==" -> "different hash"
!~ generation = 1751416670054928 -> (known after apply)
id = "calitp-composer-data/warehouse/profiles.yml"
!~ md5hash = "8XK0sntGMFxIy7Ve/HuJzg==" -> (known after apply)
name = "data/warehouse/profiles.yml"
# (17 unchanged attributes hidden)
}
Plan: 0 to add, 3 to change, 0 to destroy. 📝 Plan generated in Plan Terraform for Warehouse and DAG changes #724 |
fc07b7a
to
b52c9e8
Compare
Terraform plan in iac/cal-itp-data-infra-staging/composer/us Plan: 0 to add, 1 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# kubernetes_secret.composer will be updated in-place
!~ resource "kubernetes_secret" "composer" {
!~ data = (sensitive value)
id = "airflow-jobs/jobs-data"
# (5 unchanged attributes hidden)
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. 📝 Plan generated in Terraform Plan #556 |
b52c9e8
to
63ae226
Compare
63ae226
to
86dae11
Compare
Terraform plan in iac/cal-itp-data-infra/composer/us Plan: 0 to add, 1 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# kubernetes_secret.composer will be updated in-place
!~ resource "kubernetes_secret" "composer" {
!~ data = (sensitive value)
id = "airflow-jobs/jobs-data"
# (5 unchanged attributes hidden)
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. 📝 Plan generated in Terraform Plan #556 |
dd95d59
to
b60e119
Compare
3b09d73
to
72cdba4
Compare
75c403d
to
8f4034c
Compare
80f2403
to
f79fbf0
Compare
f79fbf0
to
46909fa
Compare
46909fa
to
02dd0af
Compare
02dd0af
to
37c675b
Compare
37c675b
to
ab40722
Compare
Description
This PR proposes to stop passing service_account.json as a secret, and instead rely on GKE workload identity federation, just like we do for Github Actions.
Relates to #3780
Type of change
How has this been tested?
terraform plan
and test runs on stagingPost-merge follow-ups
Remove
service_acount.json
/service-account.json
from thejobs-data
Kubernetes secret.