Skip to content

Commit

Permalink
Merge branch 'develop' into add-sidecar-volume
Browse files Browse the repository at this point in the history
  • Loading branch information
dromadaire54 committed Jul 9, 2024
2 parents 72df97d + 4010751 commit ee83d4d
Show file tree
Hide file tree
Showing 176 changed files with 652 additions and 97 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Lint and Test Charts

on: pull_request

jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.14.4

- uses: actions/setup-python@v5
with:
python-version: '3.x'
check-latest: true

- name: Set up chart-testing
uses: helm/[email protected]

- name: Add Helm Repositories
run: |
helm repo add sentry-kubernetes https://sentry-kubernetes.github.io/charts
helm repo update
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/[email protected]

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}
23 changes: 0 additions & 23 deletions .github/workflows/lint.yaml

This file was deleted.

31 changes: 13 additions & 18 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,25 @@ jobs:
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git checkout gh-pages
# - name: Build zips
# uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
# with:
# command: dep update main/sentry

- name: Build zips
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
- name: Build clickhouse chart
uses: WyriHaximus/github-action-helm3@v4
with:
command: package main/sentry --destination gh-pages/charts
exec: helm package -u main/charts/clickhouse --destination gh-pages/charts

- name: Build zips
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
- name: Build sentry chart
uses: WyriHaximus/github-action-helm3@v4
with:
command: package main/clickhouse --destination gh-pages/charts
exec: helm package -u main/charts/sentry --destination gh-pages/charts

- name: Build zips
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
- name: Build sentry-kubernetes chart
uses: WyriHaximus/github-action-helm3@v4
with:
command: package main/sentry-kubernetes --destination gh-pages/charts
exec: helm package -u main/charts/sentry-kubernetes --destination gh-pages/charts

- name: Create index file
uses: yeouchien/helm3-action@f3a7c239c5c60777210c8e631839edf5dd3fa29c
- name: Build sentry-kubernetes chart
uses: WyriHaximus/github-action-helm3@v4
with:
command: repo index --url https://sentry-kubernetes.github.io/charts ./gh-pages/charts
exec: helm repo index --url https://sentry-kubernetes.github.io/charts ./gh-pages/charts

- name: Commit files
run: |
Expand All @@ -57,7 +52,7 @@ jobs:
git commit -m "Add changes" -a
- name: Push changes
uses: ad-m/github-push-action@19caa5c351f47734055690f7d01aaaef2f9114d5
uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"clickhouse":"3.9.0","sentry":"23.1.0","sentry-kubernetes":"0.3.4"}
{"clickhouse":"3.9.0","sentry":"23.11.0","sentry-kubernetes":"0.3.4"}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
** Please be patient while the chart is being deployed **
1. Get the Clickhouse URL by running:
{{- if .Values.clickhouse.ingress.enabled }}
export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }} -o jsonpath='{.spec.rules[0].host}')
echo "Clickhouse URL: http://$HOSTNAME/"
{{- else }}
echo URL : http://127.0.0.1:8080/
echo Management URL : http://127.0.0.1:8080/manager
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 8123:{{ .Values.clickhouse.http_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9000:{{ .Values.clickhouse.tcp_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9009:{{ .Values.clickhouse.interserver_http_port }}
{{- end }}
2. Get the Tabix URL by running:
{{- if .Values.tabix.ingress.enabled }}
export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }}-tabix -o jsonpath='{.spec.rules[0].host}')
echo "Tabix URL: http://$HOSTNAME/"
{{- else }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }}-tabix 80
{{- end }}
** Please be patient while the chart is being deployed **

1. Get the Clickhouse URL by running:

{{- if .Values.clickhouse.ingress.enabled }}

export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }} -o jsonpath='{.spec.rules[0].host}')
echo "Clickhouse URL: http://$HOSTNAME/"

{{- else }}

echo URL : http://127.0.0.1:8080/
echo Management URL : http://127.0.0.1:8080/manager
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 8123:{{ .Values.clickhouse.http_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9000:{{ .Values.clickhouse.tcp_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9009:{{ .Values.clickhouse.interserver_http_port }}

{{- end }}

2. Get the Tabix URL by running:

{{- if .Values.tabix.ingress.enabled }}

export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }}-tabix -o jsonpath='{.spec.rules[0].host}')
echo "Tabix URL: http://$HOSTNAME/"

{{- else }}

kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }}-tabix 80

{{- end }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ keywords:
sources:
- https://github.com/getsentry/sentry-kubernetes
- https://github.com/sentry-kubernetes/charts
maintainers:
- name: sentry-kubernetes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
111 changes: 111 additions & 0 deletions sentry/CHANGELOG.md → charts/sentry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,116 @@
# Changelog

## [23.11.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.10.0...sentry-v23.11.0) (2024-06-24)


### Features

* add multiprocess to postProcessForwardTransactions ([#1334](https://github.com/sentry-kubernetes/charts/issues/1334)) ([9de6968](https://github.com/sentry-kubernetes/charts/commit/9de696813a5e407f4ddf3657d19519500088e7d3))

## [23.10.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.9.1...sentry-v23.10.0) (2024-06-21)


### Features

* add insights feature flags ([#1329](https://github.com/sentry-kubernetes/charts/issues/1329)) ([6cccdbd](https://github.com/sentry-kubernetes/charts/commit/6cccdbd1a8703c6f0a0d417654358e11e7275bce))

## [23.9.1](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.9.0...sentry-v23.9.1) (2024-06-17)


### Bug Fixes

* template fails when existingSecretKeys is undefined ([#1323](https://github.com/sentry-kubernetes/charts/issues/1323)) ([4808c6f](https://github.com/sentry-kubernetes/charts/commit/4808c6ff76f53820c9ec8a25fd77ac42f0395d66))

## [23.9.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.8.0...sentry-v23.9.0) (2024-06-17)


### Features

* Configure external postgres with values from secret ([#1279](https://github.com/sentry-kubernetes/charts/issues/1279)) ([adfb64d](https://github.com/sentry-kubernetes/charts/commit/adfb64da1dcd6ba109b64fe2e7496e88d65b38a9))

## [23.8.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.7.0...sentry-v23.8.0) (2024-06-16)


### Features

* discord integration ([#1318](https://github.com/sentry-kubernetes/charts/issues/1318)) ([d480620](https://github.com/sentry-kubernetes/charts/commit/d480620b3d60d983b239a5a59f063b05a4234ecc))

## [23.7.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.6.0...sentry-v23.7.0) (2024-06-11)


### Features

* **deps:** update kafka helm to v29 ([#1285](https://github.com/sentry-kubernetes/charts/issues/1285)) ([5b24013](https://github.com/sentry-kubernetes/charts/commit/5b240133bd5f40202e9a86b9744eb32ed512da97))
* **deps:** update nginx docker tag to v18 ([#1301](https://github.com/sentry-kubernetes/charts/issues/1301)) ([161aed6](https://github.com/sentry-kubernetes/charts/commit/161aed65c60672972dd21c242a830f33a7d837ea))

## [23.6.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.5.2...sentry-v23.6.0) (2024-06-10)


### Features

* add optional LogLevel parameter to sentry cleanup job and custom location snippet to nginx conf ([cd38e67](https://github.com/sentry-kubernetes/charts/commit/cd38e67121b04d5e4b060aaa97ae8378c837846e))


### Bug Fixes

* fix custom features ([#1309](https://github.com/sentry-kubernetes/charts/issues/1309)) ([7490ec3](https://github.com/sentry-kubernetes/charts/commit/7490ec3bbf1efeebf780b8f3aec3aa70d177d4e4))

## [23.5.2](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.5.1...sentry-v23.5.2) (2024-06-08)


### Bug Fixes

* **snuba:** add profile_chunks to the storage sets ([#1307](https://github.com/sentry-kubernetes/charts/issues/1307)) ([df812f7](https://github.com/sentry-kubernetes/charts/commit/df812f7cf4ba28006a59c0fa49a527feac50a184))

## [23.5.1](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.5.0...sentry-v23.5.1) (2024-06-07)


### Bug Fixes

* **deployment-relay:** fix relay init container volume mounts ([#861](https://github.com/sentry-kubernetes/charts/issues/861)) ([72314d5](https://github.com/sentry-kubernetes/charts/commit/72314d5a5dcc53a7562e0066a54b62ac4f9eb3e0))

## [23.5.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.4.1...sentry-v23.5.0) (2024-06-07)


### Features

* 24.5.1 update ([6e628ad](https://github.com/sentry-kubernetes/charts/commit/6e628adc200525ebe57e9977328d8dd8b5eea471))

## [23.4.1](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.4.0...sentry-v23.4.1) (2024-06-06)


### Bug Fixes

* relay topic ([1ae5f66](https://github.com/sentry-kubernetes/charts/commit/1ae5f66a24260c96ae4711f1f880220f33150148))

## [23.4.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.3.0...sentry-v23.4.0) (2024-06-06)


### Features

* add-custom-features to configmap ([#1297](https://github.com/sentry-kubernetes/charts/issues/1297)) ([300aea0](https://github.com/sentry-kubernetes/charts/commit/300aea0dfc6293892e450d359daa63ae3619ace5))

## [23.3.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.2.0...sentry-v23.3.0) (2024-06-04)


### Features

* topologySpreadConstraint ([#1291](https://github.com/sentry-kubernetes/charts/issues/1291)) ([bc0d4e6](https://github.com/sentry-kubernetes/charts/commit/bc0d4e64987c1ea5e4d3b1386ce45ea94c3dd15b))

## [23.2.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.1.0...sentry-v23.2.0) (2024-06-03)


### Features

* allow to configure extra manifest through values ([#1278](https://github.com/sentry-kubernetes/charts/issues/1278)) ([3fec182](https://github.com/sentry-kubernetes/charts/commit/3fec18254de4675077f57f7783403317fc1bdad7))
* dependency update before push chart ([#1283](https://github.com/sentry-kubernetes/charts/issues/1283)) ([2c2b6c2](https://github.com/sentry-kubernetes/charts/commit/2c2b6c2d966c137a7c4251eb4c81b186f886c63e))
* supports ipv6 ([#1292](https://github.com/sentry-kubernetes/charts/issues/1292)) ([b920e3f](https://github.com/sentry-kubernetes/charts/commit/b920e3f2159f8c3e124f09cc48b29ba5aae5aedb))


### Bug Fixes

* ipv6 ([b904c79](https://github.com/sentry-kubernetes/charts/commit/b904c7935c9d51903017c1e14f74bf122cfaddde))

## [23.1.0](https://github.com/sentry-kubernetes/charts/compare/sentry-v23.0.3...sentry-v23.1.0) (2024-05-23)


Expand Down
8 changes: 4 additions & 4 deletions sentry/Chart.lock → charts/sentry/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
version: 17.11.3
- name: kafka
repository: oci://registry-1.docker.io/bitnamicharts
version: 27.1.2
version: 29.3.2
- name: clickhouse
repository: https://sentry-kubernetes.github.io/charts
version: 3.9.0
Expand All @@ -22,6 +22,6 @@ dependencies:
version: 12.5.1
- name: nginx
repository: oci://registry-1.docker.io/bitnamicharts
version: 14.2.2
digest: sha256:4f55b51ed6a9a57f6731a1c22f75f9edb496dc530b7759c6ee61392227678b18
generated: "2024-05-21T22:50:01.065802111Z"
version: 18.1.2
digest: sha256:d2b502d9fc6da6808783d78bbce8785493f55179d51360942dbc61bb94be458f
generated: "2024-06-21T12:30:50.704140079Z"
8 changes: 4 additions & 4 deletions sentry/Chart.yaml → charts/sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: sentry
description: A Helm chart for Kubernetes
type: application
version: 23.1.1
appVersion: 24.5.0
version: 23.11.0
appVersion: 24.5.1
dependencies:
- name: memcached
repository: oci://registry-1.docker.io/bitnamicharts
Expand All @@ -15,7 +15,7 @@ dependencies:
condition: redis.enabled
- name: kafka
repository: oci://registry-1.docker.io/bitnamicharts
version: 27.1.2
version: 29.3.2
condition: kafka.enabled
- name: clickhouse
repository: https://sentry-kubernetes.github.io/charts
Expand All @@ -36,7 +36,7 @@ dependencies:
condition: postgresql.enabled
- name: nginx
repository: oci://registry-1.docker.io/bitnamicharts
version: 14.2.2
version: 18.1.2
condition: nginx.enabled
maintainers:
- name: sentry-kubernetes
Loading

0 comments on commit ee83d4d

Please sign in to comment.