Skip to content

Commit c0ba9dc

Browse files
robertauercesmarvin
authored andcommitted
Merge branch 'release/v7.0.2-1' into main
2 parents 5582097 + 988aa71 commit c0ba9dc

14 files changed

+732
-31
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v7.0.2-1] - 2025-04-03
10+
### Changed
11+
- [#17] Update snapshot-controller to 7.0.2
12+
913
## [v6.2.1-1] - 2025-04-01
1014
### Changed
1115
- [#15] Update snapshot-controller to 6.2.1

Jenkinsfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ node('docker') {
5959
// Sleep because it takes time for the controller to create the resource. Without it would end up
6060
// in error "no matching resource found when run the wait command"
6161
sleep(5)
62-
k3d.kubectl("wait --for=condition=ready pod -l app=snapshot-controller --timeout=300s")
62+
k3d.kubectl("wait --for=condition=ready pod -l app.kubernetes.io/name=snapshot-controller --timeout=300s")
6363
}
64+
} catch(Exception e) {
65+
k3d.collectAndArchiveLogs()
66+
throw e as java.lang.Throwable
6467
} finally {
6568
stage('Remove k3d cluster') {
6669
k3d.deleteK3d()

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARTIFACT_ID=k8s-snapshot-controller
2-
VERSION=6.2.1-1
2+
VERSION=7.0.2-1
33
MAKEFILES_VERSION=9.3.2
44
REGISTRY_NAMESPACE?=k8s
55
HELM_REPO_ENDPOINT=k3ces.local:30099
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
labels:
5+
{{- include "k8s-snapshot-controller-crd.labels" . | nindent 4 }}
6+
annotations:
7+
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
8+
controller-gen.kubebuilder.io/version: v0.12.0
9+
name: volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io
10+
spec:
11+
group: groupsnapshot.storage.k8s.io
12+
names:
13+
kind: VolumeGroupSnapshotClass
14+
listKind: VolumeGroupSnapshotClassList
15+
plural: volumegroupsnapshotclasses
16+
shortNames:
17+
- vgsclass
18+
- vgsclasses
19+
singular: volumegroupsnapshotclass
20+
scope: Cluster
21+
versions:
22+
- additionalPrinterColumns:
23+
- jsonPath: .driver
24+
name: Driver
25+
type: string
26+
- description: Determines whether a VolumeGroupSnapshotContent created through
27+
the VolumeGroupSnapshotClass should be deleted when its bound VolumeGroupSnapshot
28+
is deleted.
29+
jsonPath: .deletionPolicy
30+
name: DeletionPolicy
31+
type: string
32+
- jsonPath: .metadata.creationTimestamp
33+
name: Age
34+
type: date
35+
name: v1alpha1
36+
schema:
37+
openAPIV3Schema:
38+
description: VolumeGroupSnapshotClass specifies parameters that a underlying
39+
storage system uses when creating a volume group snapshot. A specific VolumeGroupSnapshotClass
40+
is used by specifying its name in a VolumeGroupSnapshot object. VolumeGroupSnapshotClasses
41+
are non-namespaced.
42+
properties:
43+
apiVersion:
44+
description: 'APIVersion defines the versioned schema of this representation
45+
of an object. Servers should convert recognized schemas to the latest
46+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
47+
type: string
48+
deletionPolicy:
49+
description: DeletionPolicy determines whether a VolumeGroupSnapshotContent
50+
created through the VolumeGroupSnapshotClass should be deleted when
51+
its bound VolumeGroupSnapshot is deleted. Supported values are "Retain"
52+
and "Delete". "Retain" means that the VolumeGroupSnapshotContent and
53+
its physical group snapshot on underlying storage system are kept. "Delete"
54+
means that the VolumeGroupSnapshotContent and its physical group snapshot
55+
on underlying storage system are deleted. Required.
56+
enum:
57+
- Delete
58+
- Retain
59+
type: string
60+
driver:
61+
description: Driver is the name of the storage driver expected to handle
62+
this VolumeGroupSnapshotClass. Required.
63+
type: string
64+
kind:
65+
description: 'Kind is a string value representing the REST resource this
66+
object represents. Servers may infer this from the endpoint the client
67+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
68+
type: string
69+
metadata:
70+
type: object
71+
parameters:
72+
additionalProperties:
73+
type: string
74+
description: Parameters is a key-value map with storage driver specific
75+
parameters for creating group snapshots. These values are opaque to
76+
Kubernetes and are passed directly to the driver.
77+
type: object
78+
required:
79+
- deletionPolicy
80+
- driver
81+
type: object
82+
served: true
83+
storage: true
84+
subresources: {}

0 commit comments

Comments
 (0)