PromucFlow_constructor/deploy/helm/templates
Wyatt Walter 4c7a019adf
fix: support nss wrapper in Helm chart (#40673)
## Description

Requires: https://github.com/appsmithorg/appsmith/pull/40642

Adds an environment variable activating nss_wrapper when the
`securityPolicy.runAsUser` value is set so the UID can be set
dynamically. This avoids the `I have no name!` in the prompt when doing
a `kubectl exec` with that value set.

I am also introducing
[helm-unittest](https://github.com/helm-unittest/helm-unittest) for
ensuring that changes to our defaults are made explicit.

Fixes https://github.com/appsmithorg/appsmith/issues/38787

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
d30d87ffc66c107f980a3b27464e97db0910dcbe yet
> <hr>Mon, 19 May 2025 18:59:10 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

- **New Features**
- Added automated unit testing for Helm charts, including snapshot and
security context tests.
- Introduced documentation for running and understanding Helm chart unit
tests.
- Added a GitHub Actions workflow to run Helm chart unit tests on pull
requests and manually.
- **Bug Fixes**
- Ensured the LD_PRELOAD environment variable is set when a specific
security context is configured in deployments.
- **Documentation**
- Updated Helm chart README to reference new testing documentation and
improve clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Goutham Pratapa <goutham@appsmith.com>
2025-06-04 20:54:46 +05:30
..
_helpers.tpl feat: allow persistent volume name to be overridden in the helm chart (#38752) 2025-01-29 13:49:59 +05:30
autoupdate.yaml Change CronJob version to batch/v1 2022-03-11 06:21:46 +05:30
configMap.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
deployment.yaml fix: support nss wrapper in Helm chart (#40673) 2025-06-04 20:54:46 +05:30
external-secrets.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
headless-svc.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
hpa.yml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
import.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
ingress.yaml fix: helm install values checks (#19296) 2023-01-17 13:01:28 +05:30
NOTES.txt chore: update init-container images and update probes (#23401) 2023-07-07 10:01:43 +05:30
pdb.yml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
persistentVolume.yaml feat: allow persistent volume name to be overridden in the helm chart (#38752) 2025-01-29 13:49:59 +05:30
persistentVolumeClaim.yaml feat: allow persistent volume name to be overridden in the helm chart (#38752) 2025-01-29 13:49:59 +05:30
scaledobject.yml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
secret.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
service-metrics.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
service.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30
serviceaccount.yaml chore: Minor improvement for Helm, remove dependency & namespace (#9928) 2021-12-28 12:50:37 +05:30
storageClass.yaml chore: Minor improvement for Helm, remove dependency & namespace (#9928) 2021-12-28 12:50:37 +05:30
tls-secret.yaml Add Helm configMap to update application configuration (#10157) 2022-01-31 13:27:01 +05:30
trustedCA.yaml chore: deprecate ce helm charts and publish ee helm charts (#37794) 2024-12-31 18:01:48 +05:30