Commit Graph

20 Commits

Author SHA1 Message Date
Damien Léger
72670ae114
feat: allow HTTP port customization in Helm chart (#36763)
## Description
See https://github.com/appsmithorg/appsmith/issues/36761

I've been tested this with ee Helm chart. Imho tcp/8080 should be the
default port but to avoid breaking change, tcp/80 remains the default
port if the new variable is not specified.

Fixes #36761

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [X] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced configurability of the HTTP container port through the
introduction of a new variable (commented out).
	- Updated the Helm chart version from 2.1.0 to 2.2.0.

- **Bug Fixes**
	- Improved indentation and formatting for better readability.

- **Documentation**
- Commented-out configuration for `HTTPContainerPort` included for
future reference.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Damien LEGER <damien.leger@cure51.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Goutham Pratapa <pratapagoutham@gmail.com>
Co-authored-by: Goutham Pratapa <goutham@appsmith.com>
2024-11-01 15:16:00 +05:30
Goutham Pratapa
502d21b274
fix: fix appsmith-ce helm charts (#37137) 2024-10-30 16:36:19 +05:30
Shrikant Sharat Kandula
3fd1d52990
chore: Support APPSMITH_DB_URL in Helm chart (#33656)
If the `APPSMITH_MONGODB_URI` is not set, we set it to a constructed
service URL value. This PR adds the same feature to new
`APPSMITH_DB_URL` env variable as well.

⚠️ This will cause conflicts on sync. DO NOT MERGE unless the author is
available.

/test sanity

---------

Co-authored-by: Goutham Pratapa <goutham@appsmith.com>
2024-05-28 19:40:36 +05:30
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
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
Goutham Pratapa
97a3f2a30c
fix: Add mongo/redis to helm chart dependencies (#16096) 2022-10-14 16:15:49 +05:30
geekup-legodevops
95776e6454
Remove unnecessary variables in Helm chart & refactor templates (#12011) 2022-03-24 13:09:27 +05:30
geekup-legodevops
1e5c4651eb
Update Helm ingress template & document (#11552) 2022-03-09 12:07:19 +05:30
Shrikant Sharat Kandula
0a7ab37fba
Increment Helm charts version 2022-02-21 08:33:10 +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
geekup-legodevops
ae26d2c611
Helm charts for Appsmith fat container (#7343) 2021-10-02 11:46:07 +05:30