feat: operator-sdk scaffold with Function and Trigger CRDs
- operator-sdk init --domain kube5s.ru - CRD: Function, Trigger (sless.kube5s.ru) - controllers: FunctionReconciler, TriggerReconciler (stubs) - internal/ structure: api, storage/postgres, storage/s3, builder, config - fix: controller-tools bumped v0.11.1→v0.14.0 (Go 1.23 compat)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# The following patch enables a conversion webhook for the CRD
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: functions.sless.kube5s.ru
|
||||
spec:
|
||||
conversion:
|
||||
strategy: Webhook
|
||||
webhook:
|
||||
clientConfig:
|
||||
service:
|
||||
namespace: system
|
||||
name: webhook-service
|
||||
path: /convert
|
||||
conversionReviewVersions:
|
||||
- v1
|
||||
Reference in New Issue
Block a user