Skip to content

Commit

Permalink
move sleep mode to experimental
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b17dc7)
  • Loading branch information
zerbitx committed Dec 18, 2024
1 parent 878bfd1 commit c1ba149
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,10 @@
"type": "array",
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"pro": true
},
"sleepMode": {
"$ref": "#/$defs/SleepMode",
"description": "SleepMode holds the native sleep mode configuration for Pro clusters"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3780,10 +3784,6 @@
"$ref": "#/$defs/Plugin"
},
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"sleepMode": {
"$ref": "#/$defs/SleepMode",
"description": "SleepMode holds the native sleep mode configuration for Pro clusters"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ type Config struct {

// Plugin specifies which vCluster plugins to enable. Use "plugins" instead. Do not use this option anymore.
Plugin map[string]Plugin `json:"plugin,omitempty"`

// SleepMode holds the native sleep mode configuration for Pro clusters
SleepMode *SleepMode `json:"sleepMode,omitempty"`
}

// Integrations holds config for vCluster integrations with other operators or tools running on the host cluster
Expand Down Expand Up @@ -1923,6 +1920,9 @@ type Experimental struct {

// DenyProxyRequests denies certain requests in the vCluster proxy.
DenyProxyRequests []DenyRule `json:"denyProxyRequests,omitempty" product:"pro"`

// SleepMode holds the native sleep mode configuration for Pro clusters
SleepMode *SleepMode `json:"sleepMode,omitempty"`
}

func (e Experimental) JSONSchemaExtend(base *jsonschema.Schema) {
Expand Down

0 comments on commit c1ba149

Please sign in to comment.