# Values for gitops-status-server Helm chart
# Deploys a simple Flask API for storing and retrieving GitOps status JSON

# Number of replicas
replicaCount: 1
# Image pull secrets for Harbor registry
imagePullSecrets:
  - name: harbor-regcred
# API backend configuration (Flask server for status updates)
api:
  image:
    # Use the gitops-status-api image from gitops-status-api repo
    # Built and pushed to Harbor or use local image
    repository: harbor.dvirlabs.com/my-apps/status-api
    tag: "1.1.0"
    pullPolicy: IfNotPresent
# Service configuration
service:
  # Use NodePort to expose the API externally
  # Access via: http://<node-ip>:<nodePort>
  type: NodePort
  # Port exposed by the service
  port: 5000
  # NodePort (30000-32767) for external access. Leave empty for automatic assignment
  nodePort: 30005
  annotations: {}
# Resource limits
resources:
  limits:
    cpu: 100m
    memory: 128Mi
  requests:
    cpu: 50m
    memory: 64Mi
