31 Commits

Author SHA1 Message Date
dependabot[bot]
29723b1cfe Bump actions/checkout from 5 to 6 (#409)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 19:06:14 +01:00
dependabot[bot]
5792926af3 Bump golangci/golangci-lint-action from 8 to 9 (#403)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8 to 9.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 15:57:21 +01:00
dependabot[bot]
ddeb35a9fa Bump stefanzweifel/git-auto-commit-action from 6 to 7 (#393)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 6 to 7.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 14:30:34 +02:00
dependabot[bot]
c0c38fc6d2 Bump actions/setup-go from 5 to 6 (#383)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-29 16:31:18 +02:00
dependabot[bot]
6f1a4ec288 Bump actions/checkout from 4 to 5 (#372)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 13:27:45 +02:00
dependabot[bot]
1fc16dac90 Bump stefanzweifel/git-auto-commit-action from 5 to 6 (#341)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 13:02:12 +02:00
dependabot[bot]
b88ae6db2e Bump golangci/golangci-lint-action from 7 to 8 (#332)
* Bump golangci/golangci-lint-action from 7 to 8

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 7 to 8.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v7...v8)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump golangci-lint

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>
2025-06-10 15:25:09 +02:00
dependabot[bot]
820964b58f Bump golangci/golangci-lint-action from 6 to 7 (#318)
* Bump golangci/golangci-lint-action from 6 to 7

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update golangci-lint version

* Fix lint issues

* Update dependency

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>
2025-04-10 13:23:46 +02:00
Bastian Hofmann
68a523252c Run kubeconform on chart in a Github Action step (#315) 2025-03-20 11:47:27 +01:00
Bastian Hofmann
bf3d523916 Use go 1.24 in action 2025-03-19 17:14:57 +01:00
Bastian Hofmann
420db63ff6 Update golang to 1.24 and update dependencies (#311)
* Update golang to 1.24 and update dependencies

* Fix tests

* Fix tests

* Fix lint

* Fix lint

* Fix lint

* Update golangci-lint
2025-03-13 12:27:26 +01:00
dependabot[bot]
cf23fe98fc Bump helm/chart-releaser-action from 1.6.0 to 1.7.0 (#294)
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 09:59:09 +01:00
dependabot[bot]
a1cd1c0887 Bump k8s.io/api from 0.31.3 to 0.32.0 (#275)
* Bump k8s.io/api from 0.31.3 to 0.32.0

Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.31.3 to 0.32.0.
- [Commits](https://github.com/kubernetes/api/compare/v0.31.3...v0.32.0)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix go mod

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>
2024-12-16 12:11:06 +01:00
Bastian Hofmann
752ff8d211 Fix version error from dependabot 2024-10-28 09:52:37 +01:00
dependabot[bot]
377006171f Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.75.2 to 0.77.1 (#247)
* Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

Bumps [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) from 0.75.2 to 0.77.1.
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.75.2...v0.77.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update to go 1.23

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>
2024-10-09 14:19:44 +02:00
dependabot[bot]
ec850ce8c6 Bump stefanzweifel/git-auto-commit-action from 4 to 5 (#102)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 12:51:31 +01:00
dependabot[bot]
523e7c4ba6 Bump actions/checkout from 3 to 4 (#103)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 12:51:10 +01:00
dependabot[bot]
eb5b65de48 Bump actions/setup-go from 4 to 5 (#104)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 12:50:53 +01:00
dependabot[bot]
6dae5d7d1c Bump helm/chart-releaser-action from 1.5.0 to 1.6.0 (#105)
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 12:50:10 +01:00
Bastian Hofmann
582709cae4 Update setup-go in Github Action (#94) 2023-10-11 15:25:02 +02:00
Bastian Hofmann
52515f661e Release 0.5.1 (#76)
* Release 0.5.1

This also adds an integration test which actually hits the API and experimental support for unprivileged container images

* Add debug statement

* Add debug statement

* Bump Qdrant to 1.5.1

* Try to fix tests

* Add comment and remove duplicated test
2023-09-13 11:15:21 +02:00
Bastian Hofmann
d101737c31 Release qdrant-0.4.0 (#67)
* Release qdrant-0.4.0

* Add release notes for chart-releaser-action

* Bump release date
2023-09-01 10:34:56 +02:00
Bastian Hofmann
dfff7fac6a Make the qdrant api key easily configurable (#62)
* Make the qdrant api key easily configurable

This adds a new `apiKey` value.

If `true` it generates a random apiKey, stores it in a secret and ensures that it stays the same during upgrades.
If a string is passed, this string is used as the api key.

The secret is mounted as a `local.yaml` config into the container. See also https://qdrant.tech/documentation/guides/configuration/#order-and-priority.

Alternatively, there are two new values `additionalVolumes` and `additionalVolumeMounts` which allow to mount additional existing volumes, such as pre-existing secrets into the qdrant container.

This also adds bats-core based integration tests to test the correct api key handling

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix bats integration tests

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix bats integration tests

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix bats integration tests

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix bats integration tests

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix statefulset

* doc: fix typo

---------

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
Co-authored-by: Tim Eggert <tim@elbart.com>
2023-08-31 15:22:54 +02:00
Bastian Hofmann
f9ebbaa4fc Add default container and pod securityContexts and make the configurable (#60)
This also ensures that the pre-existing files in the volume are owned by the right user and group.
This is why the default podSecurityContext allows running as root for the init containers that change the permissions and only the container is restricted by default.
2023-08-29 15:42:36 +02:00
Bastian Hofmann
894b0bd0b2 Make relabelings and metricRelabelings configurable in ServiceMonitor (#61)
This also makes the go test repo structure more standard and fixes `require.equal` argument order
2023-08-29 11:47:46 +02:00
Bastian Hofmann
eaca2bd11e Support configuring additional labels on resources and add ServiceAccount (#56)
* Support configuring additional labels on resources and add ServiceAccount

Fixes https://github.com/qdrant/qdrant-helm/issues/55

This adds a ServiceAccount for the Statefulset. This errors if a namespace has no default ServiceAccount and prevents accidentally using a default namespace ServiceAccount with elevated permissions.

This also introduces terratest as a way to do unit tests on the rendered helm chart.

* Fix setup-go cache-dependency-path for faster executions

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

---------

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
2023-08-24 12:46:23 +02:00
Bastian Hofmann
5005e4008b Bump qdrant to 0.3.1 and only execute release flow if Chart.yaml has been updated (#59)
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
2023-08-23 11:55:06 +02:00
Bastian Hofmann
ed31b29a39 Re-structure git repo and improve qdrant chart (#53)
* Re-structure git repo and improve qdrant chart

This allows us to host multiple helm charts in the future and to use the standard helm/chart-releaser-action and helm/chart-testing-action.

Additional changes:

* Fixed typos in README
* Added helm tests
* Change to use more standard ingress.tls values structure
* Use fixed versioning
* Added chart metadata
* Improve install notes
* Add LICENSE information

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Bump version

* Bump version

* Update Chart.yaml

* Add necessary permissions to flow

* Skip existing helm releases

* Remove Skip existing helm releases

* Update Chart.yaml

* Reset chart version for merge

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Remove BC break in .Values.image.tag

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>

* Fix change detection for chart-releaser and chart-testing

---------

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
2023-08-21 16:05:00 +02:00
Moustafa Nawar
5232c3c75c fail workflow if version exists 2023-02-24 14:48:41 +02:00
Moustafa Nawar
459ef73c30 adding helm linting on PRs, add versioned release workflow 2023-02-24 13:31:21 +02:00
Moustafa Nawar
d542521a3e automate helm chart release 2022-09-24 12:57:20 +02:00