You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4c8073a
Browse filesBrowse the repository at this point in the historyBrowse files
charts: render each label and pod annotation key once
A key set both globally (sourcegraph.labels, podLabels, podAnnotations)
and per component was rendered twice in one map. Helm keeps the last one,
but kustomize rejects the manifest.
Add a sourcegraph.mergedMaps helper to each chart, which merges the maps
with later ones winning, and render the global and component maps through
it. The merge order matches the old rendering order, so Helm releases
render the same objects.
Add kustomizeRender_labelOverrides.yaml to the migrator and executor
charts, so the kustomize render check covers them too.
Amp-Thread-ID: https://ampcode.com/threads/T-01a2140d-bf64-751f-9812-0c8757baf6fd
Co-authored-by: Amp <amp@ampcode.com>
Copy file name to clipboardExpand all lines: charts/sourcegraph-executor/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
<!-- START CHANGELOG -->
4
4
## Unreleased
5
5
6
+
- Fixed a label or pod annotation key set both in `sourcegraph.labels`, `sourcegraph.podLabels`, or `sourcegraph.podAnnotations` and in the `executor` or `privateDockerRegistry` equivalent being rendered twice in one map. Helm used the last one, but kustomize rejected the manifest. Each key is now rendered once, with the component's value, so Helm releases render the same objects as before.
7
+
6
8
## 8.0.0
7
9
8
10
* Added a `network-policy` example to the `sourcegraph-executor-k8s` and `sourcegraph-executor-dind` charts, with `CiliumNetworkPolicy` resources which limit Executor and job pods to the frontend API.
Copy file name to clipboardExpand all lines: charts/sourcegraph-executor/dind/templates/private-docker-registry/private-docker-registry.Statefulset.yaml
0 commit comments