Skip to content

Commit a238174

Browse files
authored
Merge pull request #192 from datum-cloud/feat/eg-extension-server
Envoy Gateway extension server
2 parents 99891e8 + 12d69dc commit a238174

58 files changed

Lines changed: 7820 additions & 800 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@ jobs:
3232
bundle-name: ghcr.io/datum-cloud/network-services-operator-kustomize
3333
bundle-path: config
3434
image-name: ghcr.io/datum-cloud/network-services-operator
35-
image-overlays: config/manager
35+
# Both overlays run the same image (single binary, subcommand selects role),
36+
# so pin both to the release tag in the published bundle.
37+
image-overlays: config/manager,config/extension-server
3638
secrets: inherit

.github/workflows/validate-kustomize.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ on:
55

66
jobs:
77
validate-kustomize:
8-
uses: datum-cloud/actions/.github/workflows/validate-kustomize.yaml@v1.15.0
8+
uses: datum-cloud/actions/.github/workflows/validate-kustomize.yaml@v1.16.0

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build \
3131
-X main.gitCommit=${GIT_COMMIT} \
3232
-X main.gitTreeState=${GIT_TREE_STATE} \
3333
-X main.buildDate=${BUILD_DATE}" \
34-
-o manager cmd/main.go
34+
-o network-services cmd/main.go
3535

3636
# Use distroless as minimal base image to package the manager binary.
3737
# static-debian12:nonroot is explicit about the Debian variant to avoid silent
@@ -42,7 +42,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build \
4242
# Refer to https://github.com/GoogleContainerTools/distroless for more details
4343
FROM gcr.io/distroless/static-debian12:nonroot
4444
WORKDIR /
45-
COPY --from=builder /workspace/manager .
45+
COPY --from=builder /workspace/network-services .
4646
USER 65532:65532
4747

48-
ENTRYPOINT ["/manager"]
48+
ENTRYPOINT ["/network-services"]

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes
109109

110110
.PHONY: build
111111
build: manifests generate fmt vet ## Build manager binary.
112-
go build -o bin/manager cmd/main.go
112+
go build -o bin/network-services cmd/main.go
113113

114114
.PHONY: run
115115
run: manifests generate fmt vet ## Run a controller from your host.
116-
go run ./cmd/main.go -health-probe-bind-address 0 --server-config ./config/dev/config.yaml
116+
go run ./cmd/main.go manager --health-probe-bind-address=0 --server-config=./config/dev/config.yaml
117117

118118
# If you wish to build the manager image targeting other platforms you can use the --platform flag.
119119
# (i.e. docker build --platform linux/arm64). However, you must enable docker buildKit for it.

api/v1alpha/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)