Skip to content

Commit 3664e67

Browse files
committed
Updates for support messages
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 70c664c commit 3664e67

38 files changed

+40
-40
lines changed

cmd/apps/argocd_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ https://127.0.0.1:8443
7979
# Get started with ArgoCD at
8080
# https://argoproj.github.io/argo-cd/#quick-start`
8181

82-
const ArgoCDInfoMsgInstallMsg = `=======================================================================
82+
var ArgoCDInfoMsgInstallMsg = `=======================================================================
8383
= ArgoCD has been installed =
8484
=======================================================================` +
8585
"\n\n" + ArgoCDInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/certmanager_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func MakeInstallCertManager() *cobra.Command {
106106
const CertManagerInfoMsg = `# Get started with cert-manager here:
107107
# https://docs.cert-manager.io/en/latest/tutorials/acme/http-validation.html`
108108

109-
const certManagerInstallMsg = `=======================================================================
109+
var certManagerInstallMsg = `=======================================================================
110110
= cert-manager has been installed. =
111111
=======================================================================` +
112112
"\n\n" + CertManagerInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/cockroachdb_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ kubectl get pv
109109
110110
kubectl port-forward service/cockroachdb 8080:8080`
111111

112-
const cockroachdbInstallMsg = `=======================================================================
112+
var cockroachdbInstallMsg = `=======================================================================
113113
= CockroachDB has been installed =
114114
=======================================================================
115115
` + pkg.SupportMessageShort + CockroachdbInfoMsg

cmd/apps/confluentkafka.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const KafkaInfoMsg = `You can visit the official Helm Chart repository to get mo
136136
https://github.com/confluentinc/cp-helm-charts
137137
`
138138

139-
const kafkaPostInstallMsg = `=======================================================================
139+
var kafkaPostInstallMsg = `=======================================================================
140140
= Kafka has been installed. =
141141
=======================================================================` +
142142
"\n\n" + KafkaInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/consul_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func generateGossipEncryptionKey() (string, error) {
134134
const ConsulInfoMsg = `# Find out more at:
135135
# https://www.consul.io/docs/k8s`
136136

137-
const consulInstallMsg = `=======================================================================
137+
var consulInstallMsg = `=======================================================================
138138
= Consul has been installed. =
139139
=======================================================================` +
140140
"\n\n" + ConsulInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/cronconnector_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ kubectl logs deploy/cron-connector -n openfaas -f
8181
8282
# https://github.com/openfaas-incubator/cron-connector/`
8383

84-
const cronConnectorInstallMsg = `=======================================================================
84+
var cronConnectorInstallMsg = `=======================================================================
8585
= cron-connector has been installed. =
8686
=======================================================================` +
8787
"\n\n" + CronConnectorInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/crossplane_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const CrossplaneInfoMsg = `# Get started by installing a stack for your favorite
116116
117117
Learn more about Crossplane: https://crossplaneio.github.io/docs/`
118118

119-
const crossplaneInstallMsg = `=======================================================================
119+
var crossplaneInstallMsg = `=======================================================================
120120
= Crossplane has been installed. =
121121
=======================================================================` +
122122
"\n\n" + CrossplaneInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/gitlab_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ kubectl get secret gitlab-gitlab-initial-root-password -o jsonpath='{.data.passw
104104
105105
`
106106

107-
const gitlabInstallMsg = `=======================================================================
107+
var gitlabInstallMsg = `=======================================================================
108108
= GitLab has been installed. =
109109
=======================================================================` +
110110
"\n\n" + GitlabInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/influxdb_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To view the logs for the InfluxDB pod, run the following:
7979
8080
`
8181

82-
const influxdbInstallMsg = `=======================================================================
82+
var influxdbInstallMsg = `=======================================================================
8383
= influxdb has been installed. =
8484
=======================================================================` +
8585
"\n\n" + InfluxdbInfoMsg + "\n\n" + pkg.SupportMessageShort

cmd/apps/inletsoperator_app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,10 @@ kubectl get tunnels -A -o wide
347347
# Find out more at:
348348
# https://github.com/inlets/inlets-operator`
349349

350-
const inletsOperatorPostInstallMsg = `=======================================================================
350+
var inletsOperatorPostInstallMsg = `=======================================================================
351351
= inlets-operator has been installed. =
352352
=======================================================================` +
353-
"\n\n" + InletsOperatorInfoMsg + "\n\n" + pkg.SupportMessageShort
353+
"\n\n" + InletsOperatorInfoMsg
354354

355355
type Secret struct {
356356
Namespace string

0 commit comments

Comments
 (0)