Some tests were pointing to examples directory which has been moved out. Also kept one node.js examples as it is widely used in Helm charts etc.
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
apiVersion: fission.io/v1
|
|
kind: Package
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: go-b4bbb0e0-2d93-47f0-8c4e-eea644eec2a9
|
|
namespace: default
|
|
spec:
|
|
deployment:
|
|
checksum: {}
|
|
environment:
|
|
name: go-spec-kubectl
|
|
namespace: default
|
|
source:
|
|
checksum:
|
|
sum: aa595bb952047c517d849f8fc9e490fdabc37d83795392074a0b15a59748004f
|
|
type: sha256
|
|
type: url
|
|
url: https://raw.githubusercontent.com/fission/examples/master/go/hello.gogo # this is intentional
|
|
|
|
---
|
|
apiVersion: fission.io/v1
|
|
kind: Function
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: go-spec-kubectl
|
|
namespace: default
|
|
spec:
|
|
InvokeStrategy:
|
|
ExecutionStrategy:
|
|
ExecutorType: poolmgr
|
|
MaxScale: 0
|
|
MinScale: 0
|
|
SpecializationTimeout: 120
|
|
TargetCPUPercent: 0
|
|
StrategyType: execution
|
|
configmaps: null
|
|
environment:
|
|
name: go-spec-kubectl
|
|
namespace: default
|
|
functionTimeout: 60
|
|
package:
|
|
functionName: Handler
|
|
packageref:
|
|
name: go-b4bbb0e0-2d93-47f0-8c4e-eea644eec2a9
|
|
namespace: default
|
|
resources: {}
|
|
secrets: null
|