mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-15 12:11:48 +00:00
To use JWT to communicate with Azure eventhub we need to renew the JWT credentials from time to time. This example yaml helps out with that * Supports both deployment and cronjob based renewal * static service principal * aad-pod-identity in azure Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
14 lines
501 B
YAML
14 lines
501 B
YAML
apiVersion: v1
|
|
data:
|
|
AZURE_CLIENT_ID: MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMA==
|
|
AZURE_CLIENT_SECRET: c28tbXVjaC1zZWNyZXQ=
|
|
AZURE_TENANT_ID: MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMA==
|
|
kind: Secret
|
|
metadata:
|
|
name: azure-credentials
|
|
namespace: flux-system
|
|
type: Opaque
|
|
# This is just a example secret, you should never store secrets in git.
|
|
# One way forward can be to use sealed-secrets or SOPS
|
|
# https://fluxcd.io/docs/guides/sealed-secrets/
|
|
# https://fluxcd.io/docs/guides/mozilla-sops/
|