Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/sourcegraph-executor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- START CHANGELOG -->
## Unreleased

- Fixed `privateDockerRegistry.serviceAnnotations` in the `sourcegraph-executor-dind` chart rendering invalid YAML, which failed the render.
- 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.

## 8.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
kind: Service
metadata:
{{- if .Values.privateDockerRegistry.serviceAnnotations }}
annotations:
annotations:
{{- toYaml .Values.privateDockerRegistry.serviceAnnotations | nindent 4 }}
{{- end }}
labels:
Expand Down
2 changes: 2 additions & 0 deletions charts/sourcegraph/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Use `**BREAKING**:` to denote a breaking change

## Unreleased

- Fixed `jaeger.serviceAccount.create: true` failing the render with `index of nil pointer`. The ServiceAccount now reads `jaeger.serviceAccount.name` and `jaeger.serviceAccount.annotations`, and its name matches the one the `jaeger` Deployment uses.
- Fixed `openTelemetry.agent.env` rendering invalid YAML, which failed the render.
- Fixed a label or pod annotation key set both globally (`sourcegraph.labels`, `sourcegraph.podLabels`, `sourcegraph.podAnnotations`) and per component (`<serviceName>.labels`, `.podLabels`, `.podAnnotations`, or `openTelemetry.gateway.serviceLabels`) 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.
- The `correct-data-dir-permissions` init containers of `pgsql`, `codeintel-db`, and `codeinsights-db` now run the database's own image instead of `sourcegraph/alpine-3.14`, which was based on an end-of-life Alpine release. The chart no longer pulls `alpine-3.14`, so private registries no longer need to mirror it. `alpine.image` has been removed and is ignored if set; `alpine.containerSecurityContext`, `alpine.resources`, and `codeInsightsDB.init.containerSecurityContext` still apply.
- Added `sourcegraph.selectorLabelsOverride`, `<serviceName>.extraSelectorLabels`, and `storageLabels` on `gitserver`, `grafana`, `indexedSearch`, and `searcher`, so the chart can render the selectors and volume claim templates of workloads created outside it, such as with Kustomize, and a Helm release can take them over without deleting them. All default to empty, so existing releases render the same selectors. Never change them on an installed release: Kubernetes does not allow changing these fields. See [Adopting existing workloads](README.md#adopting-existing-workloads).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
category: rbac
deploy: sourcegraph
app.kubernetes.io/component: tracing
{{- include "sourcegraph.serviceAccountAnnotations" (list . "tracing") | trim | nindent 2 }}
name: {{ include "sourcegraph.serviceAccountName" (list . "tracing") }}
{{- include "sourcegraph.serviceAccountAnnotations" (list . "jaeger") | trim | nindent 2 }}
name: {{ include "sourcegraph.serviceAccountName" (list . "jaeger") }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
terminationMessagePolicy: FallbackToLogsOnError
env:
{{- range $name, $item := .Values.openTelemetry.agent.env}}
- name: {{ $name }}
- name: {{ $name }}
{{- $item | toYaml | nindent 10 }}
{{- end }}
resources:
Expand Down
Loading