You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/04/10 07:51:53 UTC

[skywalking-showcase] branch main updated: Fix function error

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


The following commit(s) were added to refs/heads/main by this push:
     new ed83319  Fix function error
ed83319 is described below

commit ed83319ac7798c47ab1a8efb3d7e3187e37498cb
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sun Apr 10 15:51:43 2022 +0800

    Fix function error
---
 deploy/platform/kubernetes/feature-function/resource.yaml | 4 ++--
 deploy/platform/kubernetes/features.mk                    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/deploy/platform/kubernetes/feature-function/resource.yaml b/deploy/platform/kubernetes/feature-function/resource.yaml
index d233502..1e57d7c 100644
--- a/deploy/platform/kubernetes/feature-function/resource.yaml
+++ b/deploy/platform/kubernetes/feature-function/resource.yaml
@@ -62,5 +62,5 @@ spec:
     template:
       containers:
         - name: function
-          imagePullPolicy: Never
-    runtime: "knative"
\ No newline at end of file
+          imagePullPolicy: IfNotPresent
+    runtime: "knative"
diff --git a/deploy/platform/kubernetes/features.mk b/deploy/platform/kubernetes/features.mk
index 0420753..4897de5 100644
--- a/deploy/platform/kubernetes/features.mk
+++ b/deploy/platform/kubernetes/features.mk
@@ -116,14 +116,14 @@ endif
 	@ofn install --knative --ingress --region-cn -y
 	@kubectl patch configmap/config-deployment -n knative-serving --type merge -p '{"data":{"registriesSkippingTagResolving":"ghcr.io"}}'
 
+# @feature: function; install open function resources
 .PHONY: deploy.feature-function
 deploy.feature-function: open-function
 	@echo "deploy.feature-function"
 
-# @feature: feature-function;
 .PHONY: feature-function
 feature-function:
 
 .PHONY: undeploy.feature-function
 undeploy.feature-function:
-	@ofn uninstall --all --region-cn -y
\ No newline at end of file
+	@ofn uninstall --all --region-cn -y