mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Feature toggles: add expression to generated json and k8s response (#90006)
This commit is contained in:
committed by
GitHub
parent
48552a578a
commit
2d5c58cb90
@@ -46,6 +46,9 @@ type FeatureSpec struct {
|
||||
|
||||
// Do not show the value in docs
|
||||
HideFromDocs bool `json:"hideFromDocs,omitempty"`
|
||||
|
||||
// Expression to determine if the flag is enabled by default
|
||||
Expression string `json:"expression,omitempty"`
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
Reference in New Issue
Block a user