Skip to content

Commit

Permalink
Merge pull request #10 from kuzzleio/feat/chirpstack-adjustments
Browse files Browse the repository at this point in the history
ChirpStack: disable metrics and rest api, use well-known component selector
  • Loading branch information
rolljee authored Mar 6, 2023
2 parents de985f3 + 5daa911 commit 3da3686
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/chirpstack/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.1.0
version: 0.2.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
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
selector:
matchLabels:
{{- include "chirpstack.selectorLabels" . | nindent 6 }}
component: restApi
app.kubernetes.io/component: restApi
template:
metadata:
annotations:
Expand All @@ -19,7 +19,7 @@ spec:
{{- end }}
labels:
{{- include "chirpstack.selectorLabels" . | nindent 8 }}
component: restApi
app.kubernetes.io/component: restApi
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ spec:
name: api
selector:
{{- include "chirpstack.selectorLabels" . | nindent 4 }}
component: restApi
app.kubernetes.io/component: restApi
{{- end }}
4 changes: 2 additions & 2 deletions charts/chirpstack/templates/chirpstack/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
selector:
matchLabels:
{{- include "chirpstack.selectorLabels" . | nindent 6 }}
component: core
app.kubernetes.io/component: core
template:
metadata:
annotations:
Expand All @@ -23,7 +23,7 @@ spec:
{{- end }}
labels:
{{- include "chirpstack.selectorLabels" . | nindent 8 }}
component: core
app.kubernetes.io/component: core
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
2 changes: 1 addition & 1 deletion charts/chirpstack/templates/chirpstack/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ spec:
name: dashboard
selector:
{{- include "chirpstack.selectorLabels" . | nindent 4 }}
component: core
app.kubernetes.io/component: core
4 changes: 2 additions & 2 deletions charts/chirpstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ chirpstack:

# Configuration of the ChirpStack metrics server
metrics:
enabled: true
enabled: false
port: 8081

# Extra config files that are mounted in the configuration directory
Expand Down Expand Up @@ -167,7 +167,7 @@ chirpstack:
# Configuration values for the ChirpStack REST API bridge
chirpstackRestApi:
# Whether the REST API service is deployed
enabled: true
enabled: false

# Name and replica count of the ChirpStack REST API app
name: chirpstack-rest-api
Expand Down

0 comments on commit 3da3686

Please sign in to comment.