Skip to content

Commit

Permalink
reverting splitBrainThresholdSeconds back
Browse files Browse the repository at this point in the history
  • Loading branch information
kuritka committed Feb 12, 2025
1 parent 01334c2 commit bfc0b5f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/v1beta1/gslb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ type Strategy struct {
PrimaryGeoTag string `json:"primaryGeoTag,omitempty"`
// Defines DNS record TTL in seconds
DNSTtlSeconds int `json:"dnsTtlSeconds,omitempty"`
// Split brain TXT record expiration in seconds. The field is deprecated and not used.
SplitBrainThresholdSeconds int `json:"splitBrainThresholdSeconds,omitempty"`
}

// ResourceRef selects a resource defining the GSLB's load balancer and server
Expand Down
4 changes: 4 additions & 0 deletions chart/k8gb/crd/k8gb.absa.oss_gslbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,10 @@ spec:
primaryGeoTag:
description: Primary Geo Tag. Valid for failover strategy only
type: string
splitBrainThresholdSeconds:
description: Split brain TXT record expiration in seconds. The
field is deprecated and not used.
type: integer
type:
description: Load balancing strategy type:(roundRobin|failover)
type: string
Expand Down
3 changes: 3 additions & 0 deletions chart/k8gb/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@
"coredns": {
"$ref": "#/definitions/k8gbCoreDNS"
},
"splitBrainCheck": {
"type": "boolean"
},
"metricsAddress": {
"type": "string",
"minLength": 1
Expand Down

0 comments on commit bfc0b5f

Please sign in to comment.