mirror of
https://github.com/lukaszraczylo/helm-charts.git
synced 2026-06-28 04:35:00 +00:00
93 lines
1.8 KiB
YAML
93 lines
1.8 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: ghcr.io/lukaszraczylo/kubemirror
|
|
pullPolicy: IfNotPresent
|
|
tag: "0.4.6"
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
podAnnotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "8080"
|
|
prometheus.io/path: "/metrics"
|
|
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65532
|
|
fsGroup: 65532
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
runAsNonRoot: true
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
controller:
|
|
# Metrics and health endpoints
|
|
metricsBindAddress: ":8080"
|
|
healthProbeBindAddress: ":8081"
|
|
|
|
# Leader election
|
|
leaderElect: true
|
|
leaderElectionID: "kubemirror-controller-leader"
|
|
|
|
# Resource types to mirror
|
|
# Examples: ["Secret.v1", "ConfigMap.v1", "Ingress.v1.networking.k8s.io"]
|
|
# If empty, auto-discovery will find all mirrorable resources
|
|
resourceTypes: []
|
|
|
|
# Auto-discovery interval (only used when resourceTypes is empty)
|
|
# How often to rediscover available resources in the cluster
|
|
discoveryInterval: "5m"
|
|
|
|
# Resource limits
|
|
maxTargets: 100
|
|
workerThreads: 5
|
|
|
|
# API rate limiting
|
|
rateLimitQPS: 50.0
|
|
rateLimitBurst: 100
|
|
|
|
# Cache freshness verification
|
|
# Compares cache with direct API read to detect informer cache lag
|
|
# Prevents mirroring stale data but adds extra API call when cache is stale
|
|
# Recommended: false for most deployments (eventual consistency is acceptable)
|
|
verifySourceFreshness: false
|
|
|
|
# Namespace filtering
|
|
excludedNamespaces: ""
|
|
includedNamespaces: ""
|
|
|
|
service:
|
|
type: ClusterIP
|
|
metricsPort: 8080
|
|
healthPort: 8081
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
priorityClassName: ""
|