|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.8.0 |
| 7 | + creationTimestamp: null |
| 8 | + name: proxysettings.capsule.clastix.io |
| 9 | +spec: |
| 10 | + group: capsule.clastix.io |
| 11 | + names: |
| 12 | + kind: ProxySetting |
| 13 | + listKind: ProxySettingList |
| 14 | + plural: proxysettings |
| 15 | + singular: proxysetting |
| 16 | + scope: Namespaced |
| 17 | + versions: |
| 18 | + - name: v1beta1 |
| 19 | + schema: |
| 20 | + openAPIV3Schema: |
| 21 | + description: ProxySetting is the Schema for the proxysettings API. |
| 22 | + properties: |
| 23 | + apiVersion: |
| 24 | + description: 'APIVersion defines the versioned schema of this representation |
| 25 | + of an object. Servers should convert recognized schemas to the latest |
| 26 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 27 | + type: string |
| 28 | + kind: |
| 29 | + description: 'Kind is a string value representing the REST resource this |
| 30 | + object represents. Servers may infer this from the endpoint the client |
| 31 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 32 | + type: string |
| 33 | + metadata: |
| 34 | + type: object |
| 35 | + spec: |
| 36 | + description: ProxySettingSpec defines the additional Capsule Proxy settings |
| 37 | + for additional users of the Tenant. Resource is Namespace-scoped and |
| 38 | + applies the settings to the belonged Tenant. |
| 39 | + properties: |
| 40 | + subjects: |
| 41 | + description: Subjects that should receive additional permissions. |
| 42 | + items: |
| 43 | + properties: |
| 44 | + clusterResources: |
| 45 | + description: Cluster Resources for tenant Owner. |
| 46 | + items: |
| 47 | + properties: |
| 48 | + apiGroups: |
| 49 | + description: APIGroups is the name of the APIGroup that |
| 50 | + contains the resources. If multiple API groups are specified, |
| 51 | + any action requested against any resource listed will |
| 52 | + be allowed. '*' represents all resources. Empty string |
| 53 | + represents v1 api resources. |
| 54 | + items: |
| 55 | + type: string |
| 56 | + type: array |
| 57 | + operations: |
| 58 | + default: |
| 59 | + - List |
| 60 | + description: Operations which can be executed on the selected |
| 61 | + resources. |
| 62 | + items: |
| 63 | + enum: |
| 64 | + - List |
| 65 | + - Update |
| 66 | + - Delete |
| 67 | + type: string |
| 68 | + type: array |
| 69 | + resources: |
| 70 | + description: Resources is a list of resources this rule |
| 71 | + applies to. '*' represents all resources. |
| 72 | + items: |
| 73 | + type: string |
| 74 | + type: array |
| 75 | + selector: |
| 76 | + description: Select all cluster scoped resources with |
| 77 | + the given label selector. |
| 78 | + properties: |
| 79 | + matchExpressions: |
| 80 | + description: matchExpressions is a list of label selector |
| 81 | + requirements. The requirements are ANDed. |
| 82 | + items: |
| 83 | + description: A label selector requirement is a selector |
| 84 | + that contains values, a key, and an operator that |
| 85 | + relates the key and values. |
| 86 | + properties: |
| 87 | + key: |
| 88 | + description: key is the label key that the selector |
| 89 | + applies to. |
| 90 | + type: string |
| 91 | + operator: |
| 92 | + description: operator represents a key's relationship |
| 93 | + to a set of values. Valid operators are In, |
| 94 | + NotIn, Exists and DoesNotExist. |
| 95 | + type: string |
| 96 | + values: |
| 97 | + description: values is an array of string values. |
| 98 | + If the operator is In or NotIn, the values |
| 99 | + array must be non-empty. If the operator is |
| 100 | + Exists or DoesNotExist, the values array must |
| 101 | + be empty. This array is replaced during a |
| 102 | + strategic merge patch. |
| 103 | + items: |
| 104 | + type: string |
| 105 | + type: array |
| 106 | + required: |
| 107 | + - key |
| 108 | + - operator |
| 109 | + type: object |
| 110 | + type: array |
| 111 | + matchLabels: |
| 112 | + additionalProperties: |
| 113 | + type: string |
| 114 | + description: matchLabels is a map of {key,value} pairs. |
| 115 | + A single {key,value} in the matchLabels map is equivalent |
| 116 | + to an element of matchExpressions, whose key field |
| 117 | + is "key", the operator is "In", and the values array |
| 118 | + contains only "value". The requirements are ANDed. |
| 119 | + type: object |
| 120 | + type: object |
| 121 | + required: |
| 122 | + - apiGroups |
| 123 | + - operations |
| 124 | + - resources |
| 125 | + - selector |
| 126 | + type: object |
| 127 | + type: array |
| 128 | + kind: |
| 129 | + description: Kind of tenant owner. Possible values are "User", |
| 130 | + "Group", and "ServiceAccount" |
| 131 | + enum: |
| 132 | + - User |
| 133 | + - Group |
| 134 | + - ServiceAccount |
| 135 | + type: string |
| 136 | + name: |
| 137 | + description: Name of tenant owner. |
| 138 | + type: string |
| 139 | + proxySettings: |
| 140 | + description: Proxy settings for tenant owner. |
| 141 | + items: |
| 142 | + properties: |
| 143 | + kind: |
| 144 | + enum: |
| 145 | + - Nodes |
| 146 | + - StorageClasses |
| 147 | + - IngressClasses |
| 148 | + - PriorityClasses |
| 149 | + - RuntimeClasses |
| 150 | + - PersistentVolumes |
| 151 | + type: string |
| 152 | + operations: |
| 153 | + items: |
| 154 | + enum: |
| 155 | + - List |
| 156 | + - Update |
| 157 | + - Delete |
| 158 | + type: string |
| 159 | + type: array |
| 160 | + required: |
| 161 | + - kind |
| 162 | + - operations |
| 163 | + type: object |
| 164 | + type: array |
| 165 | + required: |
| 166 | + - kind |
| 167 | + - name |
| 168 | + type: object |
| 169 | + minItems: 1 |
| 170 | + type: array |
| 171 | + required: |
| 172 | + - subjects |
| 173 | + type: object |
| 174 | + type: object |
| 175 | + served: true |
| 176 | + storage: true |
| 177 | +status: |
| 178 | + acceptedNames: |
| 179 | + kind: "" |
| 180 | + plural: "" |
| 181 | + conditions: [] |
| 182 | + storedVersions: [] |
0 commit comments