Skip to content

Commit 4c0bd61

Browse files
authored
docs: clarify placeholder intro (#2488)
1 parent 85a957f commit 4c0bd61

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/configuration/server-properties.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ If you prefer to manually manage the `server.properties` file, set `OVERRIDE_SER
66
77
## Placeholders
88

9-
Any of the server properties mapped from the environment variables [below](#properties), may contain placeholders that are replaced when the `server.properties` file is updated. The syntax of placeholders is DOS-style, `%VAR%` to avoid being processed by Docker or the shell.
9+
When declaring a server properties via container environment variables, those values may contain placeholders that are processed when the `server.properties` file is updated.
1010

11-
The following options are available for placeholders:
11+
The syntax of placeholders is DOS-style, `%VAR%`, to avoid being processed by Docker or the shell and the following options are available:
1212

1313
`%VAR%`
1414

@@ -33,6 +33,10 @@ Any declared or resolved environment variable may be referenced, such as `VERSIO
3333
LEVEL: world-%date:yyyy-MM-dd%
3434
```
3535

36+
!!! warning
37+
38+
Placeholders are not supported when manually managing `server.properties`
39+
3640
## Properties
3741

3842
### Message of the Day

examples/k8s/using-statefulset.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ spec:
1919
containers:
2020
- name: mc
2121
image: itzg/minecraft-server
22+
imagePullPolicy: Always
2223
env:
2324
- name: EULA
2425
value: "TRUE"

0 commit comments

Comments
 (0)