Add Helm chart for deploying web and API components
- Created complete Helm chart with deployments, services, and ingress - Added support for both web frontend and API backend components - Included autoscaling (HPA) for both components - Added pod disruption budgets for high availability - Configured security contexts and best practices - Created helper templates and configuration management - Added production and development value files - Included comprehensive README with installation instructions
This commit is contained in:
64
helm/api7ee/values-dev.yaml
Normal file
64
helm/api7ee/values-dev.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
# Development environment values for api7ee
|
||||
# This file contains development-specific configuration overrides
|
||||
|
||||
web:
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
tag: "latest"
|
||||
pullPolicy: Always
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
|
||||
api:
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
tag: "latest"
|
||||
pullPolicy: Always
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: "debug"
|
||||
- name: ENVIRONMENT
|
||||
value: "development"
|
||||
- name: DEBUG
|
||||
value: "true"
|
||||
|
||||
ingress:
|
||||
enabled: false # Use port-forward in dev
|
||||
|
||||
podDisruptionBudget:
|
||||
enabled: false
|
||||
|
||||
# Disable security features for easier debugging
|
||||
podSecurityContext:
|
||||
runAsNonRoot: false
|
||||
runAsUser: 0
|
||||
fsGroup: 0
|
||||
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: true
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
runAsUser: 0
|
||||
Reference in New Issue
Block a user