Skip to content

Commit

Permalink
adjusted naming to be according RFC
Browse files Browse the repository at this point in the history
  • Loading branch information
gehrkefc committed Feb 11, 2025
1 parent 934114b commit 1426b34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions examples/fakek8s/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM golang:1.23 as builder
WORKDIR /app
COPY go.mod .
RUN go mod download
COPY . .
RUN go mod download
RUN go build -o /app/tcp-client main.go

FROM debian:bookworm-slim
COPY --from=builder /app/tcp-client .

RUN ls .

CMD ["./tcp-client"]
CMD ["./tcp-client"]
2 changes: 1 addition & 1 deletion examples/fakek8s/fakek8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
imagePullPolicy: IfNotPresent
env:
- name: TARGET_HOST
value: "remotedialer-proxy.cattle-system.svc.cluster.local"
value: "api-extension.cattle-system.svc.cluster.local"
- name: TARGET_PORT
value: "6666"
- name: SEND_INTERVAL
Expand Down
2 changes: 1 addition & 1 deletion examples/fakek8s/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var (
targetHost = "remotedialer-proxy.cattle-system.svc.cluster.local"
targetHost = "api-extension.cattle-system.svc.cluster.local"
targetPort = 6666
retryDelay = 5 * time.Second
)
Expand Down

0 comments on commit 1426b34

Please sign in to comment.