Skip to content

Commit e0272da

Browse files
committed
test(redis): use non-default issuerRef.kind in custom issuerRef test
Address review feedback from coderabbitai on tests/tls-certificate_test.yaml:48: Switch the fixture from kind: ClusterIssuer (the default) to kind: Issuer and assert both name and kind fields, so the test catches regressions where the chart ignores user-supplied issuerRef.kind. Assisted-By: Claude <[email protected]> Signed-off-by: Arsolitt <[email protected]>
1 parent 6a0294c commit e0272da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/apps/redis/tests/tls-certificate_test.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ tests:
4242
enabled: true
4343
issuerRef:
4444
name: letsencrypt-prod
45-
kind: ClusterIssuer
45+
kind: Issuer
4646
asserts:
4747
- equal: { path: spec.issuerRef.name, value: letsencrypt-prod }
48+
- equal: { path: spec.issuerRef.kind, value: Issuer }
4849

4950
- it: dnsNames include master, replicas and external-lb service variants
5051
set:

0 commit comments

Comments
 (0)