Skip to content

Bumping version from 0.10.1 -> 0.11.0 gha-runner-scale-set chart failed #4045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks done
andycwk opened this issue Apr 17, 2025 · 1 comment
Open
4 tasks done
Labels
bug Something isn't working gha-runner-scale-set Related to the gha-runner-scale-set mode needs triage Requires review from the maintainers

Comments

@andycwk
Copy link

andycwk commented Apr 17, 2025

Checks

Controller Version

0.10.0

Deployment Method

Other

Checks

  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes

To Reproduce

Have a good install of 0.10.1 via Flux and then attempt to upgrade the scale set to 0.11.0

Describe the bug

Flux reports the helm release fails with the following error..

Helm upgrade failed: template: gha-runner-scale-set/templates/no_permission_serviceaccount.yaml:1:63: executing "gha-runner-scale-set/templates/no_permission_servicea
ccount.yaml" at <.Values.resourceMeta.noPermissionServiceAccount>: nil pointer evaluating interface {}.noPermissionServiceAccount

Describe the expected behavior

I expected the new version to install wtihout issue!

Additional Context

release.yaml
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: arc-tad-scale-set
  namespace: flux-system
spec:
  chart:
    spec:
      chart: gha-runner-scale-set
      version: "0.11.0"
      sourceRef:
        kind: HelmRepository
        name: arc

  interval: 10m0s
  targetNamespace: arc-xx-apps-deploy-runners
  
  valuesFrom:
    - kind: ConfigMap
      name: xx-apps-deploy-scale-set-values


config map for values..
apiVersion: v1
kind: ConfigMap
metadata:
  name: xx-apps-deploy-scale-set-values
  namespace: flux-system

data:
  values.yaml: |
    githubConfigUrl: https://gh.xx.com/xx-Apps
    githubConfigSecret: arc-xx-apps-gh-app-secret

    namespace: arc-xx-apps-deploy-runners
    runnerScaleSetName: xx-apps-deploy-only-scale-set

    minRunners: 1

    template:
      spec:
        containers:
          - name: runner
            image: ghcr.io/actions/actions-runner:latest
            command: ["/home/runner/run.sh"]
            securityContext:
              privileged: true
              capabilities:
                add:
                  - SYS_ADMIN
                  - DAC_OVERRIDE
            volumeMounts:
              - name: dev-fuse
                mountPath: /dev/fuse
              - name: fuse-config
                mountPath: /etc/fuse.conf
                readOnly: true
        volumes:
          - name: dev-fuse
            hostPath:
              path: /dev/fuse
              type: CharDevice
          - name: fuse-config
            hostPath:
              path: /etc/fuse.conf
              type: File

Controller Logs

N/A

Runner Pod Logs

N/A
@andycwk andycwk added bug Something isn't working gha-runner-scale-set Related to the gha-runner-scale-set mode needs triage Requires review from the maintainers labels Apr 17, 2025
Copy link
Contributor

Hello! Thank you for filing an issue.

The maintainers will triage your issue shortly.

In the meantime, please take a look at the troubleshooting guide for bug reports.

If this is a feature request, please review our contribution guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gha-runner-scale-set Related to the gha-runner-scale-set mode needs triage Requires review from the maintainers
Projects
None yet
Development

No branches or pull requests

1 participant