diff --git a/docs/src/main/resources/templates/scaling.html b/docs/src/main/resources/templates/scaling.html index 07f6bb5b4d..5a585674e9 100644 --- a/docs/src/main/resources/templates/scaling.html +++ b/docs/src/main/resources/templates/scaling.html @@ -57,20 +57,19 @@
In Kubernetes, you can reuse an environment variable with:
-
+
env:
- name: PROPERTY_VALUE
value: test
- name: CATALINA_OPTS
value: -D<property name>==$(PROPERTY_VALUE)
-
+
The order is important.
Full example where we get the database credentials from a secret:
-
env:
- name: PGHOST
valueFrom:
@@ -111,5 +110,4 @@
-Ddb.password=$(PGPASSWORD)
-Ddb.name=$(PGDATABASE)
-Ddb.schema=$(PGSCHEMA)
-