Skip to content

Commit

Permalink
fix: Ingress FCGI configmap per release
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubenglicky committed Nov 22, 2023
1 parent 886fff3 commit 7f9af80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/preview-app/templates/config-map-fcgi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ingress-fcgi-cm
name: {{ .Release.Name }}-ingress-fcgi-cm
data:
SCRIPT_FILENAME: "{{ .Values.fcgi_script_filename }}"
{{ end }}
2 changes: 1 addition & 1 deletion charts/preview-app/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
{{ if .Values.fcgi }}
nginx.ingress.kubernetes.io/backend-protocol: "FCGI"
nginx.ingress.kubernetes.io/fastcgi-index: "index.php"
nginx.ingress.kubernetes.io/fastcgi-params-configmap: "ingress-fcgi-cm"
nginx.ingress.kubernetes.io/fastcgi-params-configmap: "{{ .Release.Name }}-ingress-fcgi-cm"
{{ end }}
spec:
ingressClassName: nginx
Expand Down

0 comments on commit 7f9af80

Please sign in to comment.