Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ vendor/
*.tmp
*.bak
*.log
.deploy-work/

# Environment files
.env
.env.local
.env.*.local
deploy-scripts/.env

# Claude Code files
.claude/
Expand Down
79 changes: 79 additions & 0 deletions deploy-scripts/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# ============================================================================
# CLM Components Deployment Configuration
# ============================================================================
# This file contains environment variables used by deploy-clm.sh
# Copy this file to .env and modify values as needed for your environment:
# cp .env.example .env

# Kubernetes Configuration
NAMESPACE=hyperfleet-e2e

# Release Configuration
RELEASE_PREFIX=hyperfleet

# Provider Configuration
GCP_PROJECT_ID=hcm-hyperfleet

# Image Registry Configuration
IMAGE_REGISTRY=registry.ci.openshift.org/ci

# API Component Configuration
API_IMAGE_REPO=hyperfleet-api
API_IMAGE_TAG=latest
API_SERVICE_TYPE=LoadBalancer

# API Adapter Configuration (comma-separated list)
# NOTE: Adapters are auto-discovered from testdata/adapter-configs/
# Only set these if you want to override the auto-discovery
# Example: API_ADAPTERS_CLUSTER="example1-namespace,validation,dns"
# API_ADAPTERS_CLUSTER=""
# API_ADAPTERS_NODEPOOL=""

# Sentinel Component Configuration
SENTINEL_IMAGE_REPO=hyperfleet-sentinel
SENTINEL_IMAGE_TAG=latest
SENTINEL_BROKER_TYPE=googlepubsub
SENTINEL_GOOGLEPUBSUB_CREATE_TOPIC_IF_MISSING=true

# Adapter Component Configuration
ADAPTER_IMAGE_REPO=hyperfleet-adapter
ADAPTER_IMAGE_TAG=latest
ADAPTER_GOOGLEPUBSUB_CREATE_TOPIC_IF_MISSING=true
ADAPTER_GOOGLEPUBSUB_CREATE_SUBSCRIPTION_IF_MISSING=true

# Adapter Pub/Sub Configuration (Optional)
# If not set, these will be auto-generated based on namespace and resource type:
# ADAPTER_SUBSCRIPTION_ID: ${NAMESPACE}-${resource_type}-${adapter_name}
# ADAPTER_TOPIC: ${NAMESPACE}-${resource_type}
# ADAPTER_DEAD_LETTER_TOPIC: ${NAMESPACE}-${resource_type}-dlq
# Uncomment and set these to override the auto-generated values:
# ADAPTER_SUBSCRIPTION_ID=""
# ADAPTER_TOPIC=""
# ADAPTER_DEAD_LETTER_TOPIC=""

# HyperFleet API Configuration
# Note: If namespace is different, use: http://hyperfleet-api.${NAMESPACE}.svc.cluster.local:8000
API_BASE_URL=http://hyperfleet-api:8000


# Helm Chart Sources
API_CHART_REPO=https://github.com/openshift-hyperfleet/hyperfleet-api.git
API_CHART_REF=main
API_CHART_PATH=charts

SENTINEL_CHART_REPO=https://github.com/openshift-hyperfleet/hyperfleet-sentinel.git
SENTINEL_CHART_REF=main
SENTINEL_CHART_PATH=deployments/helm/sentinel

ADAPTER_CHART_REPO=https://github.com/openshift-hyperfleet/hyperfleet-adapter.git
ADAPTER_CHART_REF=main
ADAPTER_CHART_PATH=charts

# Component Selection Flags (true/false)
INSTALL_API=true
INSTALL_SENTINEL=true
INSTALL_ADAPTER=true

# Execution Options
DRY_RUN=false
VERBOSE=false
Loading