-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Feature Request: ServiceAccount Support
Description
Add support for configurable ServiceAccounts in the Helm chart to enable custom security contexts for workloads, particularly important for OpenShift deployments where Security Context Constraints (SCCs) are applied at the ServiceAccount level.
Current State
- All deployments use the default ServiceAccount
- No ServiceAccount configuration available in values.yaml
- Workloads run with "restricted" security context by default
Requested Features
-
ServiceAccount Configuration in values.yaml:
- Enable/disable ServiceAccount creation
- Custom ServiceAccount name support
- Annotations support for SCC binding
-
Template Implementation:
- ServiceAccount template with helm.sh/resource-policy: keep annotation
- Reference ServiceAccount in all deployment templates
-
Security Context Benefits:
- Support for "nonroot" SCC instead of "anyuid"
- Better security posture alignment
- ServiceAccount persistence across Helm upgrades/uninstalls
Use Case
OpenShift environments where administrators need to assign specific SCCs to ServiceAccounts for appropriate security contexts while maintaining Helm lifecycle management.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels