Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/prometheus] Document in README and Values "enableServiceLinks" (
Browse files Browse the repository at this point in the history
#23346)

* Values file comment fix. Document enableServiceLinks.

Signed-off-by: Xtigyro <[email protected]>

* document fix for enableServiceLinks

Signed-off-by: Xtigyro <[email protected]>

* small typo fix

Signed-off-by: Xtigyro <[email protected]>

* better explanation for EnableServiceLinks

Signed-off-by: Xtigyro <[email protected]>

* bump chart ver.

Signed-off-by: Xtigyro <[email protected]>

* clearer EnableServiceLinks warning

Signed-off-by: Xtigyro <[email protected]>
  • Loading branch information
Xtigyro authored Jul 27, 2020
1 parent 95ef651 commit d0cc081
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus
version: 11.10.0
version: 11.10.1
appVersion: 2.19.0
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
Expand Down
1 change: 1 addition & 0 deletions stable/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ Parameter | Description | Default
`server.podDisruptionBudget.enabled` | If true, create a PodDisruptionBudget | `false`
`server.podDisruptionBudget.maxUnavailable` | Maximum unavailable instances in PDB | `1`
`server.priorityClassName` | Prometheus server priorityClassName | `nil`
`server.enableServiceLinks` | Set service environment variables in Prometheus server pods | `true`
`server.schedulerName` | Prometheus server alternate scheduler name | `nil`
`server.persistentVolume.enabled` | If true, Prometheus server will create a Persistent Volume Claim | `true`
`server.persistentVolume.accessModes` | Prometheus server data Persistent Volume access modes | `[ReadWriteOnce]`
Expand Down
5 changes: 4 additions & 1 deletion stable/prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,10 @@ server:
##
priorityClassName: ""

# EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.
## EnableServiceLinks indicates whether information about services should be injected
## into pod's environment variables, matching the syntax of Docker links.
## WARNING: the field is unsupported and will be skipped in K8s prior to v1.13.0.
##
enableServiceLinks: true

## The URL prefix at which the container can be accessed. Useful in the case the '-web.external-url' includes a slug
Expand Down

0 comments on commit d0cc081

Please sign in to comment.