mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
* FIX Query Runner - Server passes secret prefixes to ingestion * FIX Query Runner - Server passes secret prefixes to ingestion
104 lines
No EOL
2.9 KiB
YAML
104 lines
No EOL
2.9 KiB
YAML
# Test values for K8s native pipeline client validation
|
|
# Only contains essential overrides for testing
|
|
|
|
openmetadata:
|
|
config:
|
|
# Enable debug logging for testing
|
|
logLevel: DEBUG
|
|
|
|
# Database configuration (using local PostgreSQL via host machine)
|
|
database:
|
|
host: host.docker.internal
|
|
port: 5432
|
|
driverClass: org.postgresql.Driver
|
|
dbScheme: postgresql
|
|
auth:
|
|
password:
|
|
secretRef: postgres-secrets
|
|
secretKey: openmetadata-postgres-password
|
|
|
|
# Search configuration (using local OpenSearch via host machine)
|
|
elasticsearch:
|
|
host: host.docker.internal
|
|
port: 9200
|
|
searchType: opensearch
|
|
scheme: http
|
|
|
|
# K8s Pipeline Client Configuration - Updated structure with common configs
|
|
pipelineServiceClientConfig:
|
|
type: "k8s" # Use Kubernetes native instead of Airflow
|
|
# Common configuration for all pipeline service clients
|
|
# Override metadataApiEndpoint for cross-namespace access (default uses service name only)
|
|
metadataApiEndpoint: "http://openmetadata.openmetadata-ingestion.svc.cluster.local:8585/api"
|
|
k8s:
|
|
# K8s-specific configuration
|
|
# Test namespace
|
|
namespace: "openmetadata-pipelines-test"
|
|
serviceAccountName: "openmetadata-ingestion-test"
|
|
|
|
# Local ingestion image
|
|
ingestionImage: "openmetadata/ingestion-base:1.12.0-SNAPSHOT"
|
|
imagePullPolicy: "IfNotPresent"
|
|
|
|
# Reduced resources for local testing
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: "2Gi"
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "512Mi"
|
|
|
|
# Enable OMJob operator for guaranteed exit handler execution
|
|
useOMJobOperator: true
|
|
|
|
# Local image configuration
|
|
image:
|
|
repository: openmetadata/server
|
|
tag: "1.12.0-SNAPSHOT"
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Service configuration for local access
|
|
service:
|
|
type: LoadBalancer # For minikube tunnel access
|
|
|
|
# OMJob Operator configuration
|
|
omjobOperator:
|
|
enabled: true
|
|
# Use locally built fixed image
|
|
image:
|
|
repository: docker.getcollate.io/openmetadata/omjob-operator
|
|
tag: "1.12.0-SNAPSHOT"
|
|
pullPolicy: IfNotPresent
|
|
# Adjusted resources for Java application (was OOMKilled at 128Mi)
|
|
resources:
|
|
requests:
|
|
cpu: "500m"
|
|
memory: "512Mi"
|
|
limits:
|
|
cpu: "1"
|
|
memory: "1Gi"
|
|
# Debug logging for testing
|
|
env:
|
|
logLevel: "DEBUG"
|
|
watchNamespaces: "openmetadata-pipelines-test"
|
|
# Enable health checks now that operator implements proper endpoints
|
|
healthCheck:
|
|
enabled: true
|
|
|
|
# Reduced resources for local testing
|
|
resources:
|
|
limits:
|
|
cpu: 2
|
|
memory: 4Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
|
|
# More relaxed health checks for local testing
|
|
livenessProbe:
|
|
initialDelaySeconds: 120
|
|
readinessProbe:
|
|
initialDelaySeconds: 120
|
|
startupProbe:
|
|
failureThreshold: 10 |