Skip to content

Commit cacc757

Browse files
merge location directives (#48)
1 parent 27aedbf commit cacc757

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

charts/internal-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v0.0.0
33
description: A Helm chart for Codefresh Internal Gateway
44
name: internal-gateway
5-
version: 0.2.1
5+
version: 0.2.2
66
home: https://github.com/codefresh-io/helm-charts
77
keywords:
88
- codefresh

charts/internal-gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# internal-gateway
22

3-
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![AppVersion: v0.0.0](https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square)
3+
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![AppVersion: v0.0.0](https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square)
44

55
A Helm chart for Codefresh Internal Gateway
66

charts/internal-gateway/templates/_location_map.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ serviceEndpoints:
9090
{{- define "internal-gateway.nginx-config-defaults"}}
9191
{{- $endpoints := include "internal-gateway.platform-endpoints" . | fromYaml }}
9292
{{- $presets := include "internal-gateway.location-presets" . | fromYaml }}
93+
{{- $_ := set $presets "locationDirectives" (mergeOverwrite $presets.locationDirectives .Values.nginx.config.locationDirectives) }}
9394
nginx:
9495
config:
9596
workerProcesses: "8"

0 commit comments

Comments
 (0)