Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (27 sloc) 856 Bytes
apiVersion: v1
kind: Pod
metadata:
name: access-kv
labels:
aadpodidbinding: little-pod-binding
spec:
containers:
- name: main-container
image: vplauzon/get-started:part2-no-redis
volumeMounts:
- name: secrets
mountPath: /kvmnt
readOnly: true
volumes:
- name: secrets
flexVolume:
driver: "azure/kv"
options:
usepodidentity: "true"
keyvaultname: # Azure Resource name for the Azure Key Vault
keyvaultobjectnames: myname;myage
keyvaultobjecttypes: secret;secret # OPTIONS: secret, key, cert
#keyvaultobjectversions: # If not provided, take latest
resourcegroup: # Resource Group where the Key Vault is
subscriptionid: # ID of the subscription where the Key Vault is
tenantid: # AAD Tenant ID of the subscription
You can’t perform that action at this time.