-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare for release v0.9.0-rc.0 (#157)
ProductLine: KubeVault Release: v2022.09.05-rc.0 Release-tracker: kubevault/CHANGELOG#29 Signed-off-by: 1gtm <1gtm@appscode.com> Signed-off-by: 1gtm <1gtm@appscode.com>
- Loading branch information
Showing
34 changed files
with
21,595 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
Copyright AppsCode Inc. and Contributors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
package v1 | ||
|
||
// ReadonlyHealthCheckSpec defines attributes of the health check using only read-only checks | ||
type ReadonlyHealthCheckSpec struct { | ||
// How often (in seconds) to perform the health check. | ||
// Default to 10 seconds. Minimum value is 1. | ||
// +optional | ||
// +kubebuilder:default=10 | ||
PeriodSeconds *int32 `json:"periodSeconds,omitempty" protobuf:"varint,1,opt,name=periodSeconds"` | ||
// Number of seconds after which the probe times out. | ||
// Defaults to 10 second. Minimum value is 1. | ||
// It should be less than the periodSeconds. | ||
// +optional | ||
// +kubebuilder:default=10 | ||
TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,2,opt,name=timeoutSeconds"` | ||
// Minimum consecutive failures for the health check to be considered failed after having succeeded. | ||
// Defaults to 1. Minimum value is 1. | ||
// +optional | ||
// +kubebuilder:default=1 | ||
FailureThreshold *int32 `json:"failureThreshold,omitempty" protobuf:"varint,3,opt,name=failureThreshold"` | ||
} | ||
|
||
// HealthCheckSpec defines attributes of the health check | ||
type HealthCheckSpec struct { | ||
ReadonlyHealthCheckSpec `json:",inline" protobuf:"bytes,1,opt,name=readonlyHealthCheckSpec"` | ||
// Whether to disable write check on database. | ||
// Defaults to false. | ||
// +optional | ||
DisableWriteCheck bool `json:"disableWriteCheck,omitempty" protobuf:"varint,2,opt,name=disableWriteCheck"` | ||
} |
103 changes: 90 additions & 13 deletions
103
vendor/kmodules.xyz/client-go/api/v1/openapi_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
vendor/kmodules.xyz/client-go/api/v1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.