diff --git a/docs/content/general/crds-apis.md b/docs/content/general/crds-apis.md index 93f5187c..184a38bd 100644 --- a/docs/content/general/crds-apis.md +++ b/docs/content/general/crds-apis.md @@ -19,1567 +19,9 @@ Packages: -- [capsule.clastix.io/v1alpha1](#capsuleclastixiov1alpha1) - [capsule.clastix.io/v1beta2](#capsuleclastixiov1beta2) - [capsule.clastix.io/v1beta1](#capsuleclastixiov1beta1) -# capsule.clastix.io/v1alpha1 - -Resource Types: - -- [CapsuleConfiguration](#capsuleconfiguration) - -- [Tenant](#tenant) - - - - -## CapsuleConfiguration - - - - - - -CapsuleConfiguration is the Schema for the Capsule configuration API. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
apiVersionstringcapsule.clastix.io/v1alpha1true
kindstringCapsuleConfigurationtrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the `metadata` field.true
specobject - CapsuleConfigurationSpec defines the Capsule configuration.
-
false
- - -### CapsuleConfiguration.spec - - - -CapsuleConfigurationSpec defines the Capsule configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
forceTenantPrefixboolean - Enforces the Tenant owner, during Namespace creation, to name it using the selected Tenant name as prefix, separated by a dash. This is useful to avoid Namespace name collision in a public CaaS environment.
-
- Default: false
-
false
protectedNamespaceRegexstring - Disallow creation of namespaces, whose name matches this regexp
-
false
userGroups[]string - Names of the groups for Capsule users.
-
- Default: [capsule.clastix.io]
-
false
- -## Tenant - - - - - - -Tenant is the Schema for the tenants API. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
apiVersionstringcapsule.clastix.io/v1alpha1true
kindstringTenanttrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the `metadata` field.true
specobject - TenantSpec defines the desired state of Tenant.
-
false
statusobject - TenantStatus defines the observed state of Tenant.
-
false
- - -### Tenant.spec - - - -TenantSpec defines the desired state of Tenant. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
ownerobject - OwnerSpec defines tenant owner name and kind.
-
true
additionalRoleBindings[]object -
-
false
containerRegistriesobject -
-
false
externalServiceIPsobject -
-
false
ingressClassesobject -
-
false
ingressHostnamesobject -
-
false
limitRanges[]object -
-
false
namespaceQuotainteger -
-
- Format: int32
- Minimum: 1
-
false
namespacesMetadataobject -
-
false
networkPolicies[]object -
-
false
nodeSelectormap[string]string -
-
false
resourceQuotas[]object -
-
false
servicesMetadataobject -
-
false
storageClassesobject -
-
false
- - -### Tenant.spec.owner - - - -OwnerSpec defines tenant owner name and kind. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
kindenum -
-
- Enum: User, Group
-
true
namestring -
-
true
- - -### Tenant.spec.additionalRoleBindings[index] - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
clusterRoleNamestring -
-
true
subjects[]object - kubebuilder:validation:Minimum=1
-
true
- - -### Tenant.spec.additionalRoleBindings[index].subjects[index] - - - -Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
kindstring - Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.
-
true
namestring - Name of the object being referenced.
-
true
apiGroupstring - APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
-
false
namespacestring - Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.
-
false
- - -### Tenant.spec.containerRegistries - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowed[]string -
-
false
allowedRegexstring -
-
false
- - -### Tenant.spec.externalServiceIPs - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowed[]string -
-
true
- - -### Tenant.spec.ingressClasses - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowed[]string -
-
false
allowedRegexstring -
-
false
- - -### Tenant.spec.ingressHostnames - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowed[]string -
-
false
allowedRegexstring -
-
false
- - -### Tenant.spec.limitRanges[index] - - - -LimitRangeSpec defines a min/max usage limit for resources that match on kind. - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
limits[]object - Limits is the list of LimitRangeItem objects that are enforced.
-
true
- - -### Tenant.spec.limitRanges[index].limits[index] - - - -LimitRangeItem defines a min/max usage limit for any resource that matches on kind. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring - Type of resource that this limit applies to.
-
true
defaultmap[string]int or string - Default resource requirement limit value by resource name if resource limit is omitted.
-
false
defaultRequestmap[string]int or string - DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
-
false
maxmap[string]int or string - Max usage constraints on this kind by resource name.
-
false
maxLimitRequestRatiomap[string]int or string - MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
-
false
minmap[string]int or string - Min usage constraints on this kind by resource name.
-
false
- - -### Tenant.spec.namespacesMetadata - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
additionalAnnotationsmap[string]string -
-
false
additionalLabelsmap[string]string -
-
false
- - -### Tenant.spec.networkPolicies[index] - - - -NetworkPolicySpec provides the specification of a NetworkPolicy - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
podSelectorobject - podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
-
true
egress[]object - egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
-
false
ingress[]object - ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)
-
false
policyTypes[]string - policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8
-
false
- - -### Tenant.spec.networkPolicies[index].podSelector - - - -podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object - matchExpressions is a list of label selector requirements. The requirements are ANDed.
-
false
matchLabelsmap[string]string - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-
false
- - -### Tenant.spec.networkPolicies[index].podSelector.matchExpressions[index] - - - -A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring - key is the label key that the selector applies to.
-
true
operatorstring - operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
true
values[]string - values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index] - - - -NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
ports[]object - ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
-
false
to[]object - to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].ports[index] - - - -NetworkPolicyPort describes a port to allow traffic on - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
endPortinteger - endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.
-
- Format: int32
-
false
portint or string - port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
-
false
protocolstring - protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
-
- Default: TCP
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].to[index] - - - -NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
ipBlockobject - ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
-
false
namespaceSelectorobject - namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. - If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector.
-
false
podSelectorobject - podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. - If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace.
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].to[index].ipBlock - - - -ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
cidrstring - cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
-
true
except[]string - except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].to[index].namespaceSelector - - - -namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. - If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object - matchExpressions is a list of label selector requirements. The requirements are ANDed.
-
false
matchLabelsmap[string]string - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].to[index].namespaceSelector.matchExpressions[index] - - - -A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring - key is the label key that the selector applies to.
-
true
operatorstring - operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
true
values[]string - values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].to[index].podSelector - - - -podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. - If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object - matchExpressions is a list of label selector requirements. The requirements are ANDed.
-
false
matchLabelsmap[string]string - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-
false
- - -### Tenant.spec.networkPolicies[index].egress[index].to[index].podSelector.matchExpressions[index] - - - -A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring - key is the label key that the selector applies to.
-
true
operatorstring - operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
true
values[]string - values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index] - - - -NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
from[]object - from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.
-
false
ports[]object - ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].from[index] - - - -NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
ipBlockobject - ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
-
false
namespaceSelectorobject - namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. - If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector.
-
false
podSelectorobject - podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. - If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].from[index].ipBlock - - - -ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
cidrstring - cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
-
true
except[]string - except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].from[index].namespaceSelector - - - -namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. - If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object - matchExpressions is a list of label selector requirements. The requirements are ANDed.
-
false
matchLabelsmap[string]string - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].from[index].namespaceSelector.matchExpressions[index] - - - -A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring - key is the label key that the selector applies to.
-
true
operatorstring - operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
true
values[]string - values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].from[index].podSelector - - - -podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. - If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object - matchExpressions is a list of label selector requirements. The requirements are ANDed.
-
false
matchLabelsmap[string]string - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].from[index].podSelector.matchExpressions[index] - - - -A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring - key is the label key that the selector applies to.
-
true
operatorstring - operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
true
values[]string - values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-
false
- - -### Tenant.spec.networkPolicies[index].ingress[index].ports[index] - - - -NetworkPolicyPort describes a port to allow traffic on - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
endPortinteger - endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.
-
- Format: int32
-
false
portint or string - port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
-
false
protocolstring - protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
-
- Default: TCP
-
false
- - -### Tenant.spec.resourceQuotas[index] - - - -ResourceQuotaSpec defines the desired hard limits to enforce for Quota. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
hardmap[string]int or string - hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
-
false
scopeSelectorobject - scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
-
false
scopes[]string - A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
-
false
- - -### Tenant.spec.resourceQuotas[index].scopeSelector - - - -scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object - A list of scope selector requirements by scope of the resources.
-
false
- - -### Tenant.spec.resourceQuotas[index].scopeSelector.matchExpressions[index] - - - -A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
operatorstring - Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
-
true
scopeNamestring - The name of the scope that the selector applies to.
-
true
values[]string - An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-
false
- - -### Tenant.spec.servicesMetadata - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
additionalAnnotationsmap[string]string -
-
false
additionalLabelsmap[string]string -
-
false
- - -### Tenant.spec.storageClasses - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowed[]string -
-
false
allowedRegexstring -
-
false
- - -### Tenant.status - - - -TenantStatus defines the observed state of Tenant. - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
sizeinteger -
-
true
namespaces[]string -
-
false
- # capsule.clastix.io/v1beta2 Resource Types: @@ -1631,7 +73,7 @@ CapsuleConfiguration is the Schema for the Capsule configuration API. Refer to the Kubernetes API documentation for the fields of the `metadata` field. true - spec + spec object CapsuleConfigurationSpec defines the Capsule configuration.
@@ -5192,14 +3634,14 @@ Tenant is the Schema for the tenants API. Refer to the Kubernetes API documentation for the fields of the `metadata` field. true - spec + spec object TenantSpec defines the desired state of Tenant.
false - status + status object Returns the observed state of the Tenant.
@@ -5232,14 +3674,14 @@ TenantSpec defines the desired state of Tenant. true - additionalRoleBindings + additionalRoleBindings []object Specifies additional RoleBindings assigned to the Tenant. Capsule will ensure that all namespaces in the Tenant always contain the RoleBinding for the given ClusterRole. Optional.
false - containerRegistries + containerRegistries object Specifies the trusted Image Registries assigned to the Tenant. Capsule assures that all Pods resources created in the Tenant can use only one of the allowed trusted registries. Optional.
@@ -5309,7 +3751,7 @@ TenantSpec defines the desired state of Tenant. false - storageClasses + storageClasses object Specifies the allowed StorageClasses assigned to the Tenant. Capsule assures that all PersistentVolumeClaim resources created in the Tenant can use only one of the allowed StorageClasses. Optional.
@@ -5419,7 +3861,7 @@ TenantSpec defines the desired state of Tenant. true - subjects + subjects []object kubebuilder:validation:Minimum=1