Jan Safranek
73f72bd7b6
Fix panic when source PVC does not exist
...
checkAndUpdateSnapshotClass must always return a snapshot, even though it
fails somewhere in ctrl.SetDefaultSnapshotClass.
Add unit tests for that.
2020-09-29 14:53:48 +02:00
Kubernetes Prow Robot
e02d45a6a6
Merge pull request #378 from bswartz/webhook-nitpicks
...
Fix image name for example webhook, and other nitpicks
2020-09-23 13:44:06 -07:00
Ben Swartzlander
a2666d1ea9
Fix image name for example webhook, and other nitpicks
...
Also bump example container versions to v3.0.0, and use
k8s.gcr.io/sig-storage instead of quay.io/k8scsi.
2020-09-22 16:40:32 -04:00
Kubernetes Prow Robot
28abcf95d1
Merge pull request #332 from xing-yang/changelog_2.2.0
...
Add changelog for release 3.0
2020-09-17 09:48:45 -07:00
xing-yang
154db5477e
Add changelog for release 3.0.0
2020-09-17 03:42:35 +00:00
Kubernetes Prow Robot
9ae8e542b9
Merge pull request #376 from xing-yang/update_client_1.19
...
Update client library dependency to k8s v1.19
2020-09-16 09:25:20 -07:00
xing-yang
ad4779daf2
Update client library dependency to k8s v1.19
2020-09-16 05:53:44 +00:00
Kubernetes Prow Robot
e562c2df74
Merge pull request #367 from prateekpandey14/use-v1-crd
...
Update volume snapshot CRDs to v1 version
2020-09-15 22:41:19 -07:00
prateekpandey14
c1e1a1b090
Update volume snapshot CRDs to v1 version
...
- bump controller-gen 0.4.0 version
- update CRDs to use `apiextensions.k8s.io/v1` apis
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com >
2020-09-15 14:04:52 +05:30
Kubernetes Prow Robot
60202d2e31
Merge pull request #373 from xing-yang/v3
...
Update to v3
2020-09-14 12:45:25 -07:00
xing-yang
a2ac03c740
Update to v3
2020-09-08 21:25:47 +00:00
Kubernetes Prow Robot
42650bce93
Merge pull request #360 from xing-yang/remove_finalizer
...
Fix the race between PVC finalizer and snapshot finalizer removal
2020-09-02 10:27:06 -07:00
xing-yang
1ba5602b10
Add comments
2020-08-31 01:36:47 +00:00
Kubernetes Prow Robot
34af0c595b
Merge pull request #370 from humblec/go-spec
...
Bump go version to 1.15
2020-08-30 15:12:20 -07:00
xing-yang
c2ba707e71
Fix the race between PVC finalizer and snapshot finalizer removal
2020-08-30 02:06:14 +00:00
Humble Chirammal
5c7866ba79
Bump go version 1.15
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2020-08-29 18:14:21 +05:30
Kubernetes Prow Robot
4f3b02aaa0
Merge pull request #353 from AndiLi99/AndiLi99/webhook
...
Add snapshot webhook build and deployment. Modify controller to label invalid objects.
2020-08-28 18:51:19 -07:00
Andi Li
8e8ab7b7c7
Documentation style match new line after bullet point.
2020-08-28 12:11:20 -04:00
Andi Li
06989d7897
Update documentation.
...
Minor cleanup and change default fail policy and timeout on webhook
config.
2020-08-28 12:06:28 -04:00
Kubernetes Prow Robot
6838d02ff4
Merge pull request #369 from humblec/new
...
Update the CSI spec support matrix
2020-08-27 20:15:01 -07:00
Andi Li
42b6b374cf
Add phase 1 of validation tightening.
...
https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/177-volume-snapshot/tighten-validation-webhook-crd.md
1. Ratcheting validation webhook server image
2. Controller labels invalid objects
3. Unit tests for webhook
4. Deployment README and example deployment method with certs
5. Update top-level README
Racheting validation:
1. webhook is strict on create
2. webhook is strict on updates where the existing object passes strict validation
3. webhook is relaxed on updates where the existing object fails strict validation (allows finalizer removal, status update, deletion, etc)
Additionally the validating wehook server will perform immutability
checks on scenario 2 above.
2020-08-27 20:34:21 -04:00
Humble Chirammal
0ca9b6dace
Update the CSI spec support matrix
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2020-08-27 18:42:36 +05:30
Kubernetes Prow Robot
db336e8070
Merge pull request #372 from humblec/kube-1.19
...
Bump kube dependencies to v1.19.0
2020-08-27 05:51:55 -07:00
Humble Chirammal
6c67682d7a
Bump kube dependencies to v1.19.0
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2020-08-27 09:12:45 +05:30
Kubernetes Prow Robot
d8afef5c7b
Merge pull request #365 from Madhu-1/update-doc
...
update readme for new crd directory
2020-08-20 08:07:23 -07:00
Madhu Rajanna
ac6cf6d258
update readme for new crd directory
...
as the CRD directory is changed now,
the readme should point to the new directory
where the CRD is present.
2020-08-20 10:36:51 +05:30
Kubernetes Prow Robot
a69711cec2
Merge pull request #307 from Kartik494/updategomod
...
Added go modules for Apis and Client
2020-08-19 21:45:22 -07:00
Kubernetes Prow Robot
c436f5ccb3
Merge pull request #339 from Kartik494/updatecontrollerimage
...
Update controller images
2020-08-18 08:39:31 -07:00
kartik494
8ae798a0c4
Move Hack to Client directory and update README
2020-08-17 11:38:18 +05:30
Kubernetes Prow Robot
15773c3461
Merge pull request #358 from pohly/prow-update-master
...
master: update release-tools
2020-08-14 15:48:18 -07:00
Patrick Ohly
ad5dde2339
release-tools: update
...
Commit summary:
0979c091
prow.sh: fix E2E suite for Kubernetes >= 1.18
3b4a2f1d
prow.sh: fix installing Go for Kubernetes 1.19.0
2020-08-14 20:12:16 +02:00
Kubernetes Prow Robot
60e1cd3d08
Merge pull request #98 from pohly/kubernetes-1-19-fixes
...
Kubernetes 1.19 fixes
2020-08-14 09:30:21 -07:00
Patrick Ohly
0979c09102
prow.sh: fix E2E suite for Kubernetes >= 1.18
...
It used to be necessary to override from where the E2E suite came on a
case-by-case basis (initially, testing was using a more recent suite
against an older Kubernetes). This should never become necessary again
and the lack of a specific entry for 1.18 already had the unintended
effect that Kubernetes 1.18 was tested with the suite from master, so
overall it is better to always use the E2E suite which matches
Kubernetes.
2020-08-14 15:03:02 +02:00
Patrick Ohly
3b4a2f1d95
prow.sh: fix installing Go for Kubernetes 1.19.0
...
Kubernetes 1.19.0 uses Go 1.15, but refers to it as 1.15.0. This broke
both the check whether we need to install 1.15 (because "go version"
reports 1.15, which didn't match 1.15.0) and then downloading the
release archive (because the URL also only uses 1.15).
2020-08-14 15:03:02 +02:00
kartik494
4807a7b031
move hack to client
2020-08-14 09:40:03 +05:30
Kubernetes Prow Robot
ff922f3dc9
Merge pull request #352 from pohly/prow-update-master
...
master: update release-tools
2020-08-12 14:32:14 -07:00
Kubernetes Prow Robot
1fbb636cb9
Merge pull request #97 from pohly/go-1.15
...
switch to Go 1.15
2020-08-12 11:43:15 -07:00
Patrick Ohly
db597efeba
release-tools: update
...
Commit summary:
82d108ac
switch to Go 1.15
843bddca
Add steps on promoting release images
2020-08-12 10:14:28 +02:00
Patrick Ohly
82d108acdc
switch to Go 1.15
...
Go 1.15 was released and is the major version that Kubernetes 1.19.0
is going to use. There are probably bugs in the older 1.13.3 that were
fixed, so we should update.
2020-08-12 09:42:55 +02:00
Kubernetes Prow Robot
4e0d027241
Merge pull request #347 from xing-yang/move_event_up
...
Emit event even if status update fails
2020-08-11 09:32:19 -07:00
xing-yang
2a990923fd
Emit event even if status update fails so user can see it
2020-08-09 04:16:16 +00:00
Kubernetes Prow Robot
d8a2530054
Merge pull request #95 from msau42/add-release-process
...
Add steps on promoting release images
2020-08-07 13:25:57 -07:00
kartik494
1ee19f1e71
Add check for update-crd script file
2020-08-07 13:54:31 +05:30
Michelle Au
843bddca14
Add steps on promoting release images
2020-08-05 13:29:03 -07:00
kartik494
6b112307d9
Update controller images to canary
2020-08-05 16:25:47 +05:30
kartik494
d8ff17b851
Update README
2020-08-05 11:42:59 +05:30
Kubernetes Prow Robot
39fb3e4666
Merge pull request #344 from RaunakShah/leclient
...
Use separate client for leader election
2020-07-29 18:50:04 -07:00
shahra
17e79ac238
Use separate client for leader election
2020-07-29 14:01:11 -07:00
kartik494
ae215218d1
Added go modules for Apis and Client
2020-07-29 16:52:45 +05:30
Kubernetes Prow Robot
d24d2b9820
Merge pull request #340 from huffmanca/move-to-klogv2
...
Move to klogv2
2020-07-28 09:33:48 -07:00