Skip to content

Commit

Permalink
Stringify config map defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikOssipoff committed Jun 2, 2023
1 parent eca4995 commit 5c11bac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/fastapi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: fastapi
description: A simple Coolshop Helm chart for deploying FastAPI applications in Kubernetes
type: application
version: 1.0.3
version: 1.0.4
appVersion: latest
icon: https://static.coolshop-cdn.com/images/favicons/coolshop/favicon-256.png
maintainers:
Expand Down
14 changes: 7 additions & 7 deletions charts/fastapi/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ haproxy.org/request-set-header: l5d-dst-override {{ include "fastapi-helm-chart.
{{- end }}

{{- define "fastapi-helm-chart.monitoring-config" -}}
ELASTIC_APM_SERVICE_NAME: {{ include "fastapi-helm-chart.fullname" . }}
ELASTIC_APM_SERVER_URL: http://apm-server-service.elastic.svc.cluster.local:8200
ELASTIC_APM_ENVIRONMENT: {{ .Release.Namespace | default .Values.namespace }}
ELASTIC_APM_CLOUD_PROVIDER: gcp
ELASTIC_APM_CENTRAL_CONFIG: false
ELASTIC_APM_SERVER_TIMEOUT: 10s
SENTRY_ENVIRONMENT: {{ .Release.Namespace | default .Values.namespace }}
ELASTIC_APM_SERVICE_NAME: "{{ include "fastapi-helm-chart.fullname" . }}"
ELASTIC_APM_SERVER_URL: "http://apm-server-service.elastic.svc.cluster.local:8200"
ELASTIC_APM_ENVIRONMENT: "{{ .Release.Namespace | default .Values.namespace }}"
ELASTIC_APM_CLOUD_PROVIDER: "gcp"
ELASTIC_APM_CENTRAL_CONFIG: "false"
ELASTIC_APM_SERVER_TIMEOUT: "10s"
SENTRY_ENVIRONMENT: "{{ .Release.Namespace | default .Values.namespace }}"
{{- end }}

0 comments on commit 5c11bac

Please sign in to comment.