@@ -71,7 +71,6 @@ var yamlSecrets = []yamlSecret{
7171 "/examples/ingress-resources/proxy-set-headers/standard-ingress/cafe-secret.yaml" ,
7272 "/examples/ingress-resources/rate-limit/cafe-secret.yaml" ,
7373 "/examples/ingress-resources/security-monitoring/cafe-secret.yaml" ,
74- "/tests/data/ap-waf-grpc/tls-secret.yaml" ,
7574 "/tests/data/appprotect/appprotect-secret.yaml" ,
7675 "/tests/data/common/app/secure/secret/app-tls-secret.yaml" ,
7776 "/tests/data/dos/tls-secret.yaml" ,
@@ -256,4 +255,25 @@ var yamlSecrets = []yamlSecret{
256255 valid : secretShouldHaveValidTLSCrt ,
257256 symlinks : []string {},
258257 },
258+
259+ {
260+ secretName : "tls-secret" ,
261+ fileName : "tls-secret.yaml" ,
262+ templateData : templateData {
263+ country : []string {"IE" },
264+ organization : []string {"F5 NGINX" },
265+ organizationalUnit : []string {"NGINX Ingress Controller" },
266+ locality : []string {"Cork" },
267+ province : []string {"Cork" },
268+ commonName : "virtual-server.example.com" ,
269+ dnsNames : []string {"virtual-server.example.com" },
270+ },
271+ valid : secretShouldHaveValidTLSCrt ,
272+ symlinks : []string {
273+ "/tests/data/ap-waf-grpc/tls-secret.yaml" ,
274+ },
275+ usedIn : []string {
276+ "suite/test_app_protect_waf_policies_grpc.py::TestAppProtectVSGrpc - needed for the common name" ,
277+ },
278+ },
259279}
0 commit comments