Provide a k8s secret containing Mastodon Access Token
To auto-post on publishing a new blog post.
This commit is contained in:
parent
2d1fd9ef0c
commit
4cc1c531e2
@ -42,5 +42,24 @@ appDef.localApplication(name="drone"),
|
|||||||
refreshAfter: "30s",
|
refreshAfter: "30s",
|
||||||
vaultAuthRef: "static-auth"
|
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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user