@@ -41,7 +41,27 @@ var _ = Describe("Overrides test", Ordered, func() {
4141 It ("should add the args to the cert-manager controller deployment" , func () {
4242
4343 By ("Adding cert-manager controller override args to the cert-managaer operator object" )
44- args := []string {"--dns01-recursive-nameservers=10.10.10.10:53" , "--dns01-recursive-nameservers-only" , "--enable-certificate-owner-ref" , "--v=3" }
44+ args := []string {
45+ // good-have to sync these args updated with the args present in
46+ // pkg/controller/deployment/deployment_overrides_validation.go,
47+ // so the e2e is self-aware of overrideArgs.
48+
49+ "--acme-http01-solver-resource-limits-cpu=150m" ,
50+ "--acme-http01-solver-resource-limits-memory=100Mi" ,
51+ "--acme-http01-solver-resource-request-cpu=50m" ,
52+ "--acme-http01-solver-resource-request-memory=100Mi" ,
53+
54+ "--dns01-recursive-nameservers=10.10.10.10:53" ,
55+ "--dns01-recursive-nameservers-only" ,
56+
57+ "--enable-certificate-owner-ref" ,
58+
59+ "--issuer-ambient-credentials" ,
60+
61+ "--v=5" ,
62+
63+ "--metrics-listen-address=0.0.0.0:9401" ,
64+ }
4565 err := addOverrideArgs (certmanageroperatorclient , certmanagerControllerDeployment , args )
4666 Expect (err ).NotTo (HaveOccurred ())
4767
0 commit comments