github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/opensearch-operator/files/opensearch.opster.io_opensearchroles.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.10.0 7 creationTimestamp: null 8 name: opensearchroles.opensearch.opster.io 9 spec: 10 group: opensearch.opster.io 11 names: 12 kind: OpensearchRole 13 listKind: OpensearchRoleList 14 plural: opensearchroles 15 shortNames: 16 - opensearchrole 17 singular: opensearchrole 18 scope: Namespaced 19 versions: 20 - name: v1 21 schema: 22 openAPIV3Schema: 23 description: OpensearchRole is the Schema for the opensearchroles API 24 properties: 25 apiVersion: 26 description: 'APIVersion defines the versioned schema of this representation 27 of an object. Servers should convert recognized schemas to the latest 28 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 29 type: string 30 kind: 31 description: 'Kind is a string value representing the REST resource this 32 object represents. Servers may infer this from the endpoint the client 33 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 34 type: string 35 metadata: 36 type: object 37 spec: 38 description: OpensearchRoleSpec defines the desired state of OpensearchRole 39 properties: 40 clusterPermissions: 41 items: 42 type: string 43 type: array 44 indexPermissions: 45 items: 46 properties: 47 allowedActions: 48 items: 49 type: string 50 type: array 51 dls: 52 type: string 53 fls: 54 items: 55 type: string 56 type: array 57 indexPatterns: 58 items: 59 type: string 60 type: array 61 type: object 62 type: array 63 opensearchCluster: 64 description: LocalObjectReference contains enough information to let 65 you locate the referenced object inside the same namespace. 66 properties: 67 name: 68 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 69 TODO: Add other useful fields. apiVersion, kind, uid?' 70 type: string 71 type: object 72 x-kubernetes-map-type: atomic 73 tenantPermissions: 74 items: 75 properties: 76 allowedActions: 77 items: 78 type: string 79 type: array 80 tenantPatterns: 81 items: 82 type: string 83 type: array 84 type: object 85 type: array 86 required: 87 - opensearchCluster 88 type: object 89 status: 90 description: OpensearchRoleStatus defines the observed state of OpensearchRole 91 properties: 92 existingRole: 93 type: boolean 94 managedCluster: 95 description: UID is a type that holds unique ID values, including 96 UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being 97 a type captures intent and helps make sure that UIDs and names do 98 not get conflated. 99 type: string 100 reason: 101 type: string 102 state: 103 type: string 104 type: object 105 type: object 106 served: true 107 storage: true 108 subresources: 109 status: {}