Skip to content

Commit

Permalink
change fpm conf file name
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-mher committed Dec 16, 2022
1 parent 9762538 commit 79567de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: backend
description: Helm chart scaffolding for Backend applications.
type: application
version: 3.5.3
version: 3.5.4
appVersion: 1.3.0
4 changes: 2 additions & 2 deletions charts/backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ spec:
mountPath: /usr/local/etc/php/php.ini
subPath: php.ini
- name: php-fpm-config
mountPath: /usr/local/etc/php/conf.d/laravel.conf
subPath: laravel.conf
mountPath: /usr/local/etc/php-fpm.d/www.conf
subPath: www.conf
{{- if .Values.blackfire.enabled }}
- name: blackfire-config
mountPath: /usr/local/etc/php/conf.d/blackfire.ini
Expand Down
15 changes: 3 additions & 12 deletions charts/backend/templates/external-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,8 @@ spec:
target:
name: {{ .Release.Name }}-env
creationPolicy: Owner
template:
engineVersion: v2
data:
.env: |
{{- range $secret := .Values.externalsecrets.env }}
{{ $secret }}="{{- printf "{{ "}}{{- printf "."}}{{ $secret }}{{- printf " }}"}}"
{{- end }}
data:
{{- range $secret := .Values.externalsecrets.env }}
- secretKey: {{ $secret }}
- secretKey: {{ .Values.externalsecrets.secretkey }}
remoteRef:
key: {{ $.Values.env }}-{{ $secret }}
{{- end }}
{{- end }}
key: {{ $.Values.env }}-{{ .Release.Name }}
{{- end }}

0 comments on commit 79567de

Please sign in to comment.