diff --git a/app-of-apps/drone.jsonnet b/app-of-apps/drone.jsonnet index 12214b0..79e8fb5 100644 --- a/app-of-apps/drone.jsonnet +++ b/app-of-apps/drone.jsonnet @@ -42,5 +42,24 @@ appDef.localApplication(name="drone"), refreshAfter: "30s", vaultAuthRef: "static-auth" } +}, +{ + apiVersion: "secrets.hashicorp.com/v1beta1", + kind: "VaultStaticSecret", + metadata: { + name: "mastodon-creds", + namespace: "drone" + }, + spec: { + type: "kv-v2", + mount: "shared-secrets", + path: "mastodon/creds", + destination: { + name: "mastodon-creds", + create: true + }, + refreshAfter: "30s", + vaultAuthRef: "static-auth" + } } ] \ No newline at end of file