Minecraft is the Schema for the minecrafts API
Back to Custom Resources
MinecraftList contains a list of Minecraft
Field Description Scheme Required
metadata metav1.ListMeta false
items []Minecraft true
Back to Custom Resources
MinecraftSpec defines the desired state of Minecraft
Field Description Scheme Required
podTemplate PodTemplate is a Pod
template for Minecraft server container. PodTemplateSpec true
volumeClaimTemplates PersistentVolumeClaimSpec is a specification of PersistentVolumeClaim
for persisting data in minecraft. A claim named "minecraft-data" must be included in the list. []PersistentVolumeClaim true
serviceTemplate ServiceTemplate is a Service
template. *ServiceTemplate false
ops operators on server. exec /op or /deop Ops false
whitelist whitelist Whitelist false
serverPropertiesConfigMapName ServerPropertiesConfigMapName is a ConfigMap
name of server.properties
. *string false
otherConfigMapName OtherConfigMapName is a ConfigMap
name of other configurations file(eg. banned-ips.json, ops.json etc) *string false
Back to Custom Resources
ObjectMeta is metadata of objects. This is partially copied from metav1.ObjectMeta.
Field Description Scheme Required
name Name is the name of the object. string false
labels Labels is a map of string keys and values. map[string]string false
annotations Annotations is a map of string keys and values. map[string]string false
Back to Custom Resources
Field Description Scheme Required
users user name exec /op or /deop []string false
Back to Custom Resources
PersistentVolumeClaim is a user's request for and claim to a persistent volume. This is slightly modified from corev1.PersistentVolumeClaim.
Field Description Scheme Required
metadata Standard object's metadata. ObjectMeta true
spec Spec defines the desired characteristics of a volume requested by a pod author. corev1.PersistentVolumeClaimSpec true
Back to Custom Resources
PodTemplateSpec describes the data a pod should have when created from a template. This is slightly modified from corev1.PodTemplateSpec.
Field Description Scheme Required
metadata Standard object's metadata. The name in this metadata is ignored. ObjectMeta false
spec Specification of the desired behavior of the pod. The name of the MySQL server container in this spec must be minecraft
. corev1.PodSpec true
Back to Custom Resources
ServiceTemplate define the desired spec and annotations of Service
Field Description Scheme Required
metadata Standard object's metadata. Only annotations
and labels
are valid. ObjectMeta false
spec Spec is the ServiceSpec *corev1.ServiceSpec false
Back to Custom Resources
Field Description Scheme Required
enabled exec /whitelist on bool true
users user name exec /whitelist add or /whitelist remove []string false
Back to Custom Resources