Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

feat: add knative serving and functions #14

Merged
merged 14 commits into from
Dec 20, 2023
Prev Previous commit
Next Next commit
feat: add pvc to funcs
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
  • Loading branch information
zalsader committed Dec 15, 2023
commit 0965c4088cf64738707b3d05d0153e2355eeba3b
5 changes: 5 additions & 0 deletions knative/consumer/func.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ specVersion: 0.35.0
name: consumer
runtime: go
created: 2023-12-13T00:39:05.888786906-05:00
run:
volumes:
- presistentVolumeClaim:
claimName: knative-pc-cephfs
path: /files
5 changes: 4 additions & 1 deletion knative/deploy/serving.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ spec:
domain:
"knative-staging.koor.tech": ""
network:
ingress-class: "kourier.ingress.networking.knative.dev"
ingress-class: "kourier.ingress.networking.knative.dev"
features:
kubernetes.podspec-persistent-volume-claim: "enabled"
kubernetes.podspec-persistent-volume-write: "enabled"
5 changes: 5 additions & 0 deletions knative/producer/func.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ specVersion: 0.35.0
name: producer
runtime: go
created: 2023-12-13T00:38:54.564292994-05:00
run:
volumes:
- presistentVolumeClaim:
claimName: knative-pc-cephfs
path: /files