Skip to content

Commit

Permalink
fix: santander template set Hosts header
Browse files Browse the repository at this point in the history
  • Loading branch information
belskiiartem committed Dec 5, 2024
1 parent 1e3cacc commit 31b2890
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
8 changes: 2 additions & 6 deletions charts/newrelic-php-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@ apiVersion: v2
name: newrelic-php-agent
description: A Helm chart to deploy the New Relic PHP Agent.
type: application
version: 0.1.2
appVersion: "0.1.2"
dependencies:
- name: common
version: 2.x.x
repository: https://charts.bitnami.com/bitnami
version: 0.1.1
appVersion: "0.1.1"
10 changes: 5 additions & 5 deletions charts/wp-project-skeleton/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 2.23.0
version: 2.8.0
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 17.17.1
version: 17.15.0
- name: newrelic-php-agent
repository: https://wp-digital.github.io/helm-charts
version: 0.1.2
digest: sha256:db47d2be6f732660a810385cebf8521314b25da8fa5b03925a65d70b1aeb5b63
generated: "2024-09-19T17:05:48.365254951+03:00"
version: 0.1.1
digest: sha256:495fc54303b929ec52255cec9a51cbc56b9e0c0c815c1620a93de6745f6897c5
generated: "2023-08-09T21:20:39.992311+03:00"
6 changes: 3 additions & 3 deletions charts/wp-project-skeleton/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: wp-project-skeleton
description: A Helm chart to deploy WordPress project.
type: application
version: 0.5.17
appVersion: "0.5.17"
version: 0.5.18
appVersion: "0.5.18"
dependencies:
- name: common
version: 2.x.x
Expand All @@ -12,5 +12,5 @@ dependencies:
version: 17.x.x
repository: https://charts.bitnami.com/bitnami
- name: newrelic-php-agent
version: 0.1.2
version: 0.1.1
repository: https://wp-digital.github.io/helm-charts
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ data:
fastcgi_param HTTP_X_REQUEST_START "t=${msec}";
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SERVER_NAME $host;
fastcgi_param HTTP_HOST $host;
fastcgi_param SERVER_NAME "{{ .Values.nginx.hostsHeader }}";
fastcgi_param HTTP_HOST "{{ .Values.nginx.hostsHeader }}";
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
fastcgi_read_timeout 300;
Expand Down
3 changes: 1 addition & 2 deletions charts/wp-project-skeleton/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ redis:
replicaCount: 0

newrelic-php-agent:
autoscaling:
minReplicas: 1
replicaCount: 1
resources:
limits:
cpu: 100m
Expand Down

0 comments on commit 31b2890

Please sign in to comment.