Skip to content

Commit c9bb19b

Browse files
author
Arvind Thirumurugan
committed
fix dir structure
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
1 parent 0604dcf commit c9bb19b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

approval-controller-metric-collector/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ kubectl create ns test-ns
175175
# Deploy sample metric app
176176
# This creates a Deployment with a simple Go app that exposes a /metrics endpoint
177177
# The app reports workload_health=1.0 (healthy) by default
178-
# Includes annotations for Prometheus scraping: prometheus.io/scrape: "true"
179178
kubectl apply -f ./examples/sample-metric-app/
180179
```
181180

@@ -308,7 +307,8 @@ kubectl config use-context kind-hub
308307
``` bash
309308
# Apply namespace-scoped ClusterResourcePlacement
310309
# This CRP is configured to only place resources in the test-ns namespace
311-
# Uses namespaceSelector instead of resourceSelector for namespace-scoped propagation
310+
# This resource is needed because we cannot propagate Namespace which is a
311+
# cluster-scoped resource via RP
312312
kubectl apply -f ./examples/updateRun/example-ns-only-crp.yaml
313313

314314
kubectl get crp -A

approval-controller-metric-collector/metric-collector/cmd/metriccollector/metric-app/main.go renamed to approval-controller-metric-collector/metric-collector/cmd/metric-app/main.go

File renamed without changes.

approval-controller-metric-collector/metric-collector/docker/metric-app.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN go mod init metric-app && \
88
go get github.com/prometheus/client_golang/prometheus/promhttp@latest
99

1010
# Copy source code
11-
COPY metric-collector/cmd/metriccollector/metric-app/ ./
11+
COPY metric-collector/cmd/metric-app/ ./
1212

1313
# Build the application
1414
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o metric-app main.go

0 commit comments

Comments
 (0)