Skip to content

Commit

Permalink
fix: remove illegal characters from port name (#191)
Browse files Browse the repository at this point in the history
* fix: remove illegal characters from port name

* patch

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Elio Bischof <elio@zitadel.com>
  • Loading branch information
3 people committed Apr 11, 2024
1 parent 2a0285e commit 0ce499a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/zitadel/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: zitadel
description: A Helm chart for ZITADEL
type: application
appVersion: "v2.49.1"
version: 7.12.0
version: 7.12.1
kubeVersion: ">= 1.21.0-0"
icon: https://zitadel.com/zitadel-logo-dark.svg
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/zitadel/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- port: {{ .Values.service.port }}
targetPort: 8080
protocol: TCP
name: {{ .Values.service.protocol }}-server
name: {{ regexReplaceAll "\\W+" .Values.service.protocol "-" }}-server
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
appProtocol: {{ .Values.service.protocol }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/zitadel/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- end }}
spec:
endpoints:
- port: {{ .Values.service.protocol }}-server
- port: {{ regexReplaceAll "\\W+" .Values.service.protocol "-" }}-server
{{- if .Values.metrics.serviceMonitor.scrapeInterval }}
interval: {{ .Values.metrics.serviceMonitor.scrapeInterval }}
{{- end }}
Expand Down

0 comments on commit 0ce499a

Please sign in to comment.