Commit Graph

39 Commits

Author SHA1 Message Date
Shrikant Sharat Kandula
8eea00146f
fix: Remove duplicate securityContext key (#28268)
Part of fix for #28242.
2023-10-24 13:37:05 +05:30
Goutham Pratapa
7728f9bf75
Fix images with vulnerabilities (#27733)
Fixes: [27523](https://github.com/appsmithorg/appsmith/issues/27523)
2023-10-12 11:20:24 +05:30
Sumesh Pradhan
dfff7c4a9f
chore: disable allowprivilegeescalation in the securitycontext of helm chart (#27041)
Updated` appsmith/appsmith` helm-chart to` 2.0.5` with
`allowPrivilegeEscalation` disabled.
2023-09-12 11:18:03 +05:30
Goutham Pratapa
e183d870bf
update: disable postgres by default in helm (#26614)
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-09-04 16:55:37 +05:30
Goutham Pratapa
6faaf791d2
fix: redis-url when deploying appsmith via helm (#25689)
Fixes: [25688](https://github.com/appsmithorg/appsmith/issues/25688)
2023-07-31 14:55:57 +05:30
Shrikant Sharat Kandula
3129e88e95
chore: Move Maps API Key to database (#20771)
1. Changing the Maps API Key doesn't need restart anymore.
2. The `isRestartRequired` field in the response of updating env
settings, was being ignored. The client owns the decision of when to
restart (which is correct), so removed this from the server.
3. Write Maps API Key to the database, in the tenant configuration.
4. The Settings page for Maps Ke gets the current value from
`/tenant/current` response, and not `/admin/env`.
5. Removed `APPSMITH_GOOGLE_MAPS_API_KEY` from `/admin/env` response.
6. Tests.

DO NOT MERGE. Please only review/approve. This is expected to break EE
once it goes there, which I intend to solve alongside merging this.

Changing the Maps API Key will update it both in the tenant config in
the database, as well as in the `docker.env` file. This is predominantly
for backwards compatibility, and phased rollout. As part of a separate
PR, we'll have a migration that proactively copies the env variable
value to the database, and comment out the value in the `docker.env`
file. Then we can stop updating the `docker.env` file as well.


## New
![Screenshot 2023-02-25 at 7 30 14
AM](https://user-images.githubusercontent.com/120119/221330216-03800c5b-c775-4584-a39f-cd6374ba049b.png)



## Old
![Screenshot 2023-02-25 at 7 23 05
AM](https://user-images.githubusercontent.com/120119/221329747-5431d668-736d-4b08-b504-f64e4edd436b.png)

---------

Co-authored-by: Ankita Kinger <ankita@appsmith.com>
2023-07-24 13:33:53 +05:30
Shrikant Sharat Kandula
29eb9ab2f2
chore: Stop building slim images (#25219)
Fix #23481.
2023-07-22 15:58:52 +05:30
Goutham Pratapa
82c5c0b580
chore: update init-container images and update probes (#23401)
Fixes: [21271](https://github.com/appsmithorg/appsmith/issues/21272)
Fixes: [221](https://github.com/appsmithorg/cloud-deployment/issues/221)
Fixes: [24020](https://github.com/appsmithorg/appsmith/issues/24020)
2023-07-07 10:01:43 +05:30
Goutham Pratapa
44d1837678
ci: disable postgres by default in helm charts (#23155) 2023-05-15 13:13:10 +05:30
Goutham Pratapa
b5b9cbd760
helm: add node selectors for appsmith sub-charts (#22195)
Fixes: [21796](https://github.com/appsmithorg/appsmith/issues/21796)
2023-05-08 10:00:11 +05:30
Goutham Pratapa
fa800a7704
fix: update chart.lock and app versions (#20105)
Fixes: [20000](https://github.com/appsmithorg/appsmith/issues/20000)

- [Bug]: Update appsmith version from 1.16.0 to the current 1.9.4
version
* Though we deploy the latest appsmith version. In the helm chart we
show that we are deploying appsmith version as 1.16.0 and its confusing
. We are now fixing it with this PR
- Correct helm chart versions for redis and mongo. This, helps in
deploying the desired versions of redis and mongo which appsmith
supports.
* Previously, When we deploy appsmith along with redis and mongo . It
used to deploy redis v7.0.4 and mongo v6.0.3.
with this changes we deploy the supported versions of redis and mongo
which is v6 and v5 respectively.

### Mongo

before:
```
I have no name!@tempappsmith-mongodb-0:/$ mongosh

Current Mongosh Log ID:	63d2128c2e4dabde5a68f8f8
Connecting to:		mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.6.0
Using MongoDB:		6.0.3
Using Mongosh:		1.6.0

For mongosh info see: https://docs.mongodb.com/mongodb-shell/

rs0 [direct: primary] test>

rs0 [direct: primary] test> db.version()
6.0.3
```

After the proposed changes:
```
I have no name!@tempappsmith-mongodb-0:/$ mongo
MongoDB shell version v5.0.9
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("d75e90e4-cbff-4b52-a7ab-22755ab43ec1") }
MongoDB server version: 5.0.9
================
Warning: the "mongo" shell has been superseded by "mongosh",
which delivers improved usability and compatibility.The "mongo" shell has been deprecated and will be removed in
an upcoming release.
For installation instructions, see
https://docs.mongodb.com/mongodb-shell/install/
================
rs0:PRIMARY> db.version()
5.0.9
```

### Redis

Before
```
I have no name!@tempappsmith-redis-master-0:/$ redis-server
19:C 26 Jan 2023 05:40:42.232 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
19:C 26 Jan 2023 05:40:42.232 # Redis version=7.0.4, bits=64, commit=00000000, modified=0, pid=19, just started
19:C 26 Jan 2023 05:40:42.232 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
19:M 26 Jan 2023 05:40:42.233 * monotonic clock: POSIX clock_gettime
19:M 26 Jan 2023 05:40:42.233 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
19:M 26 Jan 2023 05:40:42.233 # Failed listening on port 6379 (TCP), aborting.
```

After the proposed changes
```
I have no name!@tempappsmith-redis-master-0:/$ redis-server
4728:C 26 Jan 2023 05:35:07.745 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
4728:C 26 Jan 2023 05:35:07.745 # Redis version=6.2.7, bits=64, commit=00000000, modified=0, pid=4728, just started
4728:C 26 Jan 2023 05:35:07.745 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
4728:M 26 Jan 2023 05:35:07.746 * monotonic clock: POSIX clock_gettime
4728:M 26 Jan 2023 05:35:07.746 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
4728:M 26 Jan 2023 05:35:07.746 # Failed listening on port 6379 (TCP), aborting.
```
2023-02-01 17:12:00 +05:30
Sumesh Pradhan
c93ed4f54c
fix: helm install values checks (#19296)
## Description
- Updated ngnix as default ingress class in `values.yaml`
- Upgraded mongo's deployment image to `v5.0.12` as the previous 4.4.11
is deprecated
- Added `imagePullSecrets` to enable pulling images from private docker
registries
- Added conditional to check for k8s version >=1.1.8 to handle both old
and new k8s version scenarios for setting up the Ingress controller
class name.

Co-authored-by: Goutham Pratapa <goutham@appsmith.com>
2023-01-17 13:01:28 +05:30
ps-xaf
72c17fcbf4
feat: override helm chart images for init containers (#18834)
Small enhancement to permit usage of different image registries

Co-authored-by: Christian Körner <ck@ps-xaf.de>
2023-01-02 14:56:15 +05:30
Goutham Pratapa
fee9b181fe
chore: fix ingress fieldname in appsmith (#18684) 2022-12-05 17:14:17 +05:30
Goutham Pratapa
30023b7a9c
Add certmanager and classname fields in ingress (#18266) 2022-11-23 17:36:03 +05:30
Goutham Pratapa
5c5fbaa9f0
Fix redis sub chart name in helm chart (#17866)
Currently, the helm chart has a minor bug where the chart name is
hard-coded. This fix addresses the issue
2022-10-28 10:25:17 +05:30
Goutham Pratapa
97a3f2a30c
fix: Add mongo/redis to helm chart dependencies (#16096) 2022-10-14 16:15:49 +05:30
Abhinav Jha
e6b89d03aa
Sandboxed iFrames with srcDoc (#11426)
Change iFrame widgets to use sandbox mode if srcDoc is provided
Allowed options:
`allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-scripts allow-top-navigation-by-user-activation`

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-10-04 15:20:45 +05:30
Shrikant Sharat Kandula
25ab8f5983
Add startupProbe to Appsmith pods (#15702)
This is so that the `livenessProbe` doesn't aggressively
restart the pod before the Appsmith container is live.
2022-08-04 15:58:18 +05:30
Amit Kumar
6715d3a681
Pod labels can be configured from Helm values (#15352) 2022-08-04 15:21:23 +05:30
Sumesh Pradhan
41b9df2657
Support getting values from secrets in helm chart configuration (#12633) 2022-05-04 16:21:15 +05:30
Sumesh Pradhan
511278f067
Disable auto updates helm and docker-compose doc (#13443) 2022-04-29 17:16:37 +05:30
Sumesh Pradhan
3b28ce00a2
Adding ingress.class parameter to nginx setting in helm chart docs (#12398) 2022-04-27 11:33:58 +05:30
geekup-legodevops
95776e6454
Remove unnecessary variables in Helm chart & refactor templates (#12011) 2022-03-24 13:09:27 +05:30
Shrikant Sharat Kandula
52c9c4105b
Change CronJob version to batch/v1 2022-03-11 06:21:46 +05:30
Shrikant Sharat Kandula
b06b301093
Use docs link instead of GitHub link 2022-03-11 06:06:58 +05:30
geekup-legodevops
1e5c4651eb
Update Helm ingress template & document (#11552) 2022-03-09 12:07:19 +05:30
Ankita Kinger
13fe125a0c
feat: Add disconnect button on auth config pages and form login callout banner (#11389)
* added form login callout banner

* form login config page changes

* form login config page changes

* added redirecturl and uneditable field components

* added disconnect button on auth pages

* Added env variables for form login auth page

* added disconnect button on auth pages

* updated docs link for dform login callout doc

* added condition for disconnect button

* added ce changes done on ee

* updated css

* suggested changes in PR review

* suggested changes in PR review

* suggested changes in PR review

* reverted gitignore files changes

* reverted gitignore files changes

* updated logic for saving admin settings

* removed unused imports

* added changes for taginput field

* removed console

* removed warning

* removed unwanted changes
2022-03-02 23:48:50 +05:30
Shrikant Sharat Kandula
fb7d92ec66
Fix ip/hostname nomenclature in HTTPS doc (#11451) 2022-02-28 10:17:40 +05:30
Shrikant Sharat Kandula
0e12200374
Improve vertical spacing in output of helm install 2022-02-25 17:04:55 +05:30
Shrikant Sharat Kandula
0a7ab37fba
Increment Helm charts version 2022-02-21 08:33:10 +05:30
geekup-legodevops
c1f89e5830
Fix host not showing up when ignress is enabled (#11221) 2022-02-18 19:06:44 +05:30
Shrikant Sharat Kandula
5bd0347884
Fix helm repo index command, add missing path 2022-02-09 19:56:59 +05:30
geekup-legodevops
e85b34d66e
Add Helm configMap to update application configuration (#10157) 2022-01-31 13:27:01 +05:30
geekup-legodevops
269e3a786d
chore: Minor improvement for Helm, remove dependency & namespace (#9928) 2021-12-28 12:50:37 +05:30
gokuatkai
0edd50f6b2
Add helm param to disable namespace creation (#9719)
Will only create namespace if namespace.create == true
2021-12-15 08:01:48 +05:30
Shrikant Sharat Kandula
31cac9f85f
Fix Appsmith image name in Helm chart values (#9460) 2021-12-02 16:08:35 +05:30
imgbot[bot]
3eec0594f7
chore: [ImgBot] Optimize images (#9208)
*Total -- 929.35kb -> 640.18kb (31.11%)

/deploy/helm/images/helm-ssl-config.png -- 194.07kb -> 104.73kb (46.03%)
/static/images/client-wsl-yt-video-thumbnail.png -- 690.06kb -> 490.46kb (28.93%)
/app/client/src/assets/icons/widget/table/checkbox-line.svg -- 0.20kb -> 0.19kb (7.77%)
/app/client/src/assets/icons/widget/table/checkbox-check.svg -- 0.21kb -> 0.20kb (7.41%)
/app/client/src/assets/icons/comments/commentCursor.svg -- 1.10kb -> 1.07kb (3.1%)
/app/client/src/assets/icons/widget/recorder/recorder_recording.svg -- 0.14kb -> 0.14kb (2.74%)
/app/client/src/assets/icons/widget/recorder/recorder_pause.svg -- 0.23kb -> 0.23kb (2.53%)
/app/client/src/widgets/AudioWidget/icon.svg -- 0.39kb -> 0.39kb (1.98%)
/app/client/src/assets/icons/widget/recorder/recorder_complete.svg -- 0.23kb -> 0.23kb (1.67%)
/app/client/src/assets/icons/comments/unpinIcon.svg -- 0.28kb -> 0.27kb (1.41%)
/app/client/src/assets/icons/control/underline1.svg -- 0.77kb -> 0.76kb (1.27%)
/app/client/src/assets/icons/ads/plus.svg -- 0.24kb -> 0.24kb (1.22%)
/app/client/src/widgets/TextWidget/icon.svg -- 0.26kb -> 0.26kb (1.13%)
/app/client/src/assets/icons/ads/arrow-right-line.svg -- 0.26kb -> 0.26kb (1.13%)
/app/client/src/assets/icons/ads/up-arrow.svg -- 0.26kb -> 0.26kb (1.11%)
/app/client/src/assets/icons/ads/down-arrow.svg -- 0.29kb -> 0.28kb (1.02%)
/app/client/src/assets/icons/ads/dropdown.svg -- 0.23kb -> 0.23kb (0.83%)
/app/client/src/assets/icons/menu/run.svg -- 0.41kb -> 0.41kb (0.71%)
/app/client/src/assets/svg/no_entities_found.svg -- 0.98kb -> 0.98kb (0.7%)
/app/client/src/assets/icons/ads/snippet.svg -- 0.57kb -> 0.56kb (0.69%)
/app/client/src/assets/icons/ads/share-2.svg -- 0.46kb -> 0.46kb (0.63%)
/app/client/src/assets/icons/widget/recorder/recorder_default.svg -- 0.94kb -> 0.93kb (0.63%)
/app/client/src/assets/icons/widget/button-group.svg -- 1.29kb -> 1.28kb (0.53%)
/app/client/src/widgets/ButtonGroupWidget/icon.svg -- 1.29kb -> 1.28kb (0.53%)
/app/client/src/assets/icons/menu/beta.svg -- 1.00kb -> 1.00kb (0.49%)
/app/client/src/assets/svg/checkmark.svg -- 0.23kb -> 0.23kb (0.43%)
/app/client/src/assets/icons/menu/js-function.svg -- 0.91kb -> 0.91kb (0.43%)
/app/client/src/assets/icons/menu/js-group.svg -- 1.81kb -> 1.80kb (0.38%)
/app/client/src/assets/icons/ads/file-copy-line.svg -- 0.86kb -> 0.85kb (0.34%)
/app/client/src/assets/icons/control/color-picker.svg -- 1.46kb -> 1.45kb (0.34%)
/app/client/src/assets/icons/ads/git-commit-line.svg -- 0.88kb -> 0.88kb (0.33%)
/app/client/src/assets/icons/ads/key-2-line.svg -- 1.28kb -> 1.28kb (0.31%)
/app/client/src/assets/icons/menu/js-file.svg -- 2.33kb -> 2.32kb (0.29%)
/app/client/src/assets/icons/widget/recorder/recorder_no_permission.svg -- 1.63kb -> 1.63kb (0.24%)
/app/client/src/assets/icons/ads/support.svg -- 1.23kb -> 1.22kb (0.24%)
/app/client/src/assets/icons/ads/cloudy-line.svg -- 1.38kb -> 1.38kb (0.21%)
/app/client/src/assets/icons/ads/user-v2.svg -- 1.55kb -> 1.54kb (0.19%)
/app/client/src/assets/icons/ads/upload-v2.svg -- 1.76kb -> 1.75kb (0.17%)
/app/client/src/assets/icons/ads/shield-success.svg -- 3.03kb -> 3.03kb (0.13%)
/app/client/src/assets/icons/ads/shield-error.svg -- 3.03kb -> 3.03kb (0.13%)
/app/client/src/assets/icons/ads/git-branch.svg -- 2.80kb -> 2.80kb (0.1%)
/app/client/src/assets/svg/loader-2-fill.svg -- 3.78kb -> 3.78kb (0.1%)
/app/client/src/assets/icons/ads/gear.svg -- 3.23kb -> 3.23kb (0.09%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-19 09:43:30 +05:30
geekup-legodevops
ae26d2c611
Helm charts for Appsmith fat container (#7343) 2021-10-02 11:46:07 +05:30