mirror of
https://github.com/hanzoai/kms-operator.git
synced 2026-10-30 18:32:57 +00:00
The six kinds (KMSSecret, KMSDynamicSecret, KMSPushSecret, ClusterGenerator, Password, UUID) move from v1alpha1 to v1. One package of Go types, renamed api/v1alpha1 -> api/v1, so there is one definition of each kind rather than a copy per version. The CRDs declare conversion: None, so the API server relabels apiVersion and returns the same bytes. The operator therefore needs to watch only the version the CRD serves; a second Go package would add drift and buy nothing. The v1 schema is v1alpha1's, unchanged -- controller-gen's output moves by exactly one line per CRD, the version name. Call sites import the package as secretsv1 because packages/controllerhelpers already binds bare v1 to k8s.io/api/apps/v1. RBAC is group- and resource-scoped, so it is unaffected.
39 lines
981 B
Plaintext
39 lines
981 B
Plaintext
# Code generated by tool. DO NOT EDIT.
|
|
# This file is used to track the info used to scaffold your project
|
|
# and allow the plugins properly work.
|
|
# More info: https://book.kubebuilder.io/reference/project-config.html
|
|
domain: lux.network
|
|
layout:
|
|
- go.kubebuilder.io/v3
|
|
projectName: kms-operator
|
|
repo: github.com/hanzoai/kms-operator
|
|
resources:
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
controller: true
|
|
domain: lux.network
|
|
group: secrets
|
|
kind: KMSSecret
|
|
path: github.com/hanzoai/kms-operator/api/v1
|
|
version: v1
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
controller: true
|
|
domain: lux.network
|
|
group: secrets
|
|
kind: KMSPushSecretSecret
|
|
path: github.com/hanzoai/kms-operator/api/v1
|
|
version: v1
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
controller: true
|
|
domain: lux.network
|
|
group: secrets
|
|
kind: KMSDynamicSecret
|
|
path: github.com/hanzoai/kms-operator/api/v1
|
|
version: v1
|
|
version: "3"
|