Skip to content

Commit

Permalink
Update Configuration to v4.0.1 (#2702)
Browse files Browse the repository at this point in the history
* Create config

add tikv config

tidb

update configuration

* fix tag

Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
  • Loading branch information
Yisaer and sre-bot committed Jun 15, 2020
1 parent 37a7d57 commit d1a2891
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/api-references/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3405,6 +3405,17 @@ string
<em>(Optional)</em>
</td>
</tr>
<tr>
<td>
<code>internal-proxy</code></br>
<em>
bool
</em>
</td>
<td>
<em>(Optional)</em>
</td>
</tr>
</tbody>
</table>
<h3 id="discoveryspec">DiscoverySpec</h3>
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/pingcap/v1alpha1/pd_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ type DashboardConfig struct {
TiDBKeyPath *string `toml:"tidb-key-path,omitempty" json:"tidb-key-path,omitempty"`
// +optional
PublicPathPrefix *string `toml:"public-path-prefix,omitempty" json:"public-path-prefix,omitempty"`
// +optional
InternalProxy *bool `toml:"internal-proxy,omitempty" json:"internal-proxy,omitempty"`
}

// PDLogConfig serializes log related config in toml/json.
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/pingcap/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d1a2891

Please sign in to comment.