File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
manifests/01-admission-control Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -605,6 +605,7 @@ teapot_admission_controller_validate_pod_template_resources: "true"
605
605
teapot_admission_controller_preemption_enabled : " true"
606
606
teapot_admission_controller_postgresql_delete_protection_enabled : " true"
607
607
teapot_admission_controller_namespace_delete_protection_enabled : " true"
608
+ teapot_admission_controller_postgresql_owning_application_check_enabled : " true"
608
609
{{else if eq .Cluster.Environment "e2e"}}
609
610
teapot_admission_controller_validate_application_label : " false"
610
611
teapot_admission_controller_validate_base_images : " false"
@@ -627,6 +628,7 @@ teapot_admission_controller_validate_pod_template_resources: "true"
627
628
teapot_admission_controller_preemption_enabled : " false"
628
629
teapot_admission_controller_postgresql_delete_protection_enabled : " false"
629
630
teapot_admission_controller_namespace_delete_protection_enabled : " false"
631
+ teapot_admission_controller_postgresql_owning_application_check_enabled : " false"
630
632
{{end}}
631
633
632
634
# Enable automatic replacement of vanity images with ECR images
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ data:
173
173
priorityclass.preemption.enable : " {{ .Cluster.ConfigItems.teapot_admission_controller_preemption_enabled }}"
174
174
175
175
postgresql.delete-protection.enable : " {{ .Cluster.ConfigItems.teapot_admission_controller_postgresql_delete_protection_enabled }}"
176
+ postgresql.owning-application-check.enable : " {{ .Cluster.ConfigItems.teapot_admission_controller_postgresql_owning_application_check_enabled }}"
176
177
177
178
namespace.delete-protection.enable : " {{ .Cluster.ConfigItems.teapot_admission_controller_namespace_delete_protection_enabled }}"
178
179
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ webhooks:
222
222
sideEffects : " NoneOnDryRun"
223
223
matchPolicy : Equivalent
224
224
rules :
225
- - operations : [ "CREATE", "DELETE" ]
225
+ - operations : [ "CREATE", "DELETE", "UPDATE" ]
226
226
apiGroups : ["acid.zalan.do"]
227
227
apiVersions : ["v1"]
228
228
resources : ["postgresqls"]
You can’t perform that action at this time.
0 commit comments