Skip to content

Commit e52b813

Browse files
authored
Adjust go sample app (#103)
Signed-off-by: Benjamin Huo <benjamin@kubesphere.io> Signed-off-by: Benjamin Huo <benjamin@kubesphere.io>
1 parent 23e05dd commit e52b813

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
apiVersion: core.openfunction.io/v1beta1
22
kind: Function
33
metadata:
4-
name: function-buildah
4+
name: sample-go-app
55
spec:
66
version: "v1.0.0"
7-
image: "openfunctiondev/sample-buildah-go:latest"
7+
image: "openfunctiondev/sample-go-app:v1"
88
imageCredentials:
99
name: push-secret
1010
#port: 8080 # default to 8080
1111
build:
1212
builder: openfunction/buildah:v1.23.1
1313
srcRepo:
1414
url: "https://github.com/OpenFunction/samples.git"
15-
sourceSubPath: "apps/with-dockerfile"
15+
sourceSubPath: "apps/buildah/go"
1616
revision: "main"
1717
shipwright:
1818
strategy:
@@ -23,5 +23,5 @@ spec:
2323
template:
2424
containers:
2525
- name: function
26-
imagePullPolicy: Always
26+
imagePullPolicy: IfNotPresent
2727

0 commit comments

Comments
 (0)