Skip to content

Commit

Permalink
Adding sb_env external label (#1845)
Browse files Browse the repository at this point in the history
Signed-off-by: Rajesh Rajendran <[email protected]>
  • Loading branch information
rjshrjndrn authored Aug 28, 2020
1 parent a15087f commit 96d1606
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ prometheus:
additionalScrapeConfigsExternal: true
retention: "{{ prometheus_retention_time | d('90d') }}"
externalLabels:
cluster: "{{ kubernetes_cluster_name | default('kubernetes-1')}}" # this label will deprecate in release-3.4.0
env: "{{ env }}" # this label will deprecate in release-3.4.0
sb_cluster: "{{ kubernetes_cluster_name | default('kubernetes-1')}}"
env: "{{ env }}"
sb_env: "{{ env }}"
{% if prometheus_storage_spec is defined and prometheus_storage_spec %}
storageSpec: {{ prometheus_storage_spec|to_json }}
{% endif %}
Expand Down

0 comments on commit 96d1606

Please sign in to comment.