diff --git a/src/main/helm/templates/deployment.yaml b/src/main/helm/templates/deployment.yaml index bd7df8c73e596096c6d457d7f5d2a04a2a859e8c..fb02067f56ed6b80522fbfc35415c26969faaae2 100644 --- a/src/main/helm/templates/deployment.yaml +++ b/src/main/helm/templates/deployment.yaml @@ -140,7 +140,7 @@ spec: volumes: - name: user-manager-tls-certificate secret: - secretName: user-manager-tls + secretName: user-manager-tls-cert dnsConfig: {} dnsPolicy: ClusterFirst imagePullSecrets: diff --git a/src/test/helm/deplyoment_cert_bindings_test.yaml b/src/test/helm/deplyoment_cert_bindings_test.yaml index 843c51a41854b00a6bf136281b6d403efb0dcaf2..abcccc1b2754214eb93eaecbb09ee093880ff84c 100644 --- a/src/test/helm/deplyoment_cert_bindings_test.yaml +++ b/src/test/helm/deplyoment_cert_bindings_test.yaml @@ -49,13 +49,12 @@ tests: readOnly: true - it: should have volumes for user-manager root certificate - template: deployment.yaml set: namespace: sh-helm-test - asserts: - - contains: - path: spec.jobTemplate.spec.template.spec.volumes - content: - name: user-manager-root-ca - secret: - secretName: user-manager-tls-cert \ No newline at end of file + asserts: + - contains: + path: spec.template.spec.volumes + content: + name: user-manager-tls-certificate + secret: + secretName: user-manager-tls-cert \ No newline at end of file