Add OnePasswordItem resource

operator-sdk create api --group onepassword --version v1 --kind OnePasswordItem --resource --controller
This commit is contained in:
Marton Soos
2022-04-11 09:06:29 +02:00
parent b30c6130f7
commit 69cc7cedb0
16 changed files with 499 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# This file is for teaching kustomize how to substitute name and namespace reference in CRD
nameReference:
- kind: Service
version: v1
fieldSpecs:
- kind: CustomResourceDefinition
version: v1
group: apiextensions.k8s.io
path: spec/conversion/webhook/clientConfig/service/name
namespace:
- kind: CustomResourceDefinition
version: v1
group: apiextensions.k8s.io
path: spec/conversion/webhook/clientConfig/service/namespace
create: false
varReference:
- path: metadata/annotations