- Updated API7 gateway admin URL to use actual DP Manager service - Changed hosts to api7-demo.commandware.it (matching wildcard ingress) - Updated cert-manager issuer to cloudflare-acme-prod (existing in cluster) - Added gatewayService reference to actual gateway service name - Configured development values with API7 disabled for local testing - Enhanced production values with proper domains and security settings - Added support for multiple production domains - Configured proper rate limits and auth for production
80 lines
1.5 KiB
YAML
80 lines
1.5 KiB
YAML
# 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
|
|
|
|
# API7 configuration for development
|
|
api7:
|
|
enabled: false # Disable API7 ADC in dev to simplify local testing
|
|
gateway:
|
|
adminUrl: http://api7ee3-0-1759339083-dp-manager.api7ee.svc.cluster.local:7900
|
|
adminKey: "dev-admin-key" # Use different key for dev
|
|
hosts:
|
|
- api7-demo-dev.commandware.it
|
|
tls:
|
|
enabled: false # No TLS in dev
|
|
plugins:
|
|
rateLimit:
|
|
enabled: false # No rate limiting in dev
|
|
auth:
|
|
enabled: false # No auth in dev for easier testing |