Skip to content

Commit

Permalink
Disable validating webhooks for ingress-nginx chart
Browse files Browse the repository at this point in the history
xref: kubernetes/ingress-nginx#5968 (comment)

Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Feb 17, 2024
1 parent 3c2f627 commit 8634e8c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apis/installer/v1alpha1/ingress_nginx_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ type IngressNginxControllerServiceExternal struct {
}

type IngressNginxAdmissionWebhooks struct {
Patch IngressNginxAdmissionWebhooksPatch `json:"patch"`
Enabled bool `json:"enabled"`
Patch IngressNginxAdmissionWebhooksPatch `json:"patch"`
}

type IngressNginxAdmissionWebhooksPatch struct {
Expand Down
3 changes: 3 additions & 0 deletions charts/ace/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6051,6 +6051,8 @@ properties:
properties:
admissionWebhooks:
properties:
enabled:
type: boolean
patch:
properties:
image:
Expand All @@ -6076,6 +6078,7 @@ properties:
- image
type: object
required:
- enabled
- patch
type: object
config:
Expand Down
3 changes: 3 additions & 0 deletions schema/ingress-nginx/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ properties:
properties:
admissionWebhooks:
properties:
enabled:
type: boolean
patch:
properties:
image:
Expand All @@ -28,6 +30,7 @@ properties:
- image
type: object
required:
- enabled
- patch
type: object
config:
Expand Down

0 comments on commit 8634e8c

Please sign in to comment.