|
| 1 | +# ============================================================================ |
| 2 | +# CLM Components Deployment Configuration |
| 3 | +# ============================================================================ |
| 4 | +# This file contains environment variables used by deploy-clm.sh |
| 5 | +# Copy this file to .env and modify values as needed for your environment: |
| 6 | +# cp .env.example .env |
| 7 | + |
| 8 | +# Kubernetes Configuration |
| 9 | +NAMESPACE=hyperfleet-e2e |
| 10 | + |
| 11 | +# Release Configuration |
| 12 | +RELEASE_PREFIX=hyperfleet |
| 13 | + |
| 14 | +# Provider Configuration |
| 15 | +GCP_PROJECT_ID=hcm-hyperfleet |
| 16 | + |
| 17 | +# Image Registry Configuration |
| 18 | +IMAGE_REGISTRY=registry.ci.openshift.org/ci |
| 19 | + |
| 20 | +# API Component Configuration |
| 21 | +API_IMAGE_REPO=hyperfleet-api |
| 22 | +API_IMAGE_TAG=latest |
| 23 | +API_SERVICE_TYPE=LoadBalancer |
| 24 | + |
| 25 | +# API Adapter Configuration (comma-separated list) |
| 26 | +# NOTE: Adapters are auto-discovered from testdata/adapter-configs/ |
| 27 | +# WARNING: Auto-discovery will OVERRIDE these environment variables if adapters are found |
| 28 | +# These values are only used if no adapter configs exist in testdata/adapter-configs/ |
| 29 | +# Example: API_ADAPTERS_CLUSTER="example1-namespace,validation,dns" |
| 30 | +# API_ADAPTERS_CLUSTER="" |
| 31 | +# API_ADAPTERS_NODEPOOL="" |
| 32 | + |
| 33 | +# Sentinel Component Configuration |
| 34 | +SENTINEL_IMAGE_REPO=hyperfleet-sentinel |
| 35 | +SENTINEL_IMAGE_TAG=latest |
| 36 | +SENTINEL_BROKER_TYPE=googlepubsub |
| 37 | +SENTINEL_GOOGLEPUBSUB_CREATE_TOPIC_IF_MISSING=true |
| 38 | + |
| 39 | +# Adapter Component Configuration |
| 40 | +ADAPTER_IMAGE_REPO=hyperfleet-adapter |
| 41 | +ADAPTER_IMAGE_TAG=latest |
| 42 | +ADAPTER_GOOGLEPUBSUB_CREATE_TOPIC_IF_MISSING=true |
| 43 | +ADAPTER_GOOGLEPUBSUB_CREATE_SUBSCRIPTION_IF_MISSING=true |
| 44 | + |
| 45 | +# Adapter Pub/Sub Configuration (Optional) |
| 46 | +# If not set, these will be auto-generated based on namespace and resource type: |
| 47 | +# ADAPTER_SUBSCRIPTION_ID: ${NAMESPACE}-${resource_type}-${adapter_name} |
| 48 | +# ADAPTER_TOPIC: ${NAMESPACE}-${resource_type} |
| 49 | +# ADAPTER_DEAD_LETTER_TOPIC: ${NAMESPACE}-${resource_type}-dlq |
| 50 | + |
| 51 | + |
| 52 | +# HyperFleet API Configuration |
| 53 | +# Note: If namespace is different, use: http://hyperfleet-api.${NAMESPACE}.svc.cluster.local:8000 |
| 54 | +API_BASE_URL=http://hyperfleet-api:8000 |
| 55 | + |
| 56 | + |
| 57 | +# Helm Chart Sources |
| 58 | +API_CHART_REPO=https://github.com/openshift-hyperfleet/hyperfleet-api.git |
| 59 | +API_CHART_REF=main |
| 60 | +API_CHART_PATH=charts |
| 61 | + |
| 62 | +SENTINEL_CHART_REPO=https://github.com/openshift-hyperfleet/hyperfleet-sentinel.git |
| 63 | +SENTINEL_CHART_REF=main |
| 64 | +SENTINEL_CHART_PATH=deployments/helm/sentinel |
| 65 | + |
| 66 | +ADAPTER_CHART_REPO=https://github.com/openshift-hyperfleet/hyperfleet-adapter.git |
| 67 | +ADAPTER_CHART_REF=main |
| 68 | +ADAPTER_CHART_PATH=charts |
| 69 | + |
| 70 | +# Component Selection Flags (true/false) |
| 71 | +INSTALL_API=true |
| 72 | +INSTALL_SENTINEL=true |
| 73 | +INSTALL_ADAPTER=true |
| 74 | + |
| 75 | +# Execution Options |
| 76 | +DRY_RUN=false |
| 77 | +VERBOSE=false |
0 commit comments