Skip to content

Commit

Permalink
event-reporter / statefulset: changed env CODEFRESH_SSL_CERT_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-codefresh committed Jun 12, 2024
1 parent 792790f commit f0aa4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/argo-cd/templates/event-reporter/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
{{- if or .Values.global.codefresh.tls.caCerts.secret.create .Values.global.codefresh.tls.caCerts.secretKeyRef }}
{{- $name := .Values.global.codefresh.tls.caCerts.secret.create | ternary "codefresh-tls-certs" .Values.global.codefresh.tls.caCerts.secretKeyRef.name }}
{{- $key := .Values.global.codefresh.tls.caCerts.secret.create | ternary (default "ca-bundle.crt" .Values.global.codefresh.tls.caCerts.secret.key) .Values.global.codefresh.tls.caCerts.secretKeyRef.key }}
- name: CODEFRESH_SSL_CERT_FILE
- name: CODEFRESH_SSL_CERT_PATH
value: /app/config/codefresh-tls-certs/{{ $key }}
{{- end }}
# todo: clean up
Expand Down Expand Up @@ -224,7 +224,7 @@ spec:
successThreshold: {{ .Values.eventReporter.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.eventReporter.readinessProbe.failureThreshold }}
resources:
{{- toYaml .Values.eventReporter.resources | nindent 10 }}
{{- toYaml .Values.eventReporter.resources | nindent 12 }}
{{- with .Values.eventReporter.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
Expand Down

0 comments on commit f0aa4c5

Please sign in to comment.