Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce-Huang <[email protected]>
  • Loading branch information
Bryce-huang committed Jul 15, 2024
1 parent 8950bc6 commit f861243
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ARG GOPROXY="https://goproxy.cn"

# Build the openfunction binary
FROM golang:1.19 as builder
FROM golang:1.20 as builder
ARG GOPROXY

WORKDIR /workspace
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
# limitations under the License.
#

VERSION?=$(shell cat VERSION | tr -d " \t\n\r")
#VERSION?=$(shell cat VERSION | tr -d " \t\n\r")
VERSION="v1.5.0"
# Image URL to use all building/pushing image targets
IMG ?= openfunction/openfunction:$(VERSION)
IMG ?= brycehuang/openfunction:$(VERSION)
IMG_DEV ?= openfunctiondev/openfunction:$(VERSION)
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
#CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false"
Expand Down
4 changes: 2 additions & 2 deletions config/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40712,7 +40712,7 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/name: openfunction-controller-manager
app.kubernetes.io/version: latest
app.kubernetes.io/version: "v1.5.0"
control-plane: controller-manager
name: openfunction-controller-manager
namespace: openfunction
Expand All @@ -40733,7 +40733,7 @@ spec:
- --leader-elect
command:
- /openfunction
image: openfunction/openfunction:latest
image: openfunction/openfunction:"v1.5.0"
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion controllers/core/function_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ func (r *FunctionReconciler) createServing(fn *openfunction.Function) error {

serving := &openfunction.Serving{
ObjectMeta: metav1.ObjectMeta{
GenerateName: fn.Name + "-",
GenerateName: "serving-",
Namespace: fn.Namespace,
Labels: map[string]string{
constants.FunctionLabel: fn.Name,
Expand Down

0 comments on commit f861243

Please sign in to comment.