Commit Graph

198 Commits

Author SHA1 Message Date
Sam Rose 1642d18d7d
Remove incorrect image from values.yaml example. 2023-11-29 17:01:08 +00:00
Sam Rose e4b1cf7705
Note that we're moving to our own CouchDB image in the helm chart readme. 2023-11-29 16:57:11 +00:00
Sam Rose 7ba412d5c8
List breaking changes between 2.x and 3.0.0 in chart readme. 2023-11-29 16:53:17 +00:00
Sam Rose f917e56245
Note metrics-server dependency. 2023-11-27 17:16:06 +00:00
Sam Rose 7e10362515
More README tweaks. 2023-11-27 17:14:52 +00:00
Sam Rose 6674bf139b
Expand chart documentation, fix HPA definition. 2023-11-27 17:12:13 +00:00
Sam Rose 5ae9a3e46b
Merge master. 2023-11-24 15:04:03 +00:00
Sam Rose c50770da0a
Tidy up the chart. 2023-11-23 17:06:52 +00:00
Sam Rose 4af7bf459a
Remove extraneous creation timestamp. 2023-11-21 17:35:23 +00:00
Sam Rose 08d45820a2
Update chart dependencies, fix some syntactic errors. 2023-11-21 10:29:27 +00:00
Sam Rose cade7d339e
First pass at updating Helm chart. 2023-11-20 17:03:38 +00:00
Julio Morimoto 97ca361a6a Change minio liveness probe to use native httpGet instead of curl.
Fixes #12277
2023-11-03 14:15:28 -03:00
Adria Navarro 572cac2552 Remove SENTRY_DSN references 2023-10-18 10:51:09 +02:00
Martin McKeaveney a234ae6426 ensure secrets are not replaced on every helm run 2023-09-04 17:19:04 +01:00
Martin McKeaveney 5845884e77 Revert "don't recreate secret after first deploy, bump vm2 deps" 2023-09-01 11:30:05 +01:00
Martin McKeaveney 2eb78fb23d don't recreate secret after first deploy, bump vm2 deps 2023-08-24 17:12:48 +01:00
Jonny McCullagh 07da8a5e0f remove enabled from probe values.yaml (#11546) 2023-08-17 10:14:09 +01:00
Martin McKeaveney 755a98654c Merge branch 'master' into feature/offline-mode-k8s 2023-08-07 16:38:17 +01:00
Jonny McCullagh ebb32f8d96 add startupProbe;Probes into values.yaml (#11404) 2023-08-01 09:01:04 +01:00
Rory Powell 70f505d562 Update helm chart to expose OFFLINE_MODE env var 2023-07-25 17:03:44 +01:00
Martin McKeaveney b59c5b5512 adding a livenessprobe to the proxy service 2023-07-21 14:28:17 +01:00
Martin McKeaveney 979883257e backmerge master 2023-07-19 17:11:15 +01:00
Martin McKeaveney 9076f79ad4 reducing couchDB k8s to one node, reverting values to default 2023-07-19 12:33:23 +01:00
Martin McKeaveney d521bffc61 tidy up 2023-07-19 12:22:29 +01:00
Martin McKeaveney d7bcdfe3af pin non-v versions 2023-07-17 21:48:02 +01:00
Jonny McCullagh f21d94a52d allow ssl-policy annotation in helm chart (#10357) 2023-04-20 13:57:34 +01:00
Rory Powell 36ba6507e3 Syntax fix for proxy service image in helm charts (#10284) 2023-04-12 22:19:54 +01:00
Rory Powell b71169deee Fix how version is processed in helm chart (#10277) 2023-04-12 16:30:10 +01:00
Rory Powell 3b9887c66c Use helm .Chart.AppVersion instead of specifying value (#9933)
* Use helm .Chart.AppVersion instead of specifying value

* Backwards compatibility with existing process for deploying chart from source where Chart.AppVersion hasn't been generated yet
2023-04-12 13:49:25 +01:00
Rory Powell 35fc9ba45c Add quote to httpLogging in helm chart (#10205) 2023-04-04 15:45:34 +01:00
Rory Powell 976b3a55ca Update logging to support dd trace attributes (#10086)
* Update logging middleware to integrate with pino for console logging

* Remove elastic apm references, use updated core middlewares

* Remove redundant LOG_LEVEL definitions

* Remove no longer needed jest logging overrides

* lint

* Backwards compat between console log helpers and pino

* Configurable DISABLE_HTTP_LOGGING

* Don't log 4xx as errors

* Remove redundant ENABLE_4XX_HTTP_LOGGING

* Cleanup migrations and event logging

* Improve bb-alert logging

* Add DISABLE_HTTP_LOGGING to helm chart

* Add ops endpoints for testing

* Disable http logging in dev

* Backwards compatible tracing implementation

* Naming update on http logging env var

* lint

* Update packages/backend-core/src/environment.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Merge

* Lint

* Fix console.warn failing mock by replacing with alerts mock instead

* Lint

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
Rory Powell c57e69d082 Chore: Update livenessprobe timeout, add readinessprobe (#10139)
* Chore: Update livenessprobe timeout, add readinessprobe

* Remove liveness and readiness probes from values

* Add clarifying comment to existing liveness and readiness probes

* U[date failureThreshold on readiness probe to be 3
2023-03-28 16:07:03 +01:00
Vinoth Kirubakaran 044a88dd8a Ability to configure schedulerName for helm charts (#10018)
* Update minio-service-deployment.yaml

* Update redis-service-deployment.yaml

* Update couchdb-backup.yaml

* Update proxy-service-deployment.yaml

* Update app-service-deployment.yaml

* Update worker-service-deployment.yaml

* Update app-service-deployment.yaml

* Update couchdb-backup.yaml

* Update minio-service-deployment.yaml

* Update proxy-service-deployment.yaml

* Update redis-service-deployment.yaml

* Update worker-service-deployment.yaml
2023-03-16 12:23:47 +00:00
Rory Powell f482dbca8b Update fallback env vars in k8s chart (#10014) 2023-03-14 09:41:40 +00:00
Rory Powell e116941750 Rotatable secrets (#9982)
* Rotatable secrets

* Set new api encryption key var

* Lint

* Use fallback keys instead of array

* Point api encryption key to dedicated value

* Add API_ENCRYPTION_KEY to cli

* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
Rory Powell c33ea4dcfe Update deployment templates to remove unused cdn url and fix empty env vars (#9967) 2023-03-09 16:13:26 +00:00
Martin McKeaveney f7d6c37fc7 merge 2023-03-03 16:49:04 +00:00
Martin McKeaveney d8e9132b37 allow proxy service rate limits to be controlled with helm 2023-03-01 18:33:37 +00:00
Martin McKeaveney d8fbdeb6f8 set couchDB chart version to 3.1.1 2023-02-23 16:20:44 +00:00
Jonny McCullagh c5bc0d4ffb add datadog apm (#9693)
* add datadog apm

* datadog init not start

* extra env vars for DD APM

* add datadog apm

* datadog init not start

* extra env vars for DD APM

* add datadog apm

* remove space

* Enable typescript integration with apm agents

* Fix typo

---------

Co-authored-by: Jonny <Jonny McCullagh>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-15 16:28:20 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
Rory Powell ae385cba10 Fix formatting on alb-ingress.yml 2023-02-02 11:40:23 +00:00
Dean 0eed617866 Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
Peter Clement ad51e99826 Add ENCRYPTION_KEY to template files 2023-02-01 09:47:29 +00:00
Jonny McCullagh 5685e155c6 Infra/ingress secrurity group (#9374)
* optional security groups to helm ingress
2023-01-31 16:27:56 +00:00
Martin McKeaveney 78e67df3dc cherry pick nginx change (#9316)
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-01-11 21:05:44 +00:00
Jonny McCullagh 489238d625 adjust service annotation locations (#9296)
* adjust service annotation locations

* adjust service annotation locations
2023-01-10 11:01:12 +00:00
Jonny McCullagh a2334ddb97 more generic annotations & pod specific 2023-01-09 12:04:21 +00:00
Jonny McCullagh 156a447ba6 move helm log annotations 2023-01-06 09:50:16 +00:00
mike12345567 3cd097a7f1 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Martin McKeaveney 19dfadc437 pinning couchDB version for closeau compatibility (#9144) 2022-12-21 16:24:29 +00:00
Rory Powell b635614f77 Allow proxy upstream URLs to be configured at runtime (#7413)
* allow proxy upstream urls to be configured at runtime

* make dynamic upstream urls in proxy the default behaviour

* reorder env directives

* Use appVersion for proxy image

* Update couch upstream for proxy

* proxy ci updates - WIP

* allowing custom resolvers in proxy service deployment

* remove generateProxyConf script for prod and remove from builds

* remove generateProxyConfig script

* removing nginx dev conf

* delete generated nginx conf

Co-authored-by: Thomas Weiß <panos@unbunt.org>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-20 16:28:13 +00:00
Rory Powell 3e3029e4d6 Publish helm chart with correct app version, publish on develop (#9099)
* Publish helm chart with correct app version, publish on develop

* Uncomment checkout

* Remove concurrency flag temporarily

* Prevent created at timestamp from changing on each helm repo index

* Add logging

* Fix syntax error

* Add logging

* Fix package command

* Remove copy tgz

* Update commit message

* Add job to trigger budibase-deploys

* Fix repository

* Update access token

* Update access token

* Update access token

* Separate deploy release env from docker image release

* Dependency between image release and chart release
2022-12-19 16:01:12 +00:00
Rory Powell 69252c350a Fix helm upgrade by adding quota to MINIO_ENABLED (#9054) 2022-12-15 12:29:53 +00:00
Rory Powell 786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
Martin McKeaveney bfab6fc335 merge 2022-12-09 13:35:18 +00:00
Martin McKeaveney 5ef9a9a254 enable support for company proxy 2022-12-06 14:00:56 +00:00
Jonny McCullagh a33ae242d0 Merge pull request #8891 from Budibase/jonny/helm-logging-annotation
add optional annotations to pods for logging format
2022-12-06 10:46:10 +00:00
Jonny 6d0ec8a649 not needed in proxy 2022-12-02 10:00:34 +00:00
Jonny 93e83e867b not needed in redis/minio 2022-12-01 14:50:27 +00:00
Jonny 487d003ae2 add optional annotations to pods for logging format 2022-12-01 14:39:35 +00:00
Jonny 92667949ff Add env var for tls-reject-unauthorised to helm chart 2022-12-01 14:09:40 +00:00
Antor 3e998729c0 remove duplicate "LOG_LEVEL"
env variable "LOG_LEVEL" was already declared. remove duplicate declaration
2022-11-18 23:26:06 +01:00
Rory Powell cf9e791cc0 Add CDN_URL to k8s templates 2022-11-07 15:27:13 +00:00
Rory Powell 1a2bc37945 Add CDN_URL to k8s templates 2022-11-07 12:33:21 +00:00
Martin McKeaveney c55642c120 adding support for backups bucket 2022-11-01 10:17:44 +00:00
Rory Powell c9ae15fef1 Remove defaults for bucket names from k8s chart 2022-10-25 13:45:43 +01:00
Martin McKeaveney 6518470409 updating variable name 2022-10-17 17:32:23 +01:00
Martin McKeaveney 23f95b8be2 making bucketnames configurable in helm chart 2022-10-12 17:34:55 +01:00
Martin McKeaveney 57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Martin McKeaveney 18345b1229 adding plugin bucket name variable to chart 2022-09-23 16:03:57 +01:00
Rory Powell aebc51299e Enable feature flags selfhost 2022-09-22 14:41:41 +01:00
mike12345567 ca749aed86 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-07 12:40:45 +01:00
Thomas Weiß 3e2b98c979 remove unused value from chart defaults 2022-09-05 15:34:40 +02:00
Thomas Weiß de62475d93 allow specifying resources on couchdb-backup deployment 2022-09-05 15:34:39 +02:00
Thomas Weiß 1057eab83a allow specifying resources on minio, redis deployments 2022-09-05 15:34:39 +02:00
Thomas Weiß f37c8e0b88 allow specifying resources on app, worker, proxy deployments 2022-09-05 15:34:35 +02:00
Andrew Kingston 72277bd015 Remove extra space 2022-09-01 14:10:29 +01:00
mike12345567 320cbfada3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Rory Powell 5691f009b3 Fix worker-service deployment env formatting 2022-08-30 16:14:13 +01:00
Rory Powell 63122a38f5 Add BUDIBASE_ENVIRONMENT to worker deployment 2022-08-30 15:54:19 +01:00
Rory Powell 6112764ea3 Fix k8s yaml formatting 2022-08-30 13:53:31 +01:00
Rory Powell 368b48719c Conditionally enable elastic apm 2022-08-30 10:59:27 +01:00
Rory Powell 97cafac46c Add support for NODE_DEBUG to app-service in kubernetes 2022-08-19 15:21:53 +01:00
Andrew Kingston 6093da79d6 Add hot reloading for component plugins via watched plugin directory 2022-08-15 22:23:45 +01:00
Rory Powell d36ff097ee Update posthog token 2022-08-08 14:03:04 +01:00
Rory Powell 78478f5082 Merge pull request #6601 from panos--/chart-imagepullsecrets
Helm chart: allow specifying image pull secrets
2022-07-18 13:13:59 -04:00
Martin McKeaveney 6a7104c9c1 make BB admin user env vars optional 2022-07-11 11:50:32 +01:00
Martin McKeaveney 375482a6cb Merge pull request #6511 from Budibase/seed-admin-user
Add env vars to automatically create initial admin user on first run
2022-07-11 10:04:05 +01:00
Thomas Weiß 9292482b93 use image pull secrets if specified 2022-07-07 16:39:15 +02:00
mike12345567 48975be041 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-05 17:37:04 +01:00
Martin McKeaveney 773bd2ff02 updating chart versions 2022-07-04 10:17:08 +01:00
Andrew Kingston f49e2886ca Add env vars to hosting.properties and helm chart 2022-06-30 11:34:41 +01:00
Peter Clement fadd4292ad update handling of max iterations 2022-06-23 16:08:25 +01:00
Rory Powell 7dbd03fd17 Add feature flag awareness to k8s worker deployment 2022-06-20 13:35:44 +01:00
Rory Powell 9f9f039876 Re-add quotes 2022-06-16 08:26:01 +01:00
Rory Powell 23a04fc5de Update k8s flags from booleans to integers 2022-06-16 08:19:29 +01:00
Rory Powell e62320c86a Remove quote from k8s templates on enableAnalytics 2022-06-15 16:43:48 +01:00
Rory Powell a5393e7e14 Enable analytics worker deployment template 2022-06-14 16:46:15 +01:00
Rory Powell 231ff93702 Add ph token to worker deployment template 2022-06-14 16:43:50 +01:00