1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-15 17:51:06 +00:00
Commit graph

105 commits

Author SHA1 Message Date
Danya Smol
9bfdbca6cd
feat(helm): add priority class name for pod (#2183)
add priorityClassname to pod definition
2023-11-22 13:57:21 +02:00
Nico Coetzee
cc064a2582
Incorrect link to helm chart packages (#2161)
Fixed link and added some formatting
2023-11-13 07:19:08 +00:00
romange
5f03fa4380 chore(helm-chart): update to v1.12.1 2023-11-06 17:46:48 +00:00
romange
21cc7e9aaf chore(helm-chart): update to v1.12.0 2023-11-03 06:43:21 +00:00
romange
4e0126d72e chore(helm-chart): update to v1.11.0 2023-10-16 10:40:31 +00:00
romange
c185a0b6ce chore(helm-chart): update to v1.10.0 2023-09-13 12:08:27 +00:00
romange
b8a9d1f093 chore(helm-chart): update to v1.9.0 2023-09-05 14:33:11 +00:00
David Mutia
82c3690e75
feat(helm) - Enable configuring service type LoadBalancer with a Static IP (#1689)
* Enable configuring service type LoadBalancer IP

Signed-off-by: David Mutia <davidmutia47@gmail.com>

* Add tests for loadBalancerIP

Signed-off-by: David Mutia <davidmutia47@gmail.com>

* chore: get rid of cmdstats_map (#1687)

cmdstats_map were on the hotpath and are needed only to update the command stats.
Instead, I introduced the stats withing the CommandId itself that we lookup anyways.
Also, it removes fragile dependency on naked command name char* pointers.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

---------

Signed-off-by: David Mutia <davidmutia47@gmail.com>
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
2023-08-14 14:04:35 +05:30
Tarun Pothulapati
df2745df64
fix(ci): use auth mechanism with tls helm values (#1696)
fix(ci): Fix Chart install Tests

One of the install test seems to fail, This PR tries to
fix that by also including password with tls test
2023-08-14 11:24:12 +05:30
romange
db3721b6e2 chore(helm-chart): update to v1.8.0 2023-08-09 07:03:09 +00:00
romange
3103c6b2ed chore(helm-chart): update to v1.7.1 2023-08-02 16:30:14 +00:00
romange
6e9f092fa2 chore(helm-chart): update to v1.6.2 2023-07-19 14:05:23 +00:00
romange
e2b61a3839 chore(helm-chart): update to v1.6.1 2023-07-13 06:52:02 +00:00
romange
698cbefac1 chore(helm-chart): update to v1.6.0 2023-07-10 12:17:11 +00:00
romange
7f3dc1dd51 chore(helm-chart): update to v1.4.0 2023-06-19 03:53:33 +00:00
kbelokon
956b39c553
bug(helm) Fix tolerations and affinity mishandling in Helm template (#1373)
* bug(helm) Fix tolerations and affinity mishandling in Helm template

Signed-off-by: Kirill Belokon <belokon@mindbox.cloud>

* add golden test case

* increase resource requests

* add node label to test

---------

Signed-off-by: Kirill Belokon <belokon@mindbox.cloud>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
2023-06-15 20:34:45 +05:30
romange
f19fdce6b2 chore(helm-chart): update to v1.3.0 2023-05-18 09:19:30 +00:00
romange
e23755d51e chore(helm-chart): update to v1.2.1 2023-04-26 17:41:27 +00:00
romange
fd7c973ff8 chore(helm-chart): update to v1.2.0 2023-04-24 12:58:54 +00:00
Tarun Pothulapati
2033b671ef
fix(helm): Allow prometheus rules fields to be empty (#1100)
This commit fixes a rendering error where when the rules are
empty, the helm chart fails to render. By using the correct
indentation, the chart will render correctly.
2023-04-18 20:08:51 +05:30
romange
905593b47e chore(helm-chart): update to v1.1.2 2023-04-04 09:53:23 +00:00
romange
525eda1f85 chore(helm-chart): update to v1.1.1 2023-04-03 02:49:55 +00:00
romange
daf4bae473 chore(helm-chart): update to v1.1.0 2023-04-02 18:10:08 +00:00
Frédéric Marchand
10e831825a
bug(helm): Fix parsing error with statefulset (#985)
* Fix parsing error with persistence and password secret configuration

---------

Signed-off-by: Frédéric Marchand <frederic.marchand@kudelskisecurity.com>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
2023-03-30 19:07:08 +05:30
romange
23e055e675 chore(helm-chart): update to v1.0.0 2023-03-20 08:52:56 +00:00
Tarun Pothulapati
5c57e4efe2
chore(helm): Make release pipeline to update golden files (#916)
Golden files need to be updated as version is updated in the
`Chart.yaml` file. This commit adds the step to update the golden
files in the release pipeline.

To make that possible, The following additional changes are also
required:
- `Go.Work`: This adds support multi-module projects as we will
   have the tests along with the operator in sub-folders. This
   is required to run go cmds from the root directory. (like
   running tests in this case).
- `.helmignore`: This updates the Helm chart to ignore the `/ci`
    folder during helm packaging as those are not required for
    users of the chart.
2023-03-08 23:35:47 +05:30
Tarun Pothulapati
1fc7ef5eaa
chore(helm): update golden files to latest version (#915)
As Version is encoded into the rendered Helm manifests,
They need to be updated with each release so that these
files are in sync with the latest release version.
2023-03-06 19:53:12 +05:30
romange
6e743d43ba chore(helm-chart): update to v0.17.0 2023-03-06 11:48:53 +00:00
Tarun Pothulapati
c9e9311c8e
chore(deps): Update outdated golang test dependencies (#904)
This PR updates the golang dependencies in the render test
to remove the security alerts. The security alerts should
not be a worry as its just unit test code.
2023-03-03 13:17:18 +05:30
Tarun Pothulapati
2d3496dd40
test(helm): Add command to update golden files (#890)
While we have docs in `Contributing.md`, It seems better to
have that command emitted in the error message. It is much
more straightforward this way.
2023-03-01 12:19:32 +05:30
Tarun Pothulapati
60d22eba47
fix(charts): Use Release.Namespace everywhere (#884)
This updates all the namespace fields in the Helm chart to use the
`Release.Namespace` template variable. This is the recommended way to
do it in Helm 3, and allows the chart to be installed in a namespace
as set by the user, without having to modify the chart or use
`--namespace` in `kubectl`.
2023-02-28 18:36:20 +05:30
Tarun Pothulapati
5dfaa1d061
test(chart): add golden file output rendering tests (#882)
This commit adds a new `golden_test.go` file into the helm chart
which essentially renders the chart with a set of values and
compares that with the expected golden file, and errors if
they don't match.

This builds on the existing CI values files in `ci/` directory. As
this is the first time, The golden files are rendered and added. This
means for all the future changes, The golden files can be updated
by running `go test -update` and the CI will fail if the golden files
are not updated. By doing this, Both the committer and reviewer
can be sure that the changes are intentional, without having to render
the chart manually.
2023-02-28 18:02:15 +05:30
ashotland
d6043c7d6d
feat(charts): Update helm chart to support password from secret (#799)
* feat(server): Enable overriding --requirepass form env var

Signed-off-by: ashotland <ari@dragonflydb.io>

* Change precednce order
Elaborate test

Signed-off-by: ashotland <ari@dragonflydb.io>

* Update helm chart to support passowrd from secret

Using recently added capability of setting dragonfly passowrd with the
DFLY_PASSWORD environment variable

Signed-off-by: ashotland <ari@dragonflydb.io>

* rename to existingSecret* + CI file

Signed-off-by: ashotland <ari@dragonflydb.io>

* fix typo in comment

Signed-off-by: ashotland <ari@dragonflydb.io>

---------

Signed-off-by: ashotland <ari@dragonflydb.io>
2023-02-17 16:19:02 +02:00
ashotland
1dd4148f64
Update README.md (#778)
* Update README.md

Signed-off-by: ashotland <ari@dragonflydb.io>

* Document installing from remote OCI package

Signed-off-by: ashotland <ari@dragonflydb.io>

---------

Signed-off-by: ashotland <ari@dragonflydb.io>
2023-02-12 13:26:43 +02:00
romange
8d095d00fa chore(helm-chart): update to v0.15.0 2023-02-05 08:33:11 +00:00
romange
da40540a3f chore(helm-chart): update to v0.14.0 2023-01-20 05:39:13 +00:00
Philipp B
66cff983cb
feat(chart): add feature to generate/request TLS certificate through cert-manager (#644)
Signed-off-by: Philipp Born <git@pborn.eu>
2023-01-05 12:27:40 +02:00
ashotland
21d542efb0 chore(helm-chart): update to v0.13.1 2023-01-02 11:16:21 +00:00
romange
3be4a9feb2 chore(helm-chart): update to v0.13.0 2023-01-01 20:09:53 +00:00
Philipp B
c3de3ef2f3
chore: overhaul chart (#620)
This should greatly improve readability of the chart itself
- moved the `Pod` spec for both the `Deployment` and `StatefulSet` into a common template in `_pod.yaml`
- replace a bunch of `if $value; print $value`-type blocks with `with $value; print .`
- replaced `command.set` in `values.yaml` with `command` directly
  - this was broken anyways, as the chart wrongly referenced `command.cmd` for both `Deployment` and `StatefulSet`
- populated contrib/charts/dragonfly/ci/ folder for development/CI purposes

Signed-off-by: Philipp Born <git@pborn.eu>

Signed-off-by: Philipp Born <git@pborn.eu>
2022-12-30 08:30:11 +02:00
Philipp B
b5f6629d55
fix(chart): probe indentation (#590)
No idea why it worked before.. Fixes #588

Signed-off-by: Philipp Born <git@pborn.eu>

Signed-off-by: Philipp Born <git@pborn.eu>
2022-12-21 22:03:12 +02:00
Philipp B
2a67dc307e
feat: add healtcheck for container (#544)
feat: add netcat based healtcheck

(similar to `redis-cli ping`)

Signed-off-by: Philipp Born <git@pborn.eu>
2022-12-07 16:44:07 +02:00
arukiidou
c698e9c25e
fix(helm): Chart.yaml - Add home, keywords, sources, kubeVersion (#542)
fix(helm): Chart.yaml - add home, keywords, sources, kubeVersion

Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
2022-12-07 12:37:35 +02:00
romange
9aa9a78ea5 chore(helm-chart): update to v0.12.0 2022-12-07 04:23:34 +00:00
romange
21ced808c5 chore(helm-chart): update to v0.11.0 2022-11-14 07:40:46 +00:00
romange
805f8c51e2 chore(helm-chart): update to v0.10.0 2022-10-20 15:07:11 +00:00
romange
8f4ea2232c chore(helm-chart): update to v0.9.1 2022-10-07 15:35:55 +00:00
romange
6765271148 chore(helm-chart): update to v0.9.0 2022-10-04 15:59:47 +00:00
romange
4041b60149 chore(helm-chart): update to v0.8.0 2022-09-18 13:35:09 +00:00
odedponcz
0fbd1afa36
feat: Change tls command line argument to conform with Redis (#276)
Change tls command line argument to conform with Redis

Signed-off-by: Oded Poncz <oded@poncz.com>

Signed-off-by: Oded Poncz <oded@poncz.com>
2022-09-08 19:32:52 +03:00
romange
a793125599 chore(helm-chart): update to v0.7.0 2022-09-08 13:18:49 +00:00
romange
404629258a chore(helm-chart): update to v0.6.0 2022-07-29 05:53:30 +00:00
romange
080203ec21 chore(helm-chart): update to v0.4.0 2022-07-05 18:28:37 +00:00
Philipp B
8297c4635d
Helm chart updates (v0.1.1, init command override, TLS configuration, CRs for ServiceMonitor and PrometheusRule objects) (#105)
* helm-chart: add serviceMonitor

* helm-chart: implement tls

* helm-chart: add prometheusrule

* helm-chart: add parameter to override the container's command

Sample values:

    command:
      cmd:
        - '/bin/sh'
        - '-c'
        - 'ulimit -l unlimited && dragonfly'

    securityContext:
      privileged: true

* helm-chart: bump chart appVersion to v0.1.1 and remove hardcoded latest image.tag
2022-06-06 16:26:00 +03:00
Philipp B
7ff6e47332
Initial commit for helm chart (#57) (#79)
* Initial commit for helm chart

Includes support for
- persistence for /data (if enabled, a Statefulset is deployed)
- mounting extra volumes (for logs, debugging, whatever)
- initContainers (adjusting the pod's ulimit, possibly)
- passing extra arguments to the dragonfly binary through extraArgs

Squashed commit of the following:

caa91a0 helm-chart: initial commit
7ec9ea5 helm-chart: add extraArgs and update README/TODO
e1da96c helm-chart: add StatefulSet for persistence and update chart README
4d81f8a helm-chart: add liveness+readinessProbe
cdf70b3 helm-chart: add initContainers, extraVolumes and extraVolumeMounts
aed0ef1 helm-chart: update README

* add CONTRIBUTORS
2022-06-02 14:01:26 +03:00