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,24 @@
|
||||
# This kustomization.yaml is not intended to be run by itself,
|
||||
# since it depends on service name and namespace that are out of this kustomize package.
|
||||
# It should be run by config/default
|
||||
resources:
|
||||
- bases/sless.kube5s.ru_functions.yaml
|
||||
- bases/sless.kube5s.ru_triggers.yaml
|
||||
#+kubebuilder:scaffold:crdkustomizeresource
|
||||
|
||||
patchesStrategicMerge:
|
||||
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
|
||||
# patches here are for enabling the conversion webhook for each CRD
|
||||
#- patches/webhook_in_functions.yaml
|
||||
#- patches/webhook_in_triggers.yaml
|
||||
#+kubebuilder:scaffold:crdkustomizewebhookpatch
|
||||
|
||||
# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
|
||||
# patches here are for enabling the CA injection for each CRD
|
||||
#- patches/cainjection_in_functions.yaml
|
||||
#- patches/cainjection_in_triggers.yaml
|
||||
#+kubebuilder:scaffold:crdkustomizecainjectionpatch
|
||||
|
||||
# the following config is for teaching kustomize how to do kustomization for CRDs.
|
||||
configurations:
|
||||
- kustomizeconfig.yaml
|
||||
Reference in New Issue
Block a user