Commit Graph

65 Commits

Author SHA1 Message Date
romange
5b96e269a3 chore(helm-chart): update to v1.14.3 2024-02-07 06:19:10 +00:00
Michael Primeaux
951b0897e6
bug: DFLY_PASSWORD environment variable deprecation (#2539)
* If the image.tag version is equal to 14.0.0 or greater then specify the DFLY_requirepass environment variable. Otherwise use the DFLY_PASSWORD environment variable.

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>

* Corrected version logic and added golden test

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>

* Updated golden file for TLS + image.tag

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>

* fix CI for chart linting test

* rename new test specific to password

* use v1.13.0

* update golden chart

---------

Signed-off-by: Michael Primeaux <michael.primeaux@mac.com>
Signed-off-by: Michael Primeaux <mprimeaux@users.noreply.github.com>
Co-authored-by: Tarun Pothulapati <tarun@dragonflydb.io>
2024-02-06 13:42:05 +05:30
romange
97982eef2c chore(helm-chart): update to v1.14.2 2024-02-05 12:21:23 +00:00
romange
1e982cafe8 chore(helm-chart): update to v1.14.1 2024-01-25 12:22:19 +00:00
romange
fab811252b chore(helm-chart): update to v1.14.0 2024-01-22 07:09:27 +00:00
romange
1900e499ba chore(helm-chart): update to v1.13.0 2023-12-05 15:22:54 +00:00
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