fix(helm): disable imagePullSecrets and fix typo in production
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed

Changes:
- Disable imagePullSecrets in production (hub-registry-secret doesn't exist yet)
- Add comment with command to create the secret if needed
- Fix typo: 'flase' -> 'false' in autoscaling.enabled

Note: Registry can work without secret if it's public, or create the secret:
  kubectl create secret docker-registry hub-registry-secret \
    --docker-server=hub.peikarband.ir \
    --docker-username=<username> \
    --docker-password=<password> \
    -n peikarband

This resolves the 'Unable to retrieve some image pull secrets' warning.
This commit is contained in:
Ehsan.Asadi
2025-12-30 16:43:42 +03:30
parent 0ab2bf3c2f
commit 986c2a2973

View File

@@ -6,6 +6,15 @@ replicaCount: 1
image: image:
pullPolicy: Always pullPolicy: Always
# Note: If hub-registry-secret doesn't exist, create it with:
# kubectl create secret docker-registry hub-registry-secret \
# --docker-server=hub.peikarband.ir \
# --docker-username=<username> \
# --docker-password=<password> \
# -n peikarband
# Or disable imagePullSecrets in values.yaml if registry is public
imagePullSecrets: []
# Reflex configuration for production # Reflex configuration for production
reflex: reflex:
apiUrl: "https://peikarband.ir" # Production API URL apiUrl: "https://peikarband.ir" # Production API URL
@@ -24,7 +33,7 @@ resources:
memory: 256Mi memory: 256Mi
autoscaling: autoscaling:
enabled: flase enabled: false
minReplicas: 3 minReplicas: 3
maxReplicas: 20 maxReplicas: 20
targetCPUUtilizationPercentage: 60 targetCPUUtilizationPercentage: 60