Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion charts/iap/tests/certificate_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,27 @@ tests:
asserts:
- equal:
path: metadata.annotations["foo"]
value: bar
value: bar

- it: should render keystores from values.certificate.keystores
set:
certificate.enabled: true
certificate.issuerRef.name: "test-issuer"
certificate.issuerRef.kind: "ClusterIssuer"
certificate.commonName: "test.com"
certificate.domain: "test.com"
certificate.renewBefore: "720h"
certificate.duration: "2160h"
certificate.keystores:
jks:
create: true
passwordSecretRef:
name: jks-password
key: password
asserts:
- equal:
path: spec.keystores.jks.create
value: true
- equal:
path: spec.keystores.jks.passwordSecretRef.name
value: jks-password
2 changes: 1 addition & 1 deletion charts/iap/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ certificate:
# -- Specifies any private key properties
privateKey: {} # include all required properties, passed to the template as is
# -- Specifies any key store properties
keyStores: {} # include all required properties, passed to the template as is
keystores: {} # include all required properties, passed to the template as is
# -- Specifies any subject fields required
subject: {} # include all required properties, passed to the template as is

Expand Down
Loading