Baptiste Girard-Carrabin
72b51c066c
[snapshot-controller] Fix wait for CRDs duration
...
Ensure the function `ensureCustomResourceDefinitionsExist` returns when
the duration specified in `retryCRDIntervalMax` flag is reached.
This works by passing a context to the backoff so that we can
timeout with context.WithTimeout. The new (correct) default duration for
the flag is 30s to give a bit more time when controller and CRD are
created at the same time.
Also limit the amount of resources returned by the list calls to 0 to
speed up the operations because we only care that the CRD exists.
2024-01-10 10:36:55 +01:00
Kubernetes Prow Robot
d27ee265c1
Merge pull request #961 from leonardoce/dev/volume-snapshot-permission
...
Allow snapshot controller to delete VolumeSnapshots
2023-11-16 19:40:18 +01:00
Leonardo Cecchi
6ac1229ab8
Allow csi-snapshotter to create and manage VolumeSnapshots
...
This patch allows the `external-snapshotter-runner` ClusterRole, which
is bound to the `csi-snapshotter` Service Account, to create and manage
VolumeSnapshot objects.
This is needed during the synchronization of VolumeGroupSnapshots.
2023-11-16 16:29:29 +01:00
Leonardo Cecchi
17f739c7ac
Allow snapshot controller to delete VolumeSnapshots
...
This patch allows the snapshot-controller-runner ClusterRole, bound to
the snapshot-controller Service Account, to delete VolumeSnapshot
objects. This is needed during the VolumeGroupSnapshot deletion.
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com >
2023-11-16 16:27:17 +01:00
Raunak Pradip Shah
facefbad6e
add DeleteVolumeGroupSnapshot API to delete group snapshot
2023-11-03 13:14:00 +05:30
Humble Chirammal
2a6dd9d799
Controller deployment has to use latest released versioons.
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-10-21 20:19:40 +05:30
Rakshith R
aafc456527
add cmdline args to enable group snapshot webhooks
...
VolumeGroupSnapshots are still in alpha.
This commit adds cmdline args to enable group snapshot
webhooks while keeping it disbaled by default.
Signed-off-by: Rakshith R <rakshith.r.0001@gmail.com >
2023-10-17 15:51:12 +05:30
mowangdk
f83e81a856
chore: Adopt kubernetes recommand label
2023-08-26 12:39:40 +08:00
Niels de Vos
926df0c8c4
add "document-start" 1st line to all yaml files
...
The YAML Specification requires three daashes `---` as marker for the
start of a content block. That means, each YAML file needs to start with
`---` on the first line (or after initial comments).
See-also: https://yaml.org/
2023-05-25 18:13:50 +02:00
Rakshith R
a3cb5a927f
add groupsnapshot related webhooks
2023-05-08 18:25:23 +05:30
xing-yang
4e1e4eaafc
Update images to v6.2.1
2023-02-06 09:35:53 -05:00
Kubernetes Prow Robot
e9b652cd70
Merge pull request #790 from RaunakShah/add-flag
...
Add volume mode conversion flag to snapshot-controller manifest
2023-01-03 16:09:22 -08:00
Raunak Pradip Shah
8cc3b4dfcf
Add marker description
2023-01-03 10:39:50 +05:30
Sebastian Hasler
1defd007af
fix certificate generation in webhook example
...
After bb957259da
the script was broken. This commit fixes this by
respecting the format of TLS-type secrets in the script, too.
2022-12-06 18:14:03 +01:00
Raunak Pradip Shah
9d4ad3f926
Add marker
2022-11-29 10:10:33 +05:30
haslersn
bb957259da
Make webhook example compatible with TLS secrets
...
Kubernetes has a builtin Secret type `kubernetes.io/tls` which uses the keys `tls.crt` and `tls.key`.
2022-11-27 13:37:17 +01:00
Raunak Pradip Shah
3309c8ae5a
Add volume mode conversion flag to manifests
2022-11-18 14:32:51 +05:30
Humble Chirammal
a0d66a9121
update sidecars to latest version
2022-11-07 21:05:14 +05:30
Raunak Pradip Shah
71622a2c55
Update snapshotter tags to v6.1.0
2022-09-23 08:54:16 +05:30
Aditya Chudiwal
40563eee4f
use registry.k8s.io for deployment
2022-09-04 21:52:58 +05:30
Kubernetes Prow Robot
04006d297c
Merge pull request #734 from RaunakShah/rm-v1beta1-webhook
...
Remove v1beta1 from admission config template
2022-07-07 11:50:38 -07:00
Benoît Knecht
e202cf76e0
deploy/kubernetes: Update snapshot-controller image
...
Update `snapshot-controller` to its latest version.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch >
2022-07-06 23:21:38 +02:00
Benoît Knecht
86451e98fd
deploy/kubernetes: Update csi-snapshotter images
...
Update `csi-provisioner`, `csi-snapshotter` and `hostpathplugin` to their
latest versions.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch >
2022-07-06 23:20:31 +02:00
Benoît Knecht
c39d717cbc
deploy/kubernetes: Update snapshot-validation-webhook
...
Since 4f783f10f
added validation for `volumesnapshotclasses`, the
`snapshot-validation-webhook` needs to handle this kind of resource. But
version 5.0.1 doesn't, which leads to failures when updating or creating
`volumesnapshotclasses`.
This commit updates the `snapshot-validation-webhook` version to 6.0.1 in
`deploy/kubernetes/webhook-example/admission-configuration-template`.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch >
2022-07-06 19:49:30 +02:00
Raunak Pradip Shah
13f9daa54e
Remove v1beta1 from admission config template
2022-06-08 11:01:02 +05:30
xing-yang
c821877a2e
Remove v1beta1 examples
2022-05-22 22:43:11 +00:00
Shawn Hurley
8ae62e79ff
Adding webhook RBAC to enable validation of snapshotclasses
2022-05-20 09:25:47 -04:00
Kubernetes Prow Robot
9ffdb95103
Merge pull request #690 from humblec/rbac
...
replace serviceAccountName key, rbac and cleanup in the code
2022-04-25 07:39:39 -07:00
Kubernetes Prow Robot
e76e438853
Merge pull request #688 from shawn-hurley/update-readme-and-example
...
Updating readme and webhook tempate to capture changes made for volumesnapshotclasses
2022-04-14 02:24:46 -07:00
Humble Chirammal
59a4882df5
replace deprecated serviceAccount
with serviceAccountName
key
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2022-04-13 08:35:27 +05:30
Humble Chirammal
d45bacb34b
rbac: remove unwanted RBAC for endpoint leader election
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2022-04-13 08:35:03 +05:30
Madhu Rajanna
7748d5ffb6
Remove create and delete from csi-snapshotter RBAC
...
Removed Create and Delete verb for volumesnapshotcontents
Resource in the external-snapshotter-runner clusterRole.
2022-04-11 20:01:44 +05:30
Shawn Hurley
4f783f10fc
Updating readme based on new flag for webhook
...
* Adding volumesnapshotclasses to admission configuration template
2022-04-07 10:39:24 -04:00
andyzhangx
b4c7c83df0
doc: fix spelling issues
2022-02-12 02:09:00 +00:00
Abhishek Jain
fce7295eba
Change snapshot controller image version to 5.0.1
...
Signed-off-by: Abhishek Jain <abjain39@in.ibm.com >
2022-01-27 02:51:22 -08:00
Yashpal Choudhary
d6e1376a41
remove storage class permissions from snapshot controller cluster role
2022-01-14 06:22:29 +05:30
xing-yang
c907f6cdd1
Add changelog for v5.0.0
2021-12-28 15:25:17 +00:00
Kubernetes Prow Robot
7bc7d91810
Merge pull request #585 from nearora-msft/implement-distributed-snapshotting
...
Implement distributed snapshotting
2021-12-25 06:05:15 -08:00
Ubuntu
21fc337b87
feat: Implement distributed snapshotting
2021-12-24 20:03:31 +00:00
Kubernetes Prow Robot
7cbfc45485
Merge pull request #616 from zhucan/bugfix-615
...
Rename KUBE_NODE_NAME to NODE_NAME
2021-12-21 19:05:35 -08:00
Kubernetes Prow Robot
fead8458b1
Merge pull request #606 from itspngu/add_kustomization_manifests
...
Add kustomization manifests to CRDs and controller components
2021-11-29 14:37:21 -08:00
zhucan
4f753c5057
Rename KUBE_NODE_NAME to NODE_NAME
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
2021-11-22 10:37:05 +08:00
Kubernetes Prow Robot
4a9a465a87
Merge pull request #588 from Kartik494/ValidateWebhook
...
Update CertificateSigningRequest apiversion to V1
2021-11-17 14:01:54 -08:00
Grant Griffiths
d880aa1a74
Bump snapshot-controller and snapshotter deploy to v5-rc1
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-11-15 10:47:50 -08:00
kartik494
f8992bb04d
Update CertificateSigningRequest apiversion
2021-11-12 10:07:34 +05:30
itspngu
96fa9c8a10
add bare kustomization manifests to CRDs and controller components
2021-11-08 09:44:17 +00:00
Grant Griffiths
0ccf801780
Add volumesnapshotcontents/status patch rbac
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-29 14:25:33 -07:00
Grant Griffiths
2980e22122
Allow csi-snapshotter to patch vsc
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-29 13:42:50 -07:00
Grant Griffiths
afff04176d
WIP
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-23 14:05:17 -07:00
xing-yang
633cef163b
Update images to v4.2.1
2021-08-31 00:16:02 +00:00