Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-495 Fix missing monitoring namespace env var
Browse files Browse the repository at this point in the history
  • Loading branch information
recharte committed Feb 7, 2024
1 parent 1aab5f6 commit 3b7daca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ const (
SystemNamespace = "percona-everest"
// monitoringNamespace is the namespace where the monitoring stack is installed.
monitoringNamespace = "percona-everest-monitoring"
// EverestMonitoringNamespaceEnvVar is the name of the environment variable that holds the monitoring namespace.
EverestMonitoringNamespaceEnvVar = "MONITORING_NAMESPACE"
)

type (
Expand Down Expand Up @@ -486,6 +488,10 @@ func (o *Install) installOperator(ctx context.Context, channel, operatorName, na
Name: kubernetes.EverestDBNamespacesEnvVar,
Value: strings.Join(o.config.Namespaces, ","),
},
{
Name: EverestMonitoringNamespaceEnvVar,
Value: monitoringNamespace,
},
},
}
}
Expand Down

0 comments on commit 3b7daca

Please sign in to comment.