Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/olm-tests/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
namespace: olm
spec:
sourceType: grpc
image: kind-registry:5000/streamnativeio/function-mesh-catalog:v0.26.1
image: localhost:5000/streamnativeio/function-mesh-catalog:v0.26.1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
issuerUrl: https://auth.sncloud-stg.dev/
keySecretName: sn-platform-oauth2-private-key
keySecretKey: auth.json
packageService:
pulsarPackageService:
pulsarConfig: "test-pulsar-package-service"
tlsConfig:
enabled: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bundle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -180,10 +180,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: InstallKubebuilder
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/olm-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: InstallKubebuilder
Expand All @@ -57,15 +57,14 @@ jobs:
sudo chmod +x /usr/bin/yq
yq --help

- name: Kubernetes KinD Cluster
uses: container-tools/kind-action@v1
with:
node_image: kindest/node:v1.23.17
- name: Create kind cluster
run: |
hack/kind-cluster-build.sh --name olm-verify -c 1 -v 10 --k8sVersion v1.23.17

- name: Build RedHat certificated bundle And Publish to Quay
env:
DOCKER_REPO: kind-registry:5000/streamnativeio
IMAGE_TAG_BASE: kind-registry:5000/streamnativeio/function-mesh
DOCKER_REPO: localhost:5000/streamnativeio
IMAGE_TAG_BASE: localhost:5000/streamnativeio/function-mesh
CATALOG_BRANCH_TAG: latest
run: |
echo $VERSION
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.22.12, 1.24.13]
go-version: [1.25.8]
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@v1.3.0
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:

- name: InstallTool
run: |
wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.64.7
GOBIN=$(pwd)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.7
./bin/golangci-lint --version

- name: validate controller-gen
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: InstallKubebuilder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-helm-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ jobs:
run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.23.17
if: steps.list-changed.outputs.changed == 'true'

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
if: steps.list-changed.outputs.changed == 'true'
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: setup kubebuilder 3.6.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: InstallKubebuilder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy_scheduled_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up GO 1.24.13
- name: Set up GO 1.25.8
uses: actions/setup-go@v5
with:
go-version: 1.24.13
go-version: 1.25.8
id: go

- name: InstallKubebuilder
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.24.13-trixie as builder
FROM golang:1.25.8-trixie AS builder

WORKDIR /workspace/api
COPY api/ .
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ image-push:
# find or download controller-gen
# download controller-gen if necessary
controller-gen:
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.5)

kustomize: ## Download kustomize locally if necessary.
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v4@v4.5.5)
Expand Down
4 changes: 2 additions & 2 deletions api/compute/v1alpha1/function_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ type FunctionSpec struct {

// +kubebuilder:validation:Required
Messaging `json:",inline"`
// PackageService is used for package download when specified.
// PulsarPackageService is used for package download when specified.
// If empty, the package download falls back to Messaging.Pulsar.
PackageService *PulsarMessaging `json:"packageService,omitempty"`
PulsarPackageService *PulsarMessaging `json:"pulsarPackageService,omitempty"`

// +kubebuilder:validation:Required
Runtime `json:",inline"`
Expand Down
4 changes: 2 additions & 2 deletions api/compute/v1alpha1/sink_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ type SinkSpec struct {

// +kubebuilder:validation:Required
Messaging `json:",inline"`
// PackageService is used for package download when specified.
// PulsarPackageService is used for package download when specified.
// If empty, the package download falls back to Messaging.Pulsar.
PackageService *PulsarMessaging `json:"packageService,omitempty"`
PulsarPackageService *PulsarMessaging `json:"pulsarPackageService,omitempty"`
// +kubebuilder:validation:Required
Runtime `json:",inline"`

Expand Down
4 changes: 2 additions & 2 deletions api/compute/v1alpha1/source_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ type SourceSpec struct {

// +kubebuilder:validation:Required
Messaging `json:",inline"`
// PackageService is used for package download when specified.
// PulsarPackageService is used for package download when specified.
// If empty, the package download falls back to Messaging.Pulsar.
PackageService *PulsarMessaging `json:"packageService,omitempty"`
PulsarPackageService *PulsarMessaging `json:"pulsarPackageService,omitempty"`

// +kubebuilder:validation:Required
Runtime `json:",inline"`
Expand Down
12 changes: 6 additions & 6 deletions api/compute/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/streamnative/function-mesh/api

go 1.24.13
go 1.25.8

require (
k8s.io/api v0.30.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- if eq .Values.admissionWebhook.certificate.provider "cert-manager" }}
{{- include "function-mesh-operator.certManager.annotation" . | nindent 4 -}}
{{- end }}
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.5
name: backendconfigs.compute.functionmesh.io
spec:
conversion:
Expand Down Expand Up @@ -1159,6 +1159,7 @@ spec:
format: int32
type: integer
service:
default: ""
type: string
required:
- port
Expand Down Expand Up @@ -1265,6 +1266,7 @@ spec:
format: int32
type: integer
service:
default: ""
type: string
required:
- port
Expand Down Expand Up @@ -1463,6 +1465,7 @@ spec:
format: int32
type: integer
service:
default: ""
type: string
required:
- port
Expand Down Expand Up @@ -1934,6 +1937,7 @@ spec:
format: int32
type: integer
service:
default: ""
type: string
required:
- port
Expand Down Expand Up @@ -2040,6 +2044,7 @@ spec:
format: int32
type: integer
service:
default: ""
type: string
required:
- port
Expand Down Expand Up @@ -2238,6 +2243,7 @@ spec:
format: int32
type: integer
service:
default: ""
type: string
required:
- port
Expand Down
Loading