Skip to content

Commit

Permalink
fix order of certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Aug 20, 2024
1 parent 6fbfed5 commit e5d2f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func Test_RpaasOperator(t *testing.T) {

require.Len(t, nginx.Spec.TLS, 2)
assert.Equal(t, []nginxv1alpha1.NginxTLS{
{SecretName: "my-instance-certificates", Hosts: []string{"www.example.com"}},
{SecretName: "my-instance-cert-manager-self-signed", Hosts: []string{"my-instance.example.com", "app.example.com"}},
{SecretName: "my-instance-certificates", Hosts: []string{"www.example.com"}},
}, nginx.Spec.TLS)

nginxService := &corev1.Service{
Expand Down

0 comments on commit e5d2f83

Please sign in to comment.