MinIO KMS Custom Resource Definition (Alpha)

Packages

minkms.min.io/v1alpha1

Package v1alpha1 is the v1alpha1 version of the Enterprise Operator API.

CertificateConfig

CertificateConfig (certConfig) defines controlling attributes associated to any Certificates certificate automatically generated by the Operator. These fields have no effect if disableAutoCert: true.

Appears in:

FieldDescriptionDefaultValidation
commonName stringOptional +
The CommonName or CN attribute to associate to automatically generated Certificates certificates. +
organizationName string arrayOptional +
Specify one or more OrganizationName or O attributes to associate to automatically generated Certificates certificates. +
dnsNames string arrayOptional +
Specify one or more x.509 Subject Alternative Names (SAN) to associate to automatically generated Certificates certificates. MinIO Server pods use SNI to determine which certificate to respond with based on the requested hostname.

Certificates

Certificates Collection of certificates to provide to MinIO Enterprise Resource

Appears in:

FieldDescriptionDefaultValidation
certConfig CertificateConfigOptional +
Enables setting the CommonName, Organization, and dnsName attributes for all Certificates certificates automatically generated by the Operator. Configuring this object has no effect if disableAutoCert is true. +
externalCertSecret LocalCertificateReference arrayOptional +
Enables Certificates with SNI support on each MinIO Enterprise pod. If externalCertSecret is omitted and
DisableAutoCert is set to true, the MinIO Enterprise Resource deploys without Certificates enabled. +
Specify an array of Kubernetes Certificates secrets.
The MinIO Enterprise Operator copies the specified certificates to every MinIO Enterprise pod.
When the MinIO Enterprise pod/service responds to a Certificates connection request, it uses SNI to select the certificate
with matching subjectAlternativeName. +
Each element in the externalCertSecret array is an object containing the following fields: +
* - name - The name of the Kubernetes secret containing the Certificates certificate. +
* - type - Specify kubernetes.io/tls +
externalCaCertSecret LocalCertificateReference arrayOptional +
Allows MinIO Enterprise server pods to verify client Certificates certificates signed by a Certificate Authority not in
the pod’s trust store. +
Specify an array of Kubernetes Certificates secrets.
The MinIO Enterprise Operator copies the specified certificates to every MinIO Enterprise pod. +
Each element in the externalCertSecret array is an object containing the following fields: +
* - name - The name of the Kubernetes secret containing the Certificate Authority. +
* - type - Specify kubernetes.io/tls. +
externalClientCertSecrets LocalCertificateReference arrayOptional +
Provide support for mounting additional client certificate into MinIO Enterprise pods
Multiple client certificates will be mounted using the following folder structure: +
* certs +
* * client-0 +
* * * client.crt +
* * * client.key +
* * client-1 +
* * * client.crt +
* * * client.key +
* * * client-2 +
* * client.crt +
* * * client.key +
Specify a Kubernetes Certificates secrets.
The MinIO Enterprise Operator copies the specified certificate to every MinIO Enterprise server pod
that later can be referenced using environment variables. The secret must contain the following fields: +
* name - The name of the Kubernetes secret containing the Certificates certificate. +
* type - Specify kubernetes.io/tls +
disableAutoCert booleanOptional +
Whether to disable automatic certificate generation

CustomCertificateConfig

CustomCertificateConfig provides attributes associated with TLS certificates for enterprise services. These fields contain certificate metadata extracted from the provided TLS secrets.

Appears in:

FieldDescriptionDefaultValidation
certName stringName of the Kubernetes secret containing the certificateOptional: {}
domains string arrayDomain names and IP addresses associated with the certificate (including CN and SANs)Optional: {}
expiry stringCertificate expiry date in RFC3339 formatOptional: {}
expiresIn stringHuman-readable time until certificate expiryOptional: {}
serialNo stringCertificate serial numberOptional: {}

LocalCertificateReference

LocalCertificateReference (externalCertSecret, externalCaCertSecret,clientCertSecret) is a Kubernetes secret name and secret type reference containing Certificates certificates or Certificate Authority files for Certificates in the MinIO Enterprise service. +

Appears in:

FieldDescriptionDefaultValidation
name stringRequired +
The name of the Kubernetes secret containing the Certificates certificate or Certificate Authority file. +
type stringRequired +
The type of Kubernetes secret. Specify kubernetes.io/tls +

MinKMS

MinKMS A high performance Key Management System for billions of objects. Key component of the performance at scale requirements.

Appears in:

FieldDescriptionDefaultValidation
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec MinKMSSpecSpec denotes the specification of the MinKMS

MinKMSSpec

MinKMSSpec denotes the specification of the MinKMS

Appears in:

FieldDescriptionDefaultValidation
hsmSecret LocalObjectReferenceOptional +
Name of the secret containing the HSM Static Key. +
apiKeySecret LocalObjectReferenceName of the secret containing the Key Manager cluster API Key. +
configuration LocalObjectReferenceName of Secret containing the KMS config
replicas integerOptional +
Specify the number of MinKMS pods to be deployed. Defaults to 1.
Minimum: 1
image stringOptional +
The container image to use when deploying MinKMS server pods. Defaults to {kms-image}. +
imagePullSecrets LocalObjectReference arrayOptional +
Specify the secret key to use for pulling images from a private container repository. +
imagePullPolicy PullPolicyOptional +
The pull policy for the MinKMS image. Specify one of the following: +
* Always +
* Never +
* IfNotPresent (Default) +
Refer to the Kubernetes documentation for details https://kubernetes.io/docs/concepts/containers/images#updating-images
Enum: [Always IfNotPresent Never]
volumeClaimTemplate PersistentVolumeClaimRequired +
Specify the configuration options for the MinIO Enterprise Operator to use when generating Persistent Volume
Claims for MinKMS. +
env EnvVar arrayOptional +
If provided, the MinIO Enterprise Operator adds the specified environment variables when deploying MinKMS pods.
podManagementPolicy PodManagementPolicyTypeOptional +
Pod Management Policy for pod created by StatefulSet
Parallel
certificates CertificatesOptional +
Configure Certificates for MinKMS +
service ServiceOptional +
Configure Service for MinKMS +
securityContext PodSecurityContextOptional +
Specify the Security Context of
MinKMS pods. The Enterprise Operator supports only the following pod security fields: +
* fsGroup +
* fsGroupChangePolicy +
* runAsGroup +
* runAsNonRoot +
* runAsUser +
containerSecurityContext SecurityContextSpecify the Security Context of
containers in the MinKMS pods. The Enterprise Operator supports only the following container security fields: +
* runAsGroup +
* runAsNonRoot +
* runAsUser +
annotations object (keys:string, values:string)Optional +
Specify custom labels and annotations to append to the MinKMS pods.
Optional +
If provided, use these annotations for the Pool Objects Meta annotations (StateFulSet and Pod template)
labels object (keys:string, values:string)Optional +
If provided, use these labels for the MinKMS Objects Meta annotations (StateFulSet and Pod template)
runtimeClassName stringOptional +
If provided, each pod on the StateFulSet will run with the specified RuntimeClassName, for more info
https://kubernetes.io/docs/concepts/containers/runtime-class/ +
resources ResourceRequirementsOptional +
Object specification for specifying CPU and memory
resource allocations
or limits in MinKMS. +
nodeSelector object (keys:string, values:string)Optional +
The filter for the Enterprise Operator to apply when selecting on which nodes to deploy MinKMS pods.
The Enterprise Operator only selects those nodes whose labels match the specified selector. +
See the Kubernetes documentation on
Assigning Pods to Nodes for more information.
tolerations Toleration arrayOptional +
Specify one or more
Kubernetes tolerations
to apply to MinKMS pods.
affinity AffinityOptional +
Specify node affinity, pod affinity, and pod anti-affinity for the MinKMS pods. +
topologySpreadConstraints TopologySpreadConstraint arrayOptional +
Specify one or more
Kubernetes Topology Spread Constraints
to apply to MinKMS pods.
schedulerName stringIf specified, the pod will be dispatched by specified scheduler.
If not specified, the pod will be dispatched by default scheduler.
serviceAccountName stringOptional +
The Kubernetes Service Account
to use for running MinKMS pods. +
priorityClassName stringOptional +
Indicates the Pod priority and therefore importance of a Pod relative to other Pods in the cluster.
This is applied to MinKMS pods only. +
Refer Kubernetes Priority Class documentation
for more complete documentation.
sideCars SideCarsOptional +
A list of containers to run as sidecars along every MinKMS Pod deployed.
initContainers Container arrayOptional +
Add custom initContainers for MinKMS StatefulSet

MinKMSState

Underlying type: string

MinKMSState is the string type that represents the state of the MinKMS resource

Appears in:

FieldDescription
InitializedMinKMSStatusInitialized “Initialized”
Provisioning MinKMS Cluster IP ServiceMinKMSStatusProvisioningCIService “Provisioning MinKMS Cluster IP Service”
Provisioning MinKMS Headless ServiceMinKMSStatusProvisioningHLService “Provisioning MinKMS Headless Service”
Provisioning MinKMS StatefulsetMinKMSStatusProvisioningStatefulSet “Provisioning MinKMS Statefulset”
No HSM foundMinKMSStatusHSMMissing used for when no HSM was found
HSM Secret Not FoundMinKMSStatusHSMSecretNotFound used for when HSM secret specified but not found
Creating MinKMS Config secretMinKMSStatusCreatingConfigSecret “Creating MinKMS Config secret”
Creating MinKMS certsMinKMSStatusCreatingCerts indicates the state for creating certs
Waiting OCP MinKMS certsMinKMSStatusWaitingCerts indicates the state for waiting certs
Auto Scaling MinKMS nodesMinKMSStatusAutoScalingNodes indicates the state for auto-scaling nodes

Service

Service (service) defines custom labels and annotations for the Minio Enterprise service . +

Appears in:

FieldDescriptionDefaultValidation
name stringName of the serviceMaxLength: 63
Optional: {}
Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
serviceType ServiceTypeOptional +
The type of service to expose the MinIO service. +
If set, the service will be exposed using the specified type. +
if omitted, the service will be exposed using the default type ClusterIP. +
serviceExternalTrafficPolicy ServiceExternalTrafficPolicyOptional +
The type of external traffic policy the service exposing the MinIO service will follow. +
If set, the service external traffic policy will be exposed using the specified type. +
if omitted, the service will be exposed using the default type Cluster. +
nodePort integerOptional +
The port to expose the MinIO service is using a NodePort. +
If set, the service will be exposed using the specified port. +
if omitted, the service will be exposed using whatever assigned port by kubernetes. +
labels object (keys:string, values:string)Optional +
If provided, append these labels to the MinIO Enterprise service. +
annotations object (keys:string, values:string)Optional +
If provided, append these annotations to the MinIO Enterprise service. +

SideCars

SideCars (sidecars) defines a list of containers that Enterprise Operator attaches to each MinIO Enterprise server pods.

Appears in:

FieldDescriptionDefaultValidation
containers Container arrayOptional +
List of containers to run inside the Pod
volumeClaimTemplates PersistentVolumeClaim arrayOptional +
volumeClaimTemplates is a list of claims that pods are allowed to reference.
The StatefulSet controller is responsible for mapping network identities to
claims in a way that maintains the identity of a pod. Every claim in
this list must have at least one matching (by name) volumeMount in one
container in the template. A claim in this list takes precedence over
any volumes in the template, with the same name.
volumes Volume arrayOptional +
List of volumes that can be mounted by containers belonging to the pod.
More info: https://kubernetes.io/docs/concepts/storage/volumes
resources ResourceRequirementsOptional +
sidecar’s Resource, initcontainer will use that if set.

On this page