Skip to content

Commit b75efdb

Browse files
authored
Update KMS API to v2 (kubernetes#2561)
KMS v1 API is deprecated and in v1.29 core K8s won't allow it with default feature gates set. This commit makes sure we're proposing configuration of v2 API in example EncryptionConfigs.
1 parent c63fa7b commit b75efdb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/barbican-kms-plugin/using-barbican-kms-plugin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ plane nodes.
8484
kubectl apply -f https://raw.githubusercontent.com/kubernetes/cloud-provider-openstack/master/manifests/barbican-kms/ds.yaml
8585
```
8686
*recommendation:* Use the tag corresponding to your Kubernetes release, for
87-
example `release-1.25` for kubernetes version 1.25.
87+
example `release-1.29` for kubernetes version 1.29.
8888

8989

9090
### Create encryption configuration
@@ -99,9 +99,9 @@ resources:
9999
- secrets
100100
providers:
101101
- kms:
102-
name : barbican
102+
apiVersion: v2
103+
name: barbican
103104
endpoint: unix:///var/lib/kms/kms.sock
104-
cachesize: 100
105105
- identity: {}
106106
```
107107

manifests/barbican-kms/encryption-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resources:
55
- secrets
66
providers:
77
- kms:
8+
apiVersion: v2
89
name: barbican
910
endpoint: unix:///var/lib/kms/kms.sock
10-
cachesize: 20
1111
- identity: {}

0 commit comments

Comments
 (0)