Commit Graph

198 Commits

Author SHA1 Message Date
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
Rory Powell 0094c83216 Environment config 2022-06-06 15:27:29 +01:00
Rory Powell 361ffd224f Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Rory Powell a4eef3daab Add awareness of deployment environment 2022-06-01 14:10:00 +01:00
Martin McKeaveney d57c4987fe Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +01:00
Martin McKeaveney ad6f2e7e6f make rate limit optional 2022-05-31 13:03:59 +01:00
Martin McKeaveney 7a8a2e6244 add API_REQ_LIMIT_PER_SEC 2022-05-31 07:41:43 +01:00
Martin McKeaveney d5e5dbad03 bump K8S chart version 2022-05-30 17:59:46 +01:00
Martin McKeaveney 015b083063 livenessProbes for worker and app services 2022-05-30 17:58:29 +01:00
Rory Powell e134400465 Merge branch 'master' into merge-master 2022-05-09 14:22:01 +01:00
Rory Powell 34474d5c10 Re-enable gsheets for verification 2022-05-05 09:59:10 +01:00
Rory Powell 40597fd297 Merge branch 'master' into merge-master-develop 2022-05-05 08:36:09 +01:00
Martin McKeaveney 81b6d4c03d make secretkey refs conditional 2022-05-04 17:45:46 +01:00
Rory Powell 7f77d895ce Merge branch 'master' into merge-master-develop 2022-05-04 13:29:51 +01:00
Rory Powell cf2361a11d Update CouchDB in kubernetes to be 3.2.1 2022-04-29 11:32:12 +01:00
Martin McKeaveney 7cf908785d use excluded quotas tenants again 2022-04-28 14:18:27 +01:00
Martin McKeaveney 143ea9aba9 update helm claims again 2022-04-27 13:39:45 +01:00
Martin McKeaveney cad0f61595 fix typo 2022-04-27 12:45:43 +01:00
Martin McKeaveney 70fce03c09 updating helm chart for storage classes 2022-04-27 12:42:57 +01:00
mike12345567 2441f42c54 Merge branch 'develop' of github.com:Budibase/budibase into fix/develop-merge 2022-04-26 16:31:17 +01:00
Abdullah Talakey 9ccc7525a5 add storageClass to redis and objectStore PVCs 2022-04-26 14:21:41 +03:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Martin McKeaveney 971d8bf9d0 bump chart version 2022-04-25 14:44:14 +01:00
Martin McKeaveney f1d7220df7 adding larger limits to the NGINX ingress contoller 2022-04-25 14:40:22 +01:00
Rory Powell 81cb05b9ef Add explicit pro dependency to worker and server 2022-04-21 15:08:14 +01:00
Rory Powell d2a4e0a934 Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Martin McKeaveney ebf39d7b93 Merge pull request #5424 from dougwettlaufer/apply-affinities-and-tolerations
Apply affinities and tolerations in the helm chart
2022-04-20 08:40:51 +01:00
Peter Clement 1000ef35e1 Improve handling of loop handlebars string replacement 2022-04-18 09:22:23 +01:00
dougwettlaufer bb93dcfeae Apply affinities and tolerations in the helm chart 2022-04-14 10:22:22 -05:00
Peter Clement 43b4dd8737 add environment variable 2022-04-13 10:23:40 +01:00
Rory Powell 03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Michael Drury 4272726d05 Merge pull request #5184 from Budibase/fix/couch-chart-ver
Updating Helm chart couch version
2022-03-31 10:21:14 +01:00
mike12345567 41e6b6d469 Using the latest version of the CouchDB chart in the helm chart. 2022-03-30 18:12:53 +01:00
Martin McKeaveney aed9bfc728 fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
Rory Powell 0a4b1eb552 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Martin McKeaveney 32e92bff98 fix k8s by adding google config to values 2022-02-20 22:20:52 +01:00
Martin McKeaveney a85f667dbe templatize nginx configuration into one prod configuration and add NPM scripts to manage 2022-02-16 14:12:53 +01:00
Martin McKeaveney d1cebc61a9 merge with master 2022-02-10 18:57:26 +01:00
Martin McKeaveney 0966720982 use google env variable for client secret and ID, update helm chart to pass variables to worker 2022-02-10 10:28:46 +01:00
Martin McKeaveney 13a2183616 update helm chart to use nginx 2022-02-01 15:23:11 +01:00
Rory Powell 76075e4295 Add HTTP_MIGRATIONS to kubernetes environment 2022-01-27 10:53:26 +00:00
Rory Powell 8fc60af820 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 2022-01-17 12:44:53 +00:00
Martin McKeaveney b6f43bb6c3 making proxy service use ClusterIP instead of NodePort 2021-12-31 14:05:16 +00:00
Martin McKeaveney f723e5f681 locking chart deps, upgrading NGINX chart to point to new helm repo 2021-12-30 18:57:23 +00:00
Martin McKeaveney a5ea356d4a upgrading nginx ingress controller helm chart 2021-12-30 18:00:29 +00:00
Martin McKeaveney 237bd8ab48 helm release 2021-12-21 15:12:28 +00:00
Martin McKeaveney 1488d466b3 remove traefik 2021-12-21 14:13:19 +00:00
Martin McKeaveney e214e2cc26 Update Chart.yaml 2021-12-13 19:01:11 +01:00
Martin McKeaveney 7334fc6748 automate helm deployment with CI 2021-12-09 11:05:43 +00:00