File tree 2 files changed +7
-16
lines changed
pkg/crd/api/targetconfig/v1alpha1
2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -314,10 +314,7 @@ spec:
314
314
webhook :
315
315
type : string
316
316
required :
317
- - certificate
318
317
- channel
319
- - headers
320
- - skipTLS
321
318
- webhook
322
319
type : object
323
320
sources :
@@ -337,9 +334,6 @@ spec:
337
334
webhook :
338
335
type : string
339
336
required :
340
- - certificate
341
- - headers
342
- - skipTLS
343
337
- webhook
344
338
type : object
345
339
telegram :
@@ -359,10 +353,7 @@ spec:
359
353
webhook :
360
354
type : string
361
355
required :
362
- - certificate
363
356
- chatId
364
- - headers
365
- - skipTLS
366
357
- token
367
358
- webhook
368
359
type : object
@@ -379,9 +370,6 @@ spec:
379
370
webhook :
380
371
type : string
381
372
required :
382
- - certificate
383
- - headers
384
- - skipTLS
385
373
- webhook
386
374
type : object
387
375
type : object
Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ type AWSConfig struct {
12
12
}
13
13
14
14
type WebhookOptions struct {
15
- Webhook string `mapstructure:"webhook" json:"webhook"`
16
- SkipTLS bool `mapstructure:"skipTLS" json:"skipTLS"`
17
- Certificate string `mapstructure:"certificate" json:"certificate"`
18
- Headers map [string ]string `mapstructure:"headers" json:"headers"`
15
+ Webhook string `mapstructure:"webhook" json:"webhook"`
16
+ // +optional
17
+ SkipTLS bool `mapstructure:"skipTLS" json:"skipTLS"`
18
+ // +optional
19
+ Certificate string `mapstructure:"certificate" json:"certificate"`
20
+ // +optional
21
+ Headers map [string ]string `mapstructure:"headers" json:"headers"`
19
22
}
20
23
21
24
type HostOptions struct {
You can’t perform that action at this time.
0 commit comments