-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/ensuring existing secrets resulting in panic(#23)
* fix subreconciler requeue handling for setting controller reference * add webhook validation for existing secrets * add validation webhook test phase for existing secrets * revise forbidden error in validate secrets webhook
- Loading branch information
Showing
6 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Creating s3userclaim with existing secrets must be deined | ||
apiVersion: s3.snappcloud.io/v1alpha1 | ||
kind: S3UserClaim | ||
metadata: | ||
name: s3userclaim-sample2 | ||
namespace: s3-test | ||
spec: | ||
s3UserClass: ceph-default | ||
# existing secrets | ||
readonlySecret: s3-sample-readonly-secret | ||
adminSecret: s3-sample-admin-secret | ||
quota: | ||
maxSize: 100 | ||
maxObjects: 50 | ||
maxBuckets: 5 | ||
|