Skip to content

Commit d02bf8b

Browse files
chore: standardize binary name to zentinel-{name}-agent
1 parent 276037f commit d02bf8b

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
env:
1515
CARGO_TERM_COLOR: always
16-
BINARY_NAME: zentinel-agent-api-deprecation
16+
BINARY_NAME: zentinel-api-deprecation-agent
1717

1818
jobs:
1919
build:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ tokio-test = "0.4"
5252
tempfile = "3"
5353

5454
[[bin]]
55-
name = "zentinel-agent-api-deprecation"
55+
name = "zentinel-api-deprecation-agent"
5656
path = "src/main.rs"
5757

5858
[lib]

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
################################################################################
1111
FROM gcr.io/distroless/cc-debian12:nonroot AS prebuilt
1212

13-
COPY zentinel-agent-api-deprecation /zentinel-agent-api-deprecation
13+
COPY zentinel-api-deprecation-agent /zentinel-api-deprecation-agent
1414

1515
LABEL org.opencontainers.image.title="Zentinel API Deprecation Agent" \
1616
org.opencontainers.image.description="Zentinel API Deprecation Agent for Zentinel reverse proxy" \
@@ -22,4 +22,4 @@ ENV RUST_LOG=info,zentinel_agent_api_deprecation=debug \
2222

2323
USER nonroot:nonroot
2424

25-
ENTRYPOINT ["/zentinel-agent-api-deprecation"]
25+
ENTRYPOINT ["/zentinel-api-deprecation-agent"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ agents {
5656
3. Start the agent:
5757

5858
```bash
59-
zentinel-agent-api-deprecation -c api-deprecation.yaml
59+
zentinel-api-deprecation-agent -c api-deprecation.yaml
6060
```
6161

6262
## Configuration
@@ -158,13 +158,13 @@ The agent exposes Prometheus metrics for monitoring:
158158
Enable metrics server:
159159

160160
```bash
161-
zentinel-agent-api-deprecation --metrics --metrics-port 9090
161+
zentinel-api-deprecation-agent --metrics --metrics-port 9090
162162
```
163163

164164
## CLI Options
165165

166166
```
167-
zentinel-agent-api-deprecation [OPTIONS]
167+
zentinel-api-deprecation-agent [OPTIONS]
168168

169169
Options:
170170
-c, --config <PATH> Configuration file [default: api-deprecation.yaml]

0 commit comments

Comments
 (0)