File tree Expand file tree Collapse file tree 5 files changed +20
-8
lines changed
gha-runner-scale-set-controller
docs/gha-runner-scale-set-controller Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
2- name : gha-rs -controller
2+ name : gha-runner-scale-set -controller
33description : A Helm chart for install actions-runner-controller CRD
44
55# A chart can be either an 'application' or a 'library' chart.
Original file line number Diff line number Diff line change 11{ {/*
22Expand the name of the chart.
33*/} }
4+
5+
6+ { {- define " gha-base-name" -} }
7+ gha-rs-controller
8+ { {- end } }
9+
410{ {- define " gha-runner-scale-set-controller.name" -} }
5- { {- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix " -" } }
11+ { {- default ( include " gha-base-name " .) .Values.nameOverride | trunc 63 | trimSuffix " -" } }
612{ {- end } }
713
814{ {/*
@@ -14,7 +20,7 @@ If release name contains chart name it will be used as a full name.
1420{ {- if .Values.fullnameOverride } }
1521{ {- .Values.fullnameOverride | trunc 63 | trimSuffix " -" } }
1622{ {- else } }
17- { {- $name := default .Chart.Name .Values.nameOverride } }
23+ { {- $name := default ( include " gha-base-name " .) .Values.nameOverride } }
1824{ {- if contains $name .Release.Name } }
1925{ {- .Release.Name | trunc 63 | trimSuffix " -" } }
2026{ {- else } }
@@ -27,7 +33,7 @@ If release name contains chart name it will be used as a full name.
2733Create chart name and version as used by the chart label.
2834*/} }
2935{ {- define " gha-runner-scale-set-controller.chart" -} }
30- { {- printf " %s-%s" .Chart.Name .Chart.Version | replace " +" " _" | trunc 63 | trimSuffix " -" } }
36+ { {- printf " %s-%s" ( include " gha-base-name " .) .Chart.Version | replace " +" " _" | trunc 63 | trimSuffix " -" } }
3137{ {- end } }
3238
3339{ {/*
Original file line number Diff line number Diff line change 11apiVersion : v2
2- name : gha-rs
2+ name : gha-runner-scale-set
33description : A Helm chart for deploying an AutoScalingRunnerSet
44
55# A chart can be either an 'application' or a 'library' chart.
Original file line number Diff line number Diff line change 11{ {/*
22Expand the name of the chart.
33*/} }
4+
5+ { {- define " gha-base-name" -} }
6+ gha-rs
7+ { {- end } }
8+
49{ {- define " gha-runner-scale-set.name" -} }
5- { {- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix " -" } }
10+ { {- default ( include " gha-base-name " .) .Values.nameOverride | trunc 63 | trimSuffix " -" } }
611{ {- end } }
712
813{ {/*
@@ -11,15 +16,15 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
1116If release name contains chart name it will be used as a full name.
1217*/} }
1318{ {- define " gha-runner-scale-set.fullname" -} }
14- { {- $name := default .Chart.Name } }
19+ { {- $name := default ( include " gha-base-name " .) } }
1520{ {- printf " %s-%s" .Release.Name $name | trunc 63 | trimSuffix " -" } }
1621{ {- end } }
1722
1823{ {/*
1924Create chart name and version as used by the chart label.
2025*/} }
2126{ {- define " gha-runner-scale-set.chart" -} }
22- { {- printf " %s-%s" .Chart.Name .Chart.Version | replace " +" " _" | trunc 63 | trimSuffix " -" } }
27+ { {- printf " %s-%s" ( include " gha-base-name " .) .Chart.Version | replace " +" " _" | trunc 63 | trimSuffix " -" } }
2328{ {- end } }
2429
2530{ {/*
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ You can follow [this troubleshooting guide](https://docs.github.com/en/actions/h
53531 . Add configurable log format to values.yaml and propagate it to listener [ #2686 ] ( https://github.com/actions/actions-runner-controller/pull/2686 )
54541 . Extend manager roles to accept ephemeralrunnerset/finalizers [ #2493 ] ( https://github.com/actions/actions-runner-controller/pull/2493 )
55551 . Trim repo/org/enterprise to 63 characters in label values [ #2657 ] ( https://github.com/actions/actions-runner-controller/pull/2657 )
56+ 1 . Revert back chart renaming [ #2824 ] ( https://github.com/actions/actions-runner-controller/pull/2824 )
56571 . Discard logs on helm chart tests [ #2607 ] ( https://github.com/actions/actions-runner-controller/pull/2607 )
57581 . Use build.Version to check if resource version is a mismatch [ #2521 ] ( https://github.com/actions/actions-runner-controller/pull/2521 )
58591 . Reordering methods and constants so it is easier to look it up [ #2501 ] ( https://github.com/actions/actions-runner-controller/pull/2501 )
You can’t perform that action at this time.
0 commit comments