Skip to content

Commit

Permalink
fix secret paths
Browse files Browse the repository at this point in the history
  • Loading branch information
AgnesToulet committed Oct 8, 2024
1 parent 59deec4 commit 49c6e20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -489,19 +489,19 @@ name: gcr
---
get:
name: app-id
path: ci/repo/grafana/grafana-image-renderer/github-app
path: secret/data/ci/repo/grafana/grafana-image-renderer/github-app
kind: secret
name: github_app_id
---
get:
name: private-key
path: ci/repo/grafana/grafana-image-renderer/github-app
path: secret/data/ci/repo/grafana/grafana-image-renderer/github-app
kind: secret
name: github_app_private_key
---
get:
name: app-installation-id
path: ci/repo/grafana/grafana-image-renderer/github-app
path: secret/data/ci/repo/grafana/grafana-image-renderer/github-app
kind: secret
name: github_app_installation_id
---
Expand Down Expand Up @@ -530,6 +530,6 @@ kind: secret
name: gar
---
kind: signature
hmac: e144331781cee221dacb123af3261dbcf1c349bc43ff7780ddca8aeb3a29c16d
hmac: 2f10246e229680a0f7a8f8c45d5dbe162ea2d36dd5fde0a8721060ca88883787

...
6 changes: 3 additions & 3 deletions scripts/drone/vault.star
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def vault_secret(name, path, key):
def secrets():
return [
vault_secret(gcr_pull_secret, 'secret/data/common/gcr', '.dockerconfigjson'),
vault_secret('github_app_id', 'ci/repo/grafana/grafana-image-renderer/github-app', 'app-id'),
vault_secret('github_app_private_key', 'ci/repo/grafana/grafana-image-renderer/github-app', 'private-key'),
vault_secret('github_app_installation_id', 'ci/repo/grafana/grafana-image-renderer/github-app', 'app-installation-id'),
vault_secret('github_app_id', 'secret/data/ci/repo/grafana/grafana-image-renderer/github-app', 'app-id'),
vault_secret('github_app_private_key', 'secret/data/ci/repo/grafana/grafana-image-renderer/github-app', 'private-key'),
vault_secret('github_app_installation_id', 'secret/data/ci/repo/grafana/grafana-image-renderer/github-app', 'app-installation-id'),
vault_secret('gcom_publish_token', 'infra/data/ci/drone-plugins', 'gcom_publish_token'),
vault_secret('grafana_api_key', 'infra/data/ci/drone-plugins', 'grafana_api_key'),
vault_secret('srcclr_api_token', 'infra/data/ci/drone-plugins', 'srcclr_api_token'),
Expand Down

0 comments on commit 49c6e20

Please sign in to comment.