@@ -84,7 +84,6 @@ var yamlSecrets = []yamlSecret{
8484 "/tests/data/virtual-server-route-grpc/tls-secret.yaml" ,
8585 "/tests/data/watch-secret-namespace/tls-secret.yaml" ,
8686 "/tests/data/wildcard-tls-secret/gb-wildcard-tls-secret.yaml" ,
87- "/tests/data/wildcard-tls-secret/wildcard-tls-secret.yaml" ,
8887 },
8988 },
9089
@@ -216,4 +215,25 @@ var yamlSecrets = []yamlSecret{
216215 "tests/suite/test_tls.py - needed for the secretType" ,
217216 },
218217 },
218+
219+ {
220+ secretName : "wildcard-tls-secret" ,
221+ fileName : "wildcard-tls-secret.yaml" ,
222+ templateData : templateData {
223+ country : []string {"ES" },
224+ organization : []string {"nginx" },
225+ organizationalUnit : []string {"example.com" },
226+ locality : []string {"Cork" },
227+ province : []string {"CanaryIslands" },
228+ commonName : "example.com" ,
229+ dnsNames : []string {"*.example.com" },
230+ },
231+ valid : secretShouldHaveValidTLSCrt ,
232+ symlinks : []string {
233+ "/tests/data/wildcard-tls-secret/wildcard-tls-secret.yaml" ,
234+ },
235+ usedIn : []string {
236+ "tests/suite/test_wildcard_tls_secret.py - subject info" ,
237+ },
238+ },
219239}
0 commit comments