Skip to content

Commit f40ab94

Browse files
committed
Add config/v1/tests/apiservers.config.openshift.io/KMSv2.yaml
Signed-off-by: Swarup Ghosh <[email protected]>
1 parent b5bb0e9 commit f40ab94

File tree

1 file changed

+21
-0
lines changed
  • config/v1/tests/apiservers.config.openshift.io

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2+
name: "APIServer"
3+
crdName: apiservers.config.openshift.io
4+
featureGate: KMSv2
5+
tests:
6+
onCreate:
7+
- name: Should be able to create encrypt with kms
8+
initial: |
9+
apiVersion: config.openshift.io/v1
10+
kind: APIServer
11+
spec:
12+
encryption:
13+
type: kms
14+
expected: |
15+
apiVersion: config.openshift.io/v1
16+
kind: APIServer
17+
spec:
18+
audit:
19+
profile: Default
20+
encryption:
21+
type: kms

0 commit comments

Comments
 (0)