Skip to content

Commit

Permalink
Fix end lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 7, 2023
1 parent 9227efb commit fa2fcba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/src/main/resources/templates/scaling.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,19 @@ <h5 id="scaling_kubernetes">
<a class="headerlink" href="#scaling_kubernetes" title="Permalink to this headline"></a>
</h5>
<p>In Kubernetes, you can reuse an environment variable with:</p>
<pre><code>
<pre>
env:
- name: PROPERTY_VALUE
value: test
- name: CATALINA_OPTS
value: -D&lt;property name&gt;==$(PROPERTY_VALUE)
</code></pre>
</pre>

<p>The order is important.</p>

<p>Full example where we get the database credentials from a secret:</p>

<pre>
<code>
env:
- name: PGHOST
valueFrom:
Expand Down Expand Up @@ -111,5 +110,4 @@ <h5 id="scaling_kubernetes">
-Ddb.password=$(PGPASSWORD)
-Ddb.name=$(PGDATABASE)
-Ddb.schema=$(PGSCHEMA)
</code>
</pre>

0 comments on commit fa2fcba

Please sign in to comment.