diff --git a/docs/src/.vitepress/config.mts b/docs/src/.vitepress/config.mts index 3e18bb55..f8d2255e 100644 --- a/docs/src/.vitepress/config.mts +++ b/docs/src/.vitepress/config.mts @@ -51,6 +51,10 @@ const sidebar = { text: 'Overriding pod properties', link: '/guide/recipes/overriding-pod-properties', }, + { + text: 'Defining network administrators', + link: '/guide/recipes/defining-network-administrators', + }, ], }, ], diff --git a/docs/src/guide/recipes/defining-network-administrators.md b/docs/src/guide/recipes/defining-network-administrators.md new file mode 100644 index 00000000..5efa62c9 --- /dev/null +++ b/docs/src/guide/recipes/defining-network-administrators.md @@ -0,0 +1,26 @@ +# Defining Network administrators + +You can define a list of player UUIDs to consider _Network +Administrators_. These players will be granted all permissions +on the proxies and servers. This is mostly to ease maintainance +on the entire cluster. + +:::danger + +These players will be granted the most rights possible, please +act wisely when adding players to this list! + +::: + +To set the list of network administrators, set the `networkAdmins` +option in your cluster: + +```yaml +apiVersion: shulkermc.io/v1alpha1 +kind: MinecraftCluster +metadata: + name: cluster +spec: + networkAdmins: // [!code focus] + - 29b2b527-1b59-45df-b7b0-d5ab20d8731a // [!code focus] +``` diff --git a/kube/resources/crd/bases/shulkermc.io_minecraftclusters.yaml b/kube/resources/crd/bases/shulkermc.io_minecraftclusters.yaml index 3e69b4fb..8a1a76eb 100644 --- a/kube/resources/crd/bases/shulkermc.io_minecraftclusters.yaml +++ b/kube/resources/crd/bases/shulkermc.io_minecraftclusters.yaml @@ -28,7 +28,6 @@ spec: items: type: string type: array - uniqueItems: true redis: description: Redis configuration to use as a synchronization backend for the different Shulker components nullable: true