Skip to content

Commit f7d9764

Browse files
Merge remote-tracking branch 'origin/master' into casey-fv-vxlan-borrow
2 parents 20f0705 + d87fb98 commit f7d9764

Some content is hidden

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

48 files changed

+2985
-475
lines changed

.semaphore/semaphore-scheduled-builds.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.semaphore/semaphore.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.semaphore/semaphore.yml.d/blocks/20-felix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
agent:
130130
machine:
131131
type: f1-standard-4
132-
os_image: ubuntu2004
132+
os_image: ubuntu2204
133133
prologue:
134134
commands:
135135
- cd felix

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,18 @@ check-dockerfiles:
4949
check-language:
5050
./hack/check-language.sh
5151

52+
protobuf:
53+
$(MAKE) -C app-policy protobuf
54+
$(MAKE) -C cni-plugin protobuf
55+
$(MAKE) -C felix protobuf
56+
$(MAKE) -C pod2daemon protobuf
57+
5258
generate:
5359
$(MAKE) gen-semaphore-yaml
60+
$(MAKE) protobuf
5461
$(MAKE) -C api gen-files
5562
$(MAKE) -C libcalico-go gen-files
5663
$(MAKE) -C felix gen-files
57-
$(MAKE) -C app-policy protobuf
5864
$(MAKE) gen-manifests
5965

6066
gen-manifests: bin/helm

api/pkg/apis/projectcalico/v3/felixconfig.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ type FelixConfigurationSpec struct {
379379
// file reporting is disabled if field is left empty.
380380
//
381381
// Chosen directory should match the directory used by the CNI plugin for PodStartupDelay.
382-
// [Default: ""]
382+
// [Default: /var/run/calico]
383383
EndpointStatusPathPrefix string `json:"endpointStatusPathPrefix,omitempty"`
384384

385385
// IptablesMarkMask is the mask that Felix selects its IPTables Mark bits from. Should be a 32 bit hexadecimal

api/pkg/openapi/generated.openapi.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app-policy/proto/healthz.pb.go

+14-45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cni-plugin/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ $(WINDOWS_BIN)/calico.exe: $(SRC_FILES)
110110
$(WINDOWS_BIN)/calico-ipam.exe: $(WINDOWS_BIN)/calico.exe
111111
cp "$<" "$@"
112112

113+
protobuf pkg/dataplane/grpc/proto/cnibackend.pb.go: pkg/dataplane/grpc/proto/cnibackend.proto
114+
$(DOCKER_RUN) -v $(CURDIR)/pkg/dataplane/grpc/proto:/proto:rw \
115+
$(CALICO_BUILD) sh -c 'protoc --proto_path=/proto --go_out=/proto --go-grpc_out=/ --go_opt=paths=source_relative cnibackend.proto'
116+
$(MAKE) fix-changed
117+
113118
# NOTE: WINDOWS_IMAGE_REQS must be defined with the requirements to build the windows
114119
# image. These must be added as reqs to 'image-windows' (originally defined in
115120
# lib.Makefile) on the specific package Makefile otherwise they are not correctly

0 commit comments

Comments
 (0)