mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
(Feature) Add ACSDeploymentSynced
condition type and fix comparison of SecretHashes
method (#944)
This commit is contained in:
parent
cf46f5b42b
commit
635ed17f7f
4 changed files with 8 additions and 6 deletions
|
@ -8,6 +8,7 @@
|
||||||
- (Feature) Allow raw json value for license token-v2
|
- (Feature) Allow raw json value for license token-v2
|
||||||
- (Update) Replace `beta.kubernetes.io/arch` to `kubernetes.io/arch` in Operator Chart
|
- (Update) Replace `beta.kubernetes.io/arch` to `kubernetes.io/arch` in Operator Chart
|
||||||
- (Feature) Add operator shutdown handler for graceful termination
|
- (Feature) Add operator shutdown handler for graceful termination
|
||||||
|
- (Feature) Add `ACSDeploymentSynced` condition type and fix comparison of `SecretHashes` method
|
||||||
|
|
||||||
## [1.2.12](https://github.com/arangodb/kube-arangodb/tree/1.2.12) (2022-05-10)
|
## [1.2.12](https://github.com/arangodb/kube-arangodb/tree/1.2.12) (2022-05-10)
|
||||||
- (Feature) Add CoreV1 Endpoints Inspector
|
- (Feature) Add CoreV1 Endpoints Inspector
|
||||||
|
|
|
@ -38,10 +38,10 @@ type SecretHashes struct {
|
||||||
|
|
||||||
// Equal compares two SecretHashes
|
// Equal compares two SecretHashes
|
||||||
func (sh *SecretHashes) Equal(other *SecretHashes) bool {
|
func (sh *SecretHashes) Equal(other *SecretHashes) bool {
|
||||||
if sh == nil || other == nil {
|
if sh == nil && other == nil {
|
||||||
return false
|
|
||||||
} else if sh == other {
|
|
||||||
return true
|
return true
|
||||||
|
} else if sh == nil || other == nil {
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return sh.AuthJWT == other.AuthJWT &&
|
return sh.AuthJWT == other.AuthJWT &&
|
||||||
|
|
|
@ -38,10 +38,10 @@ type SecretHashes struct {
|
||||||
|
|
||||||
// Equal compares two SecretHashes
|
// Equal compares two SecretHashes
|
||||||
func (sh *SecretHashes) Equal(other *SecretHashes) bool {
|
func (sh *SecretHashes) Equal(other *SecretHashes) bool {
|
||||||
if sh == nil || other == nil {
|
if sh == nil && other == nil {
|
||||||
return false
|
|
||||||
} else if sh == other {
|
|
||||||
return true
|
return true
|
||||||
|
} else if sh == nil || other == nil {
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return sh.AuthJWT == other.AuthJWT &&
|
return sh.AuthJWT == other.AuthJWT &&
|
||||||
|
|
|
@ -28,4 +28,5 @@ const (
|
||||||
RemoteDeploymentReadyCondition api.ConditionType = "RemoteDeploymentReadyCondition"
|
RemoteDeploymentReadyCondition api.ConditionType = "RemoteDeploymentReadyCondition"
|
||||||
RemoteCacheReadyCondition api.ConditionType = "RemoteCacheReady"
|
RemoteCacheReadyCondition api.ConditionType = "RemoteCacheReady"
|
||||||
ConnectionReadyCondition api.ConditionType = "ConnectionReady"
|
ConnectionReadyCondition api.ConditionType = "ConnectionReady"
|
||||||
|
ACSDeploymentSyncedCondition api.ConditionType = "ACSDeploymentSynced"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue