From 986c2a2973528ad6e6d412205a0b33ad7f76edca Mon Sep 17 00:00:00 2001 From: "Ehsan.Asadi" Date: Tue, 30 Dec 2025 16:43:42 +0330 Subject: [PATCH] fix(helm): disable imagePullSecrets and fix typo in production 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= \ --docker-password= \ -n peikarband This resolves the 'Unable to retrieve some image pull secrets' warning. --- helm/peikarband/values-production.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/helm/peikarband/values-production.yaml b/helm/peikarband/values-production.yaml index 3331c8d..2a6aa1d 100644 --- a/helm/peikarband/values-production.yaml +++ b/helm/peikarband/values-production.yaml @@ -6,6 +6,15 @@ replicaCount: 1 image: 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= \ +# --docker-password= \ +# -n peikarband +# Or disable imagePullSecrets in values.yaml if registry is public +imagePullSecrets: [] + # Reflex configuration for production reflex: apiUrl: "https://peikarband.ir" # Production API URL @@ -24,7 +33,7 @@ resources: memory: 256Mi autoscaling: - enabled: flase + enabled: false minReplicas: 3 maxReplicas: 20 targetCPUUtilizationPercentage: 60