Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sourcegraph/deploy-sourcegraph-helm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: sourcegraph/deploy-sourcegraph-helm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.6.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Aug 20, 2026

  1. [Backport 7.6.x] Fix grafana StatefulSet rendering with extraContaine…

    …rs and a service account (#924) (#925)
    
    Manual backport of #924 to `7.6.x` (the automated backport failed on a
    CHANGELOG conflict).
    
    cc @sourcegraph/release
    
    The grafana StatefulSet template renders `serviceAccountName` between
    the `containers` list and `grafana.extraContainers`, so setting both a
    service account and `extraContainers` produces invalid YAML. This moves
    the `extraContainers` block before `renderServiceAccountName`, matching
    the ordering every other template uses.
    
    This fix is required for customers using the Airgapped Analytics
    dashboard, with AWS IAM (IRSA) authentication to their Postgres database
    in RDS.
    
    ### Conflict resolution
    
    Only `charts/sourcegraph/CHANGELOG.md` conflicted: the hunk context on
    `main` included an unrelated `searcher.autoCacheSize` entry that does
    not exist on `7.6.x`. Kept only the grafana bullet; the template change
    applied cleanly.
    
    ### Test plan
    
    With test values setting both keys:
    
    ```yaml
    grafana:
      serviceAccount:
        create: false
        name: grafana-test-sa
      extraContainers:
        - name: test-sidecar
          image: busybox
    ```
    
    `helm template sourcegraph charts/sourcegraph -f test-values.yaml -s
    templates/grafana/grafana.StatefulSet.yaml` on this branch renders
    cleanly, with `test-sidecar` inside the `containers` list and
    `serviceAccountName: grafana-test-sa` after it.
    
    Co-authored-by: Amp <[email protected]>
    marcleblanc2 and ampagent authored Aug 20, 2026
    Configuration menu
    Copy the full SHA
    e3d8e79 View commit details
    Browse the repository at this point in the history
Loading