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
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:
@@ -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=<username> \
|
||||
# --docker-password=<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
|
||||
|
||||
Reference in New Issue
Block a user