root: allow changing of APM verify_server_cert setting
This commit is contained in:
parent
0b250b897e
commit
d95c5aa739
|
@ -27,6 +27,7 @@ config:
|
||||||
enabled: false
|
enabled: false
|
||||||
server_url: ""
|
server_url: ""
|
||||||
secret_token: ""
|
secret_token: ""
|
||||||
|
verify_server_cert: true
|
||||||
|
|
||||||
# This Helm chart ships with built-in Prometheus ServiceMonitors and Rules.
|
# This Helm chart ships with built-in Prometheus ServiceMonitors and Rules.
|
||||||
# This requires the CoreOS Prometheus Operator.
|
# This requires the CoreOS Prometheus Operator.
|
||||||
|
|
|
@ -25,3 +25,4 @@ data:
|
||||||
enabled: {{ .Values.config.apm.enabled }}
|
enabled: {{ .Values.config.apm.enabled }}
|
||||||
server_url: "{{ .Values.config.apm.server_url }}"
|
server_url: "{{ .Values.config.apm.server_url }}"
|
||||||
secret_token: "{{ .Values.config.apm.server_token }}"
|
secret_token: "{{ .Values.config.apm.server_token }}"
|
||||||
|
verify_server_cert: {{ .Values.config.apm.verify_server_cert }}
|
||||||
|
|
|
@ -19,6 +19,7 @@ config:
|
||||||
enabled: false
|
enabled: false
|
||||||
server_url: ""
|
server_url: ""
|
||||||
secret_token: ""
|
secret_token: ""
|
||||||
|
verify_server_cert: true
|
||||||
|
|
||||||
# This Helm chart ships with built-in Prometheus ServiceMonitors and Rules.
|
# This Helm chart ships with built-in Prometheus ServiceMonitors and Rules.
|
||||||
# This requires the CoreOS Prometheus Operator.
|
# This requires the CoreOS Prometheus Operator.
|
||||||
|
|
|
@ -290,7 +290,8 @@ if _APM_ENABLED:
|
||||||
"SERVICE_NAME": "passbook",
|
"SERVICE_NAME": "passbook",
|
||||||
"SERVICE_VERSION": __version__,
|
"SERVICE_VERSION": __version__,
|
||||||
"SECRET_TOKEN": CONFIG.y("apm.secret_token", ""),
|
"SECRET_TOKEN": CONFIG.y("apm.secret_token", ""),
|
||||||
"SERVER_URL": CONFIG.y("apm.secret_token", "http://localhost:8200"),
|
"SERVER_URL": CONFIG.y("apm.server_url", "http://localhost:8200"),
|
||||||
|
"VERIFY_SERVER_CERT": CONFIG.y_bool("apm.verify_server_cert", True),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue