Skip to content

Commit

Permalink
simple-app 0.14.0: * Add monitoringCoreos.port for case when monito…
Browse files Browse the repository at this point in the history
…ring endpoint is on a different port
  • Loading branch information
elephantum committed Oct 23, 2024
1 parent ba0d8f8 commit 0474a37
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions charts/simple-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.14.0

* Add `monitoringCoreos.port` for case when monitoring endpoint is on a
different port

# 0.13.0

* Add `spreadServiceAcrossNodes` setting
Expand Down
2 changes: 1 addition & 1 deletion charts/simple-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.13.0"
version: "0.14.0"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/simple-app/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Remove `fullnameOverride` - it should always be equal to `.Release.Name`
* Rename `nameOverride` to `appName`, make it required
4 changes: 2 additions & 2 deletions charts/simple-app/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
name: {{ include "simple-app.fullname" . }}
spec:
endpoints:
- path: {{ .Values.gke.monitoring.path }}
port: http
- path: {{ .Values.monitoringCoreos.path }}
port: {{ .Values.monitoringCoreos.port }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
Expand Down
3 changes: 3 additions & 0 deletions charts/simple-app/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@
},
"path": {
"type": "string"
},
"port": {
"type": ["string", "integer"]
}
}
}
Expand Down
1 change: 1 addition & 0 deletions charts/simple-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,4 @@ monitoringCoreos:
# If enabled, creates ServiceMonitor for Prometheus Operator
enabled: false
path: "/metrics"
port: http

0 comments on commit 0474a37

Please sign in to comment.