We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc09c2b commit 1fa458eCopy full SHA for 1fa458e
bootstrap/api/v1beta1/rke2config_webhook.go
@@ -186,17 +186,17 @@ func (s *RKE2ConfigSpec) validateIgnition(pathPrefix *field.Path) field.ErrorLis
186
),
187
)
188
}
189
- }
190
191
- for i, file := range s.Files {
192
- if file.Encoding == Gzip || file.Encoding == GzipBase64 {
193
- allErrs = append(
194
- allErrs,
195
- field.Forbidden(
196
- pathPrefix.Child("files").Index(i).Child("encoding"),
197
- cannotUseWithIgnition,
198
- ),
199
- )
+ for i, file := range s.Files {
+ if file.Encoding == Gzip || file.Encoding == GzipBase64 {
+ allErrs = append(
+ allErrs,
+ field.Forbidden(
+ pathPrefix.Child("files").Index(i).Child("encoding"),
+ cannotUseWithIgnition,
+ ),
+ )
+ }
200
201
202
0 commit comments