Skip to content

Commit f01f9a9

Browse files
authored
fix: Fix sample config (#11)
1 parent 03b8757 commit f01f9a9

File tree

2 files changed

+8
-41
lines changed

2 files changed

+8
-41
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
# Copy binaries to expected locations
3434
cp ./binaries/radar-agent-linux/radar-agent-linux ./radar-agent-linux
3535
cp ./binaries/radar-agent-linux-musl/radar-agent-linux-musl ./radar-agent-linux-musl
36+
cp ./binaries/radar-agent-darwin/radar-agent-darwin ./radar-agent-darwin
3637
3738
# Make binaries executable
38-
chmod +x radar-agent-linux radar-agent-linux-musl
39+
chmod +x radar-agent-*
3940
4041
# Log what we received
4142
echo "✅ Downloaded binaries for tag: ${{ github.event.client_payload.ref }}"
@@ -139,6 +140,10 @@ jobs:
139140
with:
140141
tag_name: ${{ steps.tag.outputs.tag_name }}
141142
name: "Radar Agent ${{ steps.tag.outputs.tag_name }}"
143+
files: |
144+
radar-agent-linux
145+
radar-agent-linux-musl
146+
radar-agent-darwin
142147
body: |
143148
## Radar Agent Release ${{ steps.tag.outputs.tag_name }}
144149

radar-agent-config-sample.yml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -122,43 +122,5 @@ deployments:
122122
basic_auth: "[email protected]:password123"
123123
# Can also use environment variables: basic_auth: "${REDIS_ENTERPRISE_AUTH}"
124124

125-
# Example 4: Redis Sentinel
126-
- id: "redis-sentinel-1"
127-
name: "Sentinel Deployment"
128-
type: "SENTINEL"
129-
130-
# For Sentinel, specify the sentinel nodes
131-
redis_urls:
132-
- "redis://sentinel-1.example.com:26379"
133-
- "redis://sentinel-2.example.com:26379"
134-
- "redis://sentinel-3.example.com:26379"
135-
136-
# Enable auto-discovery to find master and replica nodes
137-
auto_discover: true
138-
139-
# Example 5: Redis Cloud
140-
- id: "redis-cloud-1"
141-
name: "Redis Cloud"
142-
type: "CLOUD"
143-
redis_url: "redis://redis-cloud.example.com:6379"
144-
145-
# REST API configuration for Redis Cloud
146-
rest_api:
147-
host: "api.redislabs.com"
148-
port: 443
149-
150-
# Credentials configuration
151-
credentials:
152-
# Redis authentication (applied to all redis_urls without auth)
153-
redis:
154-
username: "default"
155-
password: "redis_cloud_password"
156-
# Can also use environment variables: password: "${REDIS_CLOUD_PASSWORD}"
157-
158-
# Cloud REST API authentication
159-
cloud_api:
160-
account_key: "your_account_key" # Maps to x-api-key header
161-
user_key: "your_user_key" # Maps to x-api-secret-key header
162-
# Can also use environment variables:
163-
# account_key: "${REDIS_CLOUD_ACCOUNT_KEY}"
164-
# user_key: "${REDIS_CLOUD_USER_KEY}"
125+
# NOTE: SENTINEL and CLOUD types are not currently supported
126+
# Supported types: STANDALONE, ENTERPRISE, CLUSTER

0 commit comments

Comments
 (0)