forked from fortra/function-pythonic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcluster-function-pythonic.yaml
More file actions
63 lines (63 loc) · 1.2 KB
/
cluster-function-pythonic.yaml
File metadata and controls
63 lines (63 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
apiVersion: pkg.crossplane.io/v1
kind: Function
metadata:
name: function-pythonic
spec:
package: ghcr.io/fortra/function-pythonic:v0.0.8
runtimeConfigRef:
name: function-pythonic
---
apiVersion: pkg.crossplane.io/v1beta1
kind: DeploymentRuntimeConfig
metadata:
name: function-pythonic
spec:
deploymentTemplate:
spec:
selector: {}
template:
spec:
containers:
- name: package-runtime
args:
- --debug
- --packages
- --packages-namespace=crossplane-system
serviceAccountName: function-pythonic
serviceAccountTemplate:
metadata:
name: function-pythonic
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: crossplane-system
name: function-pythonic
rules:
- apiGroups:
- ''
resources:
- configmaps
verbs:
- list
- watch
- patch
- apiGroups:
- ''
resources:
- events
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
namespace: crossplane-system
name: function-pythonic
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: function-pythonic
subjects:
- kind: ServiceAccount
name: function-pythonic