Juris Pavļučenkovs
327b7121ac
Helm: define engine update strategy in values.yaml ( #985 )
...
# What this PR does
Now it is possible to change engine deployment update strategy in
values.yaml.
## Which issue(s) this PR fixes
This is due to #334 and #316 , as with rolling update, race conditions
might happen when there is still an old engine pod running.
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2022-12-20 13:59:19 +01:00
Erikas Truskauskas
c1307a44d7
Make job-migrate ttlSecondsAfterFinished customizable ( #957 )
...
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2022-12-07 09:10:10 +01:00
Joey Orlando
427dd4b5f7
helm chart v1.0.13 - update appVersion to v1.1.5 + change image.pullPolicy to "Always" ( #937 )
2022-12-02 13:27:37 +01:00
Joey Orlando
c08eeb72a3
add precommit rules for markdown/json files ( #915 )
...
* add markdownlint precommit steps + fix existing errors
* prettier json linting
2022-12-01 14:26:54 +01:00
Michael Derynck
bd275848dc
Merge pull request #883 from grafana/dev
...
Merge dev to main
2022-11-22 18:36:17 +00:00
Yulya Artyukhina
381520ee13
Get rid of installation token + add a bunch of tests ( #624 )
...
* Get rid of installation token (for OSS installations)
This is done by being required to supply the grafana API URL as an
environment variable on the backend. Additionally, optionally an OnCall
API URL environment variable can be passed in to the frontend (this basically
allows completely skipping the need to configure anything).
- deduplicated a lot of the sync logic on the frontend + made
error message more useful and consistent
- Split PluginConfigPage component into several subcomponents
(making it easier to test each individual component)
- Moved RootWithLoader (from plugin/GrafanaPluginRootPage) into its own
subcomponent (making it easier to test)
- Added tests for pre-existing components that were touched:
- PluginConfigPage component (and its new subcomponents)
- state/plugin and state/rootBaseStore functions
- apps.grafana_plugin django app
Helm changes:
- add GRAFANA_API_URL to oncall.env
- some yaml autoformatting changes
- remove reference to python manage.py issue_invite_for_the_frontend --override
Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
2022-11-21 16:26:00 +01:00
Ildar Iskhakov
d26f76fea0
Add new ci pipeline: helm chart end to end testing ( #855 )
2022-11-21 16:10:25 +01:00
Chinthiti Wisetsombat
cb551d4bd5
Helm chart: allow using existing secrets for oncall secrets, slack, and telegram ( #718 )
...
* chart: allow to use oncall env from existing secret
* chart: slack credentials from existing secret
* chart: telegram token from existing secret
* chart: fix mirage cipher IV length
* chart: restore mirage cipher IV default and remove it from secret
* chart: add keys for existing oncall secret
* chart: add keys for existing slack secret
* chart: add keys for existing telegram secret
* chart: change key existingSecretName to existingSecret
Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
2022-11-20 12:22:14 +08:00
Ildar Iskhakov
b7fd452ec5
Update Chart.yaml
2022-11-11 20:44:20 +08:00
Vadim Stepanov
131b7e7c5a
helm: allow empty smtp password, bump chart version ( #797 )
...
* helm: allow empty smtp password
* don't create the secret in case it's empty
* helm: set EMAIL_USE_TLS to true by default
2022-11-08 12:00:42 +00:00
Ildar Iskhakov
e7641b7539
Fix helm values.yaml, bump helm version ( #792 )
2022-11-08 17:10:26 +08:00
Ildar Iskhakov
08fc0d1360
Update Chart.yaml
2022-11-04 13:22:56 +08:00
Ildar Iskhakov
50ffb7b7b8
Fix missing RABBITMQ_USERNAME field for new installations ( #775 )
2022-11-04 13:21:43 +08:00
Vadim Stepanov
e2456315af
Allow no-auth SMTP connection for email notifications ( #759 )
...
* DEFAULT_FROM_EMAIL -> EMAIL_FROM
* add EMAIL_FROM live setting
* EMAIL_FROM -> EMAIL_FROM_ADDRESS
* merge dev
* add test for get_from_email
* allow live settings to be null on internal API
* remove redundant tests
2022-11-03 16:18:37 +00:00
David van der Spek
c01068898a
Helm: allow for using existing secret for RabbitMQ ( #761 )
...
* init rabbitmq existing secret
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
* bump chart
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2022-11-03 15:31:00 +08:00
Ildar Iskhakov
12da061d6e
Update Chart.yaml
2022-11-02 17:40:33 +08:00
Ildar Iskhakov
ed5262f2f5
Add BROKER_TYPE env var to the helm chart ( #697 )
2022-11-02 17:37:41 +08:00
th30nlyw4y
f1af588552
Add ability to set more env vars via config & change env template & f… ( #674 )
...
* Add ability to set more env vars via config & change env template & fix env spacing
* Fix default redirectHost value
* Additional Twilio env vars + modified Twilio vars flow
* Fix wrong phoneNumber rendering
Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
2022-11-02 17:32:05 +08:00
David van der Spek
d3dfaebab7
Helm chart: add support for PostgreSQL ( #661 )
...
* add support for PostgreSQL
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
* disable postgres by default
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
* fix external postgres existing secret
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
* disable ingress annotations and tls by default
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
* fix exec command in notes
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
* Add review comments + cleanup README
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
2022-11-02 15:34:41 +08:00
Ildar Iskhakov
7cc01e0585
Merge pull request #670 from pluralsh/helm-smtp
...
Helm chart: add smtp settings to helm chart
2022-10-24 11:28:22 +08:00
Ildar Iskhakov
82d4746fd3
Merge pull request #665 from alfrunes/helm-fix-slack
...
fix(helm): Update the Slack helm values and environment variables
2022-10-20 13:41:58 +08:00
David van der Spek
8eed99865a
fix using secret for smtp
2022-10-19 15:01:49 +02:00
DavidSpek
e8b34a895b
fix missing env vars
...
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
2022-10-19 14:40:44 +02:00
DavidSpek
7ea9f3e7f8
add smtp settings to helm chart
...
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
2022-10-19 14:19:22 +02:00
Ildar Iskhakov
8c7912c344
Bump oncall backend version
2022-10-19 19:39:11 +08:00
Alf-Rune Siqveland
d48582d517
fix(helm): Update the Slack helm values and environment variables
...
The former helm values apiToken and apiTokenCommon were outdated/unused
by the application.
Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
2022-10-19 13:00:34 +02:00
Ildar Iskhakov
e94fee1e25
Merge pull request #623 from grafana/disable-autorestarts
...
Allow disabling autorestarts in helm deployment
2022-10-18 09:42:05 +08:00
purwandi
712b820eff
change telegram webhook host
2022-10-16 15:15:38 +07:00
Ildar Iskhakov
1155bc3f00
Update README.md
2022-10-13 21:41:42 +08:00
Ildar Iskhakov
a2529bbb78
Update README.md
2022-10-13 21:40:56 +08:00
Ildar Iskhakov
8f051177fe
Merge branch 'dev' into disable-autorestarts
2022-10-07 10:34:01 +08:00
Ildar Iskhakov
bf8f20a1fb
Enable restarts by default
2022-10-07 10:32:57 +08:00
Ildar Iskhakov
50c960038d
Allow disabling autorestarts
2022-10-07 10:30:45 +08:00
Ildar Iskhakov
9cb769a6e9
Merge pull request #567 from scubbo/ingressClassName
...
Fully specify ingressClassName
2022-10-06 12:22:10 +08:00
Juris Pavļučenkovs
f4d79e634a
enable celery liveness probe
2022-10-05 11:23:25 +03:00
Juris Pavļučenkovs
b6092f6d5c
fix helm celery healthcheck
2022-10-05 11:11:08 +03:00
Jack Jackson
96520381b1
Update helm/oncall/templates/ingress-regular.yaml
...
Co-authored-by: Ildar Iskhakov <ildar@amixr.io>
2022-10-04 10:20:12 -07:00
Ildar Iskhakov
e32eecf6ff
Fix code styling in helm chart
2022-10-04 16:48:33 +08:00
Ildar Iskhakov
3ad4f60d69
Merge pull request #344 from vsmanu/343-node-selection-in-helm
...
343: node selection for helm chart - engine only - Initial commit
2022-10-04 16:45:24 +08:00
Jack Jackson
5136b05727
Fully specify ingressClassName
...
As per
[here](https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation ),
the annotation-based approach of setting Ingress Class was deprecated in
Kubernetes v1.18, which is presumably why there is a [check](7deb6fb920/helm/oncall/templates/ingress-regular.yaml (L4) )
to only add the annotation for Kubernetes versions lower than this.
However, there was no corresponding logic to add an explicit
`ingressClassName` for later versions. This change adds that.
2022-09-27 11:42:42 -07:00
Vadim Stepanov
bd5dd39f86
Update Chart.yaml
2022-09-07 12:32:38 +01:00
George
dd6975858a
feat: setting env for slack and telegram from helm ( #270 )
2022-09-05 17:12:18 +03:00
Vadim Stepanov
c047463a14
Update Chart.yaml
2022-09-01 15:37:59 +01:00
Manu Vamadevan
b9b36b3393
343: node selection for helm chart - engine only - added blank line for seperation
2022-08-09 10:08:27 +02:00
Manu Vamadevan
9495ee9f14
343: node selection for helm chart - engine only - corrected config positioning
2022-08-08 23:25:00 +02:00
Manu Vamadevan
67465168b8
343: node selection for helm chart - engine only - Initial commit
2022-08-08 20:17:31 +02:00
Ildar Iskhakov
960a6857d8
Update Chart.yaml
2022-08-03 13:55:00 +03:00
Jack Wink
2be7bc7cb2
Allow chart user to add extra ingress paths
...
This supports adding paths to the oncall host so the ingress can be
configured to work with annotation-based ingress controllers (for
example, the ALB ingress controller).
By default no extra paths are added, and this change should be backwards
compatible.
2022-07-29 12:50:57 -07:00
Jack Wink
3f56b8ceac
Allow ingress TLS to be configured
...
This will let the ingress work with more than just the
nginx/cert-manager combination installed as part of the chart.
The default values render in a way that makes this backwards compatible,
so no major version change is required.
2022-07-29 12:38:25 -07:00
Max Golionko
8b92b03d42
enable annotations for external service
2022-07-19 13:34:17 +08:00