Skip to content

Commit

Permalink
bump manifests to 0.0.4 (#44)
Browse files Browse the repository at this point in the history
* bump manifests to 0.0.4

* update docs
  • Loading branch information
aramase authored Apr 4, 2020
1 parent 1cf887f commit 57e0682
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ The Azure Key Vault Provider offers two modes for accessing a Key Vault instance
objectName: key1
objectType: key
objectVersion: ""
resourceGroup: "rg1" # the resource group of the KeyVault
subscriptionId: "subid" # the subscription ID of the KeyVault
resourceGroup: "rg1" # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
subscriptionId: "subid" # [REQUIRED for version < 0.0.4] the subscription ID of the KeyVault
tenantId: "tid" # the tenant ID of the KeyVault
```
Expand All @@ -77,8 +77,8 @@ The Azure Key Vault Provider offers two modes for accessing a Key Vault instance
| objectName | yes | name of a Key Vault object | "" |
| objectType | yes | type of a Key Vault object: secret, key or cert | "" |
| objectVersion | no | version of a Key Vault object, if not provided, will use latest | "" |
| resourceGroup | yes | name of resource group containing key vault instance | "" |
| subscriptionId | yes | subscription ID containing key vault instance | "" |
| resourceGroup | REQUIRED for version < 0.0.4 | name of resource group containing key vault instance | "" |
| subscriptionId | REQUIRED for version < 0.0.4 | subscription ID containing key vault instance | "" |
| tenantId | yes | tenant ID containing key vault instance | "" |

1. Update your [deployment yaml](examples/nginx-pod-secrets-store-inline-volume-secretproviderclass.yaml) to use the Secrets Store CSI driver and reference the `secretProviderClass` resource created in the previous step
Expand Down
2 changes: 1 addition & 1 deletion deployment/provider-azure-installer-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
beta.kubernetes.io/os: windows
containers:
- name: provider-azure-installer
image: aramase/secrets-store-csi-driver-provider-azure:win00
image: mcr.microsoft.com/k8s/csi/secrets-store/provider-azure:0.0.4
imagePullPolicy: Always
resources:
requests:
Expand Down
4 changes: 1 addition & 3 deletions deployment/provider-azure-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ spec:
labels:
app: csi-secrets-store-provider-azure
spec:
tolerations:
containers:
- name: provider-azure-installer
image: mcr.microsoft.com/k8s/csi/secrets-store/provider-azure:0.0.3
image: mcr.microsoft.com/k8s/csi/secrets-store/provider-azure:0.0.4
imagePullPolicy: Always
resources:
requests:
Expand All @@ -28,7 +27,6 @@ spec:
cpu: 50m
memory: 100Mi
env:
# set TARGET_DIR env var and mount the same directory to to the container
- name: TARGET_DIR
value: "/etc/kubernetes/secrets-store-csi-providers"
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ spec:
objectName: key1
objectType: key
objectVersion: ""
resourceGroup: "" # the resource group of the KeyVault
subscriptionId: "" # the subscription ID of the KeyVault
resourceGroup: "" # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
subscriptionId: "" # [REQUIRED for version < 0.0.4] the subscription ID of the KeyVault
tenantId: "" # the tenant ID of the KeyVault
4 changes: 2 additions & 2 deletions examples/nginx-pod-secrets-store-inline-volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ spec:
objectName: key1
objectType: key
objectVersion: ""
resourceGroup: "" # the resource group of the KeyVault
subscriptionId: "" # the subscription ID of the KeyVault
resourceGroup: "" # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
subscriptionId: "" # [REQUIRED for version < 0.0.4] the subscription ID of the KeyVault
tenantId: "" # the tenant ID of the KeyVault
nodePublishSecretRef:
name: secrets-store-creds
4 changes: 2 additions & 2 deletions examples/pv-secrets-store-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
objectName: key1
objectType: key
objectVersion: ""
resourceGroup: "" # resource group of the KeyVault
subscriptionId: "" # subscription ID of the KeyVault
resourceGroup: "" # [REQUIRED for version < 0.0.4] resource group of the KeyVault
subscriptionId: "" # [REQUIRED for version < 0.0.4] subscription ID of the KeyVault
tenantId: "" # tenant ID of the KeyVault
nodePublishSecretRef:
name: secrets-store-creds
Expand Down
4 changes: 2 additions & 2 deletions examples/v1alpha1_secretproviderclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
objectName: key1
objectType: key
objectVersion: ""
resourceGroup: "rg1" # the resource group of the KeyVault
subscriptionId: "subid" # the subscription ID of the KeyVault
resourceGroup: "rg1" # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
subscriptionId: "subid" # [REQUIRED for version < 0.0.4] the subscription ID of the KeyVault
tenantId: "tid" # the tenant ID of the KeyVault
4 changes: 2 additions & 2 deletions examples/v1alpha1_secretproviderclass_podid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
objectName: key1
objectType: key
objectVersion: ""
resourceGroup: "rg1" # the resource group of the KeyVault
subscriptionId: "subid" # the subscription ID of the KeyVault
resourceGroup: "rg1" # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
subscriptionId: "subid" # [REQUIRED for version < 0.0.4] the subscription ID of the KeyVault
tenantId: "tid" # the tenant ID of the KeyVault

0 comments on commit 57e0682

Please sign in to comment.