Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Joatin committed Jan 7, 2025
1 parent 949dee4 commit 1570782
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/ocpp-csms-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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.20
version: 0.1.21

# 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: 1 addition & 1 deletion charts/ocpp-csms-server/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: [ "/bin/api" ]
ports:
- name: http
- name: grpc
containerPort: {{ .Values.api.service.port }}
protocol: TCP
env:
Expand Down
2 changes: 1 addition & 1 deletion charts/ocpp-csms-server/templates/api-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ spec:
- port: {{ .Values.api.service.port }}
targetPort: http
protocol: TCP
name: http
name: grpc
selector:
{{ include "ocpp-csms-server.apiSelectorLabels" . | nindent 4 }}
20 changes: 8 additions & 12 deletions charts/ocpp-csms-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,11 @@ ocpp:

# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
httpGet:
path: /
port: http
grpc:
port: grpc
readinessProbe:
httpGet:
path: /
port: http
grpc:
port: grpc

# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling:
Expand Down Expand Up @@ -195,13 +193,11 @@ api:

# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
httpGet:
path: /
port: http
grpc:
port: grpc
readinessProbe:
httpGet:
path: /
port: http
grpc:
port: grpc

# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling:
Expand Down

0 comments on commit 1570782

Please sign in to comment.