@@ -82,19 +82,19 @@ var _ = Describe("CloudStackMachine webhook", func() {
82
82
Should (MatchError (MatchRegexp (forbiddenRegex , "details" )))
83
83
})
84
84
85
- It ("should reject identity reference kind udpates to the CloudStackMachine" , func () {
85
+ It ("should reject identity reference kind updates to the CloudStackMachine" , func () {
86
86
dummies .CSMachine1 .Spec .IdentityRef .Kind = "ConfigMap"
87
87
Ω (k8sClient .Update (ctx , dummies .CSMachine1 )).
88
88
Should (MatchError (MatchRegexp (forbiddenRegex , "identityRef\\ .Kind" )))
89
89
})
90
90
91
- It ("should reject identity reference name udpates to the CloudStackMachine" , func () {
91
+ It ("should reject identity reference name updates to the CloudStackMachine" , func () {
92
92
dummies .CSMachine1 .Spec .IdentityRef .Name = "IdentityConfigMap"
93
93
Ω (k8sClient .Update (ctx , dummies .CSMachine1 )).
94
94
Should (MatchError (MatchRegexp (forbiddenRegex , "identityRef\\ .Name" )))
95
95
})
96
96
97
- It ("should reject udpates to the list of affinty groups of the CloudStackMachine" , func () {
97
+ It ("should reject updates to the list of affinty groups of the CloudStackMachine" , func () {
98
98
dummies .CSMachine1 .Spec .AffinityGroupIDs = []string {"28b907b8-75a7-4214-bd3d-6c61961fc2af" }
99
99
Ω (k8sClient .Update (ctx , dummies .CSMachine1 )).
100
100
Should (MatchError (MatchRegexp (forbiddenRegex , "AffinityGroupIDs" )))
0 commit comments