Checks
Controller Version
0.14.2
GitHub Enterprise Server
3.17.15
Deployment Method
Helm
Checks
To Reproduce
1. Upgraded gha-runner-scale-set-controller to 0.14.2 through helm chart
2. Deployed gha-runner-scale-set with scaleSetLabels: [ubuntu24] and scaleSetLabels: ubuntu-scale-set for gha-runner-scale-set deployment
3. After deployment ~~runner~~ runner-scale-set showed up in the github with `ubuntu-scale-set` as label but `ubuntu24` was ignored.
Describe the bug
I am trying to migrate from existing RunnerDeployment using actions.summerwind.dev/v1alpha1 to gha-runner-scale-set.
In RunnerDeployment I have specified labels
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: gh-action-ubuntu
namespace: gh-action-runner
spec:
replicas: 1
....
labels:
- ubuntu24
I have specified scaleSetLabels: [ubuntu24] along with runnerScaleSetName: ubuntu-scale-set as override values for gha-runner-scale-set,
Corresponding runners runner-scale-sets are created in github and only runnerScaleSetName set as labels and labels passed to scaleSetLabels are ignored.
corresponding EphemeralRunnerSet created is
apiVersion: actions.github.com/v1alpha1
kind: EphemeralRunnerSet
metadata:
annotations:
actions.github.com/runner-group-name: Default
actions.github.com/runner-scale-set-name: gh-action-ubuntu
labels:
actions.github.com/scale-set-name: gh-action-ubuntu
actions.github.com/scale-set-namespace: ghe-action-runner
app.kubernetes.io/component: runner-set
app.kubernetes.io/instance: gh-action-ubuntu
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: gh-action-ubuntu
app.kubernetes.io/part-of: gha-runner-scale-set
app.kubernetes.io/version: 0.14.2
helm.sh/chart: gha-rs-0.14.2
Describe the expected behavior
Expecting runner runner-scale-sets created in github through gha-runner-scale-set helm chart with scaleSetLabels parameters are inserted as labels,
Additional Context
Current environment deployed with helm chart
- actions-runner-controller 0.23.7 (trying to migrate from this state)
- gha-runner-scale-set-controller-0.14.2
- gha-runner-scale-set-0.14.2
Values.yaml
runnerScaleSetName: gh-action-ubuntu
scaleSetLabels:
- ubuntu24
Relevant to
- https://github.com/actions/actions-runner-controller/pull/4408
- https://github.com/actions/actions-runner-controller/issues/3327
Controller Logs
Runner Pod Logs
Checks
Controller Version
0.14.2
GitHub Enterprise Server
3.17.15
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
I am trying to migrate from existing RunnerDeployment using actions.summerwind.dev/v1alpha1 to gha-runner-scale-set.
In RunnerDeployment I have specified labels
I have specified scaleSetLabels: [ubuntu24] along with runnerScaleSetName: ubuntu-scale-set as override values for gha-runner-scale-set,
Corresponding
runnersrunner-scale-sets are created in github and only runnerScaleSetName set as labels and labels passed to scaleSetLabels are ignored.corresponding EphemeralRunnerSet created is
Describe the expected behavior
Expecting
runnerrunner-scale-sets created in github through gha-runner-scale-set helm chart with scaleSetLabels parameters are inserted as labels,Additional Context
Controller Logs
Runner Pod Logs