Skip to content

Commit

Permalink
try to fix secret path
Browse files Browse the repository at this point in the history
  • Loading branch information
AgnesToulet committed Oct 10, 2024
1 parent 9c05e87 commit cb20236
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: ci/data/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: ci/data/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: ci/data/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: e7f5ecbd0a068575bbbca6380fa74ac0cfee3a7fff8f58e473e217e9a54e7ab1

...
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', 'ci/data/repo/grafana/grafana-image-renderer/github-app', 'app-id'),
vault_secret('github_app_private_key', 'ci/data/repo/grafana/grafana-image-renderer/github-app', 'private-key'),
vault_secret('github_app_installation_id', 'ci/data/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 cb20236

Please sign in to comment.