Skip to content

Commit

Permalink
Update documentation comment for leader election
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Aug 22, 2024
1 parent 035d662 commit 5788e9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/templates/nais.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ spec:
- pool
type: object
leaderElection:
description: If true, an HTTP endpoint will be available at `$ELECTOR_PATH`
description: If true, an HTTP endpoint will be available at `$ELECTOR_GET_URL`
that returns the current leader.
type: boolean
liveness:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/nais.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ spec:
- pool
type: object
leaderElection:
description: If true, an HTTP endpoint will be available at `$ELECTOR_PATH`
description: If true, an HTTP endpoint will be available at `$ELECTOR_GET_URL`
that returns the current leader.
type: boolean
liveness:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/nais.io/v1alpha1/application_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type ApplicationSpec struct {
// +nais:doc:Link="https://doc.nais.io/persistence/kafka/"
Kafka *nais_io_v1.Kafka `json:"kafka,omitempty"`

// If true, an HTTP endpoint will be available at `$ELECTOR_PATH` that returns the current leader.
// If true, an HTTP endpoint will be available at `$ELECTOR_GET_URL` that returns the current leader.
// +nais:doc:Link="https://doc.nais.io/services/leader-election/"
LeaderElection bool `json:"leaderElection,omitempty"`

Expand Down

0 comments on commit 5788e9f

Please sign in to comment.