Skip to content

Commit

Permalink
Merge pull request #52 from bipuladh/fix-odf-variables
Browse files Browse the repository at this point in the history
console: fixes console plugin name
  • Loading branch information
nb-ohad authored Jan 4, 2024
2 parents 32bce3b + e78d49a commit 5c6a41c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ var (
pluginBasePath = "/"

NginxConfigMapName = fmt.Sprintf("%s-nginx-conf", DeploymentName)
pluginName = "0df-client-console"

pluginDisplayName = "OCS Client Console"
pluginDisplayName = "ODF Client Console"

servicePortName = "console-port"
serviceSecretAnnotation = "service.alpha.openshift.io/serving-cert-secret-name"
Expand Down Expand Up @@ -53,7 +54,7 @@ func GetService(port int32, namespace string) *apiv1.Service {
func GetConsolePlugin(consolePort int32, serviceNamespace string) *consolev1alpha1.ConsolePlugin {
return &consolev1alpha1.ConsolePlugin{
ObjectMeta: metav1.ObjectMeta{
Name: DeploymentName,
Name: pluginName,
},
Spec: consolev1alpha1.ConsolePluginSpec{
DisplayName: pluginDisplayName,
Expand Down

0 comments on commit 5c6a41c

Please sign in to comment.