Skip to content

Commit

Permalink
fix: correct secretName ref
Browse files Browse the repository at this point in the history
  • Loading branch information
soniqua committed Jul 16, 2024
1 parent 9be8240 commit aec8103
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/snyk-broker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: snyk-broker
version: 2.7.0
version: 2.7.1
description: A Helm chart for Kubernetes
type: application
2 changes: 1 addition & 1 deletion charts/snyk-broker/templates/broker_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ spec:
{{- if or (.Values.caCert) (.Values.caCertFile) }}
- name: {{ include "snyk-broker.fullname" . }}-cacert-volume
secret:
name: {{ include "snyk-broker.caCertSecretName" . }}
secretName: {{ include "snyk-broker.caCertSecretName" . }}
{{- end }}
{{- if and (.Values.httpsCert) (.Values.httpsKey) }}
- name: {{ include "snyk-broker.fullname" . }}-tls-secret-volume
Expand Down
12 changes: 6 additions & 6 deletions charts/snyk-broker/tests/broker_deployment_ca_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tests:
content:
name: RELEASE-NAME-snyk-broker-cacert-volume
secret:
name: RELEASE-NAME-snyk-broker-cacert-secret
secretName: RELEASE-NAME-snyk-broker-cacert-secret
template: broker_deployment.yaml
- contains:
path: spec.template.spec.containers[0].volumeMounts
Expand Down Expand Up @@ -68,7 +68,7 @@ tests:
content:
name: RELEASE-NAME-snyk-broker-cacert-volume
secret:
name: snyk-broker-cacert-secret
secretName: snyk-broker-cacert-secret
template: broker_deployment.yaml
- contains:
path: spec.template.spec.containers[0].volumeMounts
Expand Down Expand Up @@ -115,7 +115,7 @@ tests:
content:
name: RELEASE-NAME-snyk-broker-cacert-volume
secret:
name: RELEASE-NAME-snyk-broker-cacert-secret
secretName: RELEASE-NAME-snyk-broker-cacert-secret
template: broker_deployment.yaml
- equal:
path: data.cacert
Expand Down Expand Up @@ -153,7 +153,7 @@ tests:
content:
name: RELEASE-NAME-snyk-broker-cacert-volume
secret:
name: RELEASE-NAME-snyk-broker-cacert-secret
secretName: RELEASE-NAME-snyk-broker-cacert-secret
template: broker_deployment.yaml
- equal:
path: data.cacert
Expand Down Expand Up @@ -198,7 +198,7 @@ tests:
content:
name: RELEASE-NAME-snyk-broker-cacert-volume
secret:
name: RELEASE-NAME-snyk-broker-cacert-secret
secretName: RELEASE-NAME-snyk-broker-cacert-secret
template: broker_deployment.yaml
- equal:
path: data.cacert
Expand Down Expand Up @@ -244,7 +244,7 @@ tests:
content:
name: RELEASE-NAME-snyk-broker-cacert-volume
secret:
name: RELEASE-NAME-snyk-broker-cacert-secret
secretName: RELEASE-NAME-snyk-broker-cacert-secret
template: broker_deployment.yaml
- equal:
path: data.cacert
Expand Down

0 comments on commit aec8103

Please sign in to comment.