Skip to content
Snippets Groups Projects
Commit dc35a774 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3276 OZG-3318 fix test and certificate naming

parent 7ce83e0a
Branches
Tags
No related merge requests found
...@@ -140,7 +140,7 @@ spec: ...@@ -140,7 +140,7 @@ spec:
volumes: volumes:
- name: user-manager-tls-certificate - name: user-manager-tls-certificate
secret: secret:
secretName: user-manager-tls secretName: user-manager-tls-cert
dnsConfig: {} dnsConfig: {}
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
imagePullSecrets: imagePullSecrets:
......
...@@ -49,13 +49,12 @@ tests: ...@@ -49,13 +49,12 @@ tests:
readOnly: true readOnly: true
- it: should have volumes for user-manager root certificate - it: should have volumes for user-manager root certificate
template: deployment.yaml
set: set:
namespace: sh-helm-test namespace: sh-helm-test
asserts: asserts:
- contains: - contains:
path: spec.jobTemplate.spec.template.spec.volumes path: spec.template.spec.volumes
content: content:
name: user-manager-root-ca name: user-manager-tls-certificate
secret: secret:
secretName: user-manager-tls-cert secretName: user-manager-tls-cert
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment