Skip to content

Commit

Permalink
fix: add trunate to ensure service kinds have valid names (#325)
Browse files Browse the repository at this point in the history
* fix: adding truncate for service kinds

* chore : bumping chart version
  • Loading branch information
callum-tait-pbx authored Feb 17, 2021
1 parent c88ff44 commit 0fce761
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/actions-runner-controller/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.5.0
version: 0.5.1

home: https://github.com/summerwind/actions-runner-controller

Expand Down
4 changes: 2 additions & 2 deletions charts/actions-runner-controller/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ Create the name of the service account to use
{{- end }}

{{- define "actions-runner-controller.webhookServiceName" -}}
{{- include "actions-runner-controller.fullname" . }}-webhook
{{- include "actions-runner-controller.fullname" . | trunc 55 }}-webhook
{{- end }}

{{- define "actions-runner-controller.authProxyServiceName" -}}
{{- include "actions-runner-controller.fullname" . }}-metrics-service
{{- include "actions-runner-controller.fullname" . | trunc 47 }}-metrics-service
{{- end }}

{{- define "actions-runner-controller.selfsignedIssuerName" -}}
Expand Down

0 comments on commit 0fce761

Please sign in to comment.