Skip to content

Commit

Permalink
enable workloadidentity on gke cluster (#45)
Browse files Browse the repository at this point in the history
* enable workloadidentity on gke cluster

* get project

* make workloadIdentityConfig list
  • Loading branch information
markandersontrocme authored May 29, 2024
1 parent a4f90cf commit 87c8e11
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apis/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@ spec:
- fromFieldPath: status.atProvider.project
toFieldPath: status.gke.project
type: ToCompositeFieldPath
- fromFieldPath: status.gke.project
toFieldPath: spec.forProvider.workloadIdentityConfig[0].workloadPool
type: FromCompositeFieldPath
transforms:
- type: string
string:
fmt: '%s.svc.id.goog'
type: Format

- name: node-pool
base:
Expand Down

0 comments on commit 87c8e11

Please sign in to comment.