feat: add fullname override option for gha-runner-scale-set
This commit is contained in:
parent
1e10417be8
commit
dd0e626973
|
|
@ -20,9 +20,13 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||||
If release name contains chart name it will be used as a full name.
|
If release name contains chart name it will be used as a full name.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "gha-runner-scale-set.fullname" -}}
|
{{- define "gha-runner-scale-set.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride -}}
|
||||||
|
{{- .Values.fullnameOverride -}}
|
||||||
|
{{- else -}}
|
||||||
{{- $name := default (include "gha-base-name" .) }}
|
{{- $name := default (include "gha-base-name" .) }}
|
||||||
{{- printf "%s-%s" (include "gha-runner-scale-set.scale-set-name" .) $name | trunc 63 | trimSuffix "-" }}
|
{{- printf "%s-%s" (include "gha-runner-scale-set.scale-set-name" .) $name | trunc 63 | trimSuffix "-" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create chart name and version as used by the chart label.
|
Create chart name and version as used by the chart label.
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,11 @@ githubConfigSecret:
|
||||||
## name of the runner scale set to create. Defaults to the helm release name
|
## name of the runner scale set to create. Defaults to the helm release name
|
||||||
# runnerScaleSetName: ""
|
# runnerScaleSetName: ""
|
||||||
|
|
||||||
|
## Override the fullname of the gha-runner-scale-set
|
||||||
|
## This is useful for deploying multiple runner scale sets in the same namespace
|
||||||
|
## with the same scale set name but different GitHub configuration URLs.
|
||||||
|
fullnameOverride: ""
|
||||||
|
|
||||||
## A self-signed CA certificate for communication with the GitHub server can be
|
## A self-signed CA certificate for communication with the GitHub server can be
|
||||||
## provided using a config map key selector. If `runnerMountPath` is set, for
|
## provided using a config map key selector. If `runnerMountPath` is set, for
|
||||||
## each runner pod ARC will:
|
## each runner pod ARC will:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue