Skip to content

Commit

Permalink
FIPS gossip changes (hashicorp#17507)
Browse files Browse the repository at this point in the history
* separate fips gossip

* clean up
  • Loading branch information
skpratt authored May 30, 2023
1 parent e559c59 commit a46ac4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/consul/merge_oss.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import (
)

func (md *lanMergeDelegate) enterpriseNotifyMergeMember(m *serf.Member) error {
if memberFIPS := m.Tags["fips"]; memberFIPS != "" {
return fmt.Errorf("Member '%s' is FIPS Consul; FIPS Consul is only available in Consul Enterprise",
m.Name)
}
if memberPartition := m.Tags["ap"]; memberPartition != "" {
return fmt.Errorf("Member '%s' part of partition '%s'; Partitions are a Consul Enterprise feature",
m.Name, memberPartition)
Expand Down
4 changes: 4 additions & 0 deletions version/fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

package version

func IsFIPS() bool {
return false
}

func GetFIPSInfo() string {
return ""
}

0 comments on commit a46ac4b

Please sign in to comment.