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 990251e commit fa4a500Copy full SHA for fa4a500
pkg/cli/alpha/internal/generate.go
@@ -361,6 +361,10 @@ func createWebhook(resource resource.Resource) error {
361
// Gets flags for webhook creation.
362
func getWebhookResourceFlags(resource resource.Resource) []string {
363
var args []string
364
+ if resource.IsExternal() {
365
+ args = append(args, "--external-api-path", resource.Path)
366
+ args = append(args, "--external-api-domain", resource.Domain)
367
+ }
368
if resource.HasValidationWebhook() {
369
args = append(args, "--programmatic-validation")
370
}
0 commit comments