Skip to content

Commit

Permalink
Changing KubernetesNamespaceNatsIO to var.
Browse files Browse the repository at this point in the history
Changes:
    1. Changed KubernetesNamespaceNatsIO to a var.
    2. This will allow a compile time override of nats namespace
    for advanced k8s admins to configure a non nats-io namespace for
    cluster scoped deployment.
    3. Enables workflows referred by #126
  • Loading branch information
Supriya Premkumar committed Apr 10, 2019
1 parent a23d398 commit 7a85506
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ const (
NatsBinaryPath = "/gnatsd"
// NatsContainerName is the name of the main container.
NatsContainerName = "nats"
)

// KubernetesNamespaceNatsIO represents the "nats-io" Kubernetes namespace.
KubernetesNamespaceNatsIO = "nats-io"
)
var KubernetesNamespaceNatsIO = "nats-io"

0 comments on commit 7a85506

Please sign in to comment.