This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: nginx-flexkv-deployment | ||
labels: | ||
app: nginx-flexkv | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
app: nginx-flexkv | ||
template: | ||
metadata: | ||
labels: | ||
app: nginx-flexkv | ||
spec: | ||
containers: | ||
- name: nginx-flexkv | ||
image: nginx | ||
volumeMounts: | ||
- name: test | ||
mountPath: /kvmnt | ||
readOnly: true | ||
volumes: | ||
- name: test | ||
flexVolume: | ||
driver: "azure/kv" | ||
secretRef: | ||
name: kvcreds | ||
options: | ||
usepodidentity: "false" | ||
keyvaultname: "" | ||
keyvaultobjectnames: test1;test2 # list of KeyVault object names (semi-colon separated) | ||
keyvaultobjecttypes: secret;secret # list of KeyVault object types: secret, key or cert (semi-colon separated) | ||
keyvaultobjectversions: "" # [OPTIONAL] list of KeyVault object versions (semi-colon separated), will get latest if empty | ||
resourcegroup: "" # the resource group of the KeyVault | ||
subscriptionid: "" # the subscription ID of the KeyVault | ||
tenantid: "" # the tenant ID of the KeyVault |