mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-16 20:51:47 +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>
27 lines
505 B
YAML
27 lines
505 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
commonLabels:
|
|
app: credentials-sync-eventhub
|
|
|
|
resources:
|
|
- sync.yaml
|
|
|
|
vars:
|
|
- name: KUBE_SECRET
|
|
objref:
|
|
kind: ConfigMap
|
|
name: credentials-sync-eventhub
|
|
apiVersion: v1
|
|
fieldref:
|
|
fieldpath: data.KUBE_SECRET
|
|
- name: ADDRESS
|
|
objref:
|
|
kind: ConfigMap
|
|
name: credentials-sync-eventhub
|
|
apiVersion: v1
|
|
fieldref:
|
|
fieldpath: data.ADDRESS
|
|
|
|
configurations:
|
|
- kustomizeconfig.yaml
|