From a8ddabafbbfb757733647675f60f62f613333292 Mon Sep 17 00:00:00 2001 From: Jan Max Tiedemann Date: Mon, 23 Sep 2024 00:23:51 +0200 Subject: [PATCH] fix: dont use permissions --- actions/load-secret-from-gsm/action.yaml | 4 ---- docs/actions/load-secret-from-gsm/README.md | 20 -------------------- 2 files changed, 24 deletions(-) diff --git a/actions/load-secret-from-gsm/action.yaml b/actions/load-secret-from-gsm/action.yaml index 89730975d..4cf203697 100644 --- a/actions/load-secret-from-gsm/action.yaml +++ b/actions/load-secret-from-gsm/action.yaml @@ -5,7 +5,6 @@ inputs: description: "GKE service account key for authentication" default: "wid-dummy-test-account@gcp-bakdata-cluster.iam.gserviceaccount.com" required: true - gke-project-name: description: "GKE project name for authentication" required: true gke-project-id: @@ -24,9 +23,6 @@ outputs: value: ${{ steps.secrets.outputs.secrets }} runs: using: "composite" - permissions: - contents: "read" - id-token: "write" steps: - name: Authenticate at GCloud uses: "google-github-actions/auth@v2" diff --git a/docs/actions/load-secret-from-gsm/README.md b/docs/actions/load-secret-from-gsm/README.md index 61dd8c6b2..947db7283 100644 --- a/docs/actions/load-secret-from-gsm/README.md +++ b/docs/actions/load-secret-from-gsm/README.md @@ -18,26 +18,6 @@ steps: ### Inputs - - -| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | -| --------------------- | ------ | -------- | ---------------------------------------------------------------------- | ------------------------------------------ | -| export-to-environment | string | false | `"true"` | Export secrets to environment | -| gke-project-id | string | true | | GKE project ID for authentication | -| gke-project-name | string | true | | GKE project name for authentication | -| gke-service-account | string | true | `"wid-dummy-test-account@gcp-bakdata-cluster.iam.gserviceaccount.com"` | GKE service account key for authentication | -| secrets-to-inject | string | true | | Secrets to inject into the environment | - - - ### Outputs - - -| OUTPUT | TYPE | DESCRIPTION | -| ------- | ------ | ---------------------------------- | -| secrets | string | Secrets loaded from Secret Manager | - - - ### Secrets