feat(common)!: Release v3.0.0-beta1 (#278)

This commit is contained in:
Bernd Schorgers 2024-03-07 19:53:41 +01:00 committed by GitHub
parent deafcf75a1
commit b78483b0b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 3697 additions and 1209 deletions

View file

@ -3,10 +3,14 @@
suite: pvc datasource
templates:
- common.yaml
set:
persistence.config:
accessMode: ReadWriteOnce
size: 1Gi
tests:
- it: default should pass
set:
persistence.config.enabled: true
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0
isKind:
@ -21,7 +25,6 @@ tests:
- it: with dataSource should pass
set:
persistence.config:
enabled: true
dataSource:
apiGroup: snapshot.storage.k8s.io
kind: VolumeSnapshot
@ -44,7 +47,6 @@ tests:
- it: templated dataSource name should pass
set:
persistence.config:
enabled: true
dataSource:
apiGroup: snapshot.storage.k8s.io
kind: VolumeSnapshot
@ -67,7 +69,6 @@ tests:
- it: with dataSourceRef should pass
set:
persistence.config:
enabled: true
dataSourceRef:
apiGroup: snapshot.storage.k8s.io
kind: VolumeSnapshot
@ -90,7 +91,6 @@ tests:
- it: templated dataSourceRef name should pass
set:
persistence.config:
enabled: true
dataSourceRef:
apiGroup: snapshot.storage.k8s.io
kind: VolumeSnapshot

View file

@ -3,10 +3,14 @@
suite: pvc metadata
templates:
- common.yaml
set:
persistence.config:
accessMode: ReadWriteOnce
size: 1Gi
tests:
- it: default should pass
set:
persistence.config.enabled: true
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0
isKind:
@ -26,7 +30,6 @@ tests:
- it: retain enabled should pass
set:
persistence.config:
enabled: true
retain: true
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0
@ -49,7 +52,6 @@ tests:
- it: custom metadata should pass
set:
persistence.config:
enabled: true
labels:
test_label: test
annotations:
@ -81,7 +83,6 @@ tests:
annotations:
global_annotation: test
persistence.config:
enabled: true
labels:
test_label: test
annotations:

View file

@ -3,8 +3,16 @@
suite: pvc names
templates:
- common.yaml
set:
persistence.config:
accessMode: ReadWriteOnce
size: 1Gi
tests:
- it: disabled should pass
set:
persistence.config.enabled: false
asserts:
- hasDocuments:
count: 2
@ -17,7 +25,7 @@ tests:
isKind:
of: PersistentVolumeClaim
- it: default should pass
- it: enabled should pass
set:
persistence.config.enabled: true
asserts:
@ -42,7 +50,6 @@ tests:
- it: without suffix should pass
set:
persistence.config:
enabled: true
nameOverride: "-"
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0
@ -56,7 +63,6 @@ tests:
- it: with custom suffix should pass
set:
persistence.config:
enabled: true
nameOverride: "custom"
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0

View file

@ -3,10 +3,14 @@
suite: pvc storageclass
templates:
- common.yaml
set:
persistence.config:
accessMode: ReadWriteOnce
size: 1Gi
tests:
- it: default should pass
set:
persistence.config.enabled: true
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0
isKind:
@ -18,7 +22,6 @@ tests:
- it: custom should pass
set:
persistence.config:
enabled: true
storageClass: custom
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0
@ -32,7 +35,6 @@ tests:
- it: empty should pass
set:
persistence.config:
enabled: true
storageClass: "-"
asserts:
- documentIndex: &PersistentVolumeClaimDocument 0