--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.10.0 "helm.sh/hook": crd-install "helm.sh/hook-delete-policy": "before-hook-creation" creationTimestamp: null name: dbsecrets.digitalis.io spec: group: digitalis.io names: kind: DbSecret listKind: DbSecretList plural: dbsecrets singular: dbsecret scope: Namespaced versions: - name: v1beta1 schema: openAPIV3Schema: description: DbSecret is the Schema for the dbsecrets API properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: description: DbSecretSpec defines the desired state of DbSecret properties: renew: type: boolean rollout: items: properties: kind: description: Kind is either Deployment, Pod or StatefulSet type: string name: description: Name is the object name type: string required: - kind - name type: object type: array secretName: description: Name can override the secret name, defaults to manifests.name type: string template: additionalProperties: type: string type: object vault: properties: mount: description: Mount is the vault database type: string role: description: Role is the vault role used to connect to the database type: string required: - mount - role type: object required: - vault type: object status: description: DbSecretStatus defines the observed state of DbSecret type: object type: object served: true storage: true subresources: status: {}