Skip to content

Commit

Permalink
support passing raw toml config for tiflash (#3355) (#3368)
Browse files Browse the repository at this point in the history
support passing raw toml config for tiflash

Co-authored-by: july2993 <july2993@gmail.com>
Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 14, 2020
1 parent f36ae8c commit 7731440
Show file tree
Hide file tree
Showing 19 changed files with 809 additions and 1,663 deletions.
99 changes: 95 additions & 4 deletions docs/api-references/docs.md
Expand Up @@ -11115,12 +11115,35 @@ kubectl create secret generic <clusterName>-tidb-client-secret &ndash;namespace=
</tr>
</tbody>
</table>
<h3 id="tiflashconfig">TiFlashConfig</h3>
<h3 id="tiflashcommonconfigwraper">TiFlashCommonConfigWraper</h3>
<p>
(<em>Appears on:</em>
<a href="#tiflashspec">TiFlashSpec</a>)
<a href="#tiflashconfigwraper">TiFlashConfigWraper</a>)
</p>
<p>
</p>
<table>
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>GenericConfig</code></br>
<em>
github.com/pingcap/tidb-operator/pkg/util/config.GenericConfig
</em>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<h3 id="tiflashconfig">TiFlashConfig</h3>
<p>
<p>TiFlashConfig is the configuration of TiFlash.</p>
</p>
<table>
Expand Down Expand Up @@ -11161,6 +11184,74 @@ ProxyConfig
</tr>
</tbody>
</table>
<h3 id="tiflashconfigwraper">TiFlashConfigWraper</h3>
<p>
(<em>Appears on:</em>
<a href="#tiflashspec">TiFlashSpec</a>)
</p>
<p>
</p>
<table>
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>config</code></br>
<em>
<a href="#tiflashcommonconfigwraper">
TiFlashCommonConfigWraper
</a>
</em>
</td>
<td>
</td>
</tr>
<tr>
<td>
<code>proxy</code></br>
<em>
<a href="#tiflashproxyconfigwraper">
TiFlashProxyConfigWraper
</a>
</em>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<h3 id="tiflashproxyconfigwraper">TiFlashProxyConfigWraper</h3>
<p>
(<em>Appears on:</em>
<a href="#tiflashconfigwraper">TiFlashConfigWraper</a>)
</p>
<p>
</p>
<table>
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>GenericConfig</code></br>
<em>
github.com/pingcap/tidb-operator/pkg/util/config.GenericConfig
</em>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<h3 id="tiflashspec">TiFlashSpec</h3>
<p>
(<em>Appears on:</em>
Expand Down Expand Up @@ -11286,8 +11377,8 @@ TiFlash supports multiple disks.</p>
<td>
<code>config</code></br>
<em>
<a href="#tiflashconfig">
TiFlashConfig
<a href="#tiflashconfigwraper">
TiFlashConfigWraper
</a>
</em>
</td>
Expand Down
1 change: 1 addition & 0 deletions go.mod
Expand Up @@ -93,6 +93,7 @@ require (
k8s.io/utils v0.0.0-20190801114015-581e00157fb1
sigs.k8s.io/apiserver-builder-alpha/cmd v0.0.0-20191113095113-4493943d2568
sigs.k8s.io/controller-runtime v0.4.0
sigs.k8s.io/yaml v1.1.0
)

replace github.com/renstrom/dedent => github.com/lithammer/dedent v1.1.0
Expand Down

0 comments on commit 7731440

Please sign in to comment.