You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Note: as an alternative to creating a new file you can [download](https://raw.githubusercontent.com/SolaceProducts/pubsubplus-kubernetes-helm-quickstart/master/pubsubplus/values.yaml) the `values.yaml` file with default values and edit that for overrides.
76
89
77
90
For more ways to override default chart values, refer to [Customizing the Helm Chart Before Installing](//helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing).
@@ -85,9 +98,10 @@ For more ways to override default chart values, refer to [Customizing the Helm C
85
98
|`solace.size`| Event broker simple vertical scaling by number of client connections. **Ignored** if `solace.systemScaling` is set. Options: `dev` (requires minimum resources but no guaranteed performance), `prod1k`, `prod10k`, `prod100k`|`prod1k`|
86
99
|`solace.systemScaling.*`| Event broker fine-grained vertical scaling definition. If defined, all sub-settings must be provided and these settings will **override**`solace.size`. For scaling documentation, look for "system scaling" at [docs.solace.com](https://docs.solace.com/Search.htm?q=system%20scaling). Use the [online calculator](https://docs.solace.com/Assistance-Tools/Resource-Calculator/pubsubplus-resource-calculator.html) to determine CPU, Memory and Storage requirements for "Container (messaging)" type. </br> `maxConnections`: max supported number of client connections </br> `maxQueueMessages`: max number of queue messages, in millions of messages </br> `maxSpoolUsage`: max Spool Usage, in MB. Also ensure adequate storage.size parameter, use the calculator </br> `cpu`: CPUs in cores </br> `memory`: host Virtual Memory, in MiB | Undefined |
87
100
|`solace.podModifierEnabled`| Enables modifying (reducing) CPU and memory resources for Monitoring nodes in an HA deployment. Also requires the ["solace-pod-modifier" Kubernetes admission plugin](https://github.com/SolaceProducts/pubsubplus-kubernetes-helm-quickstart/blob/master/solace-pod-modifier-admission-plugin/README.md#how-to-use) deployed to work. | Undefined, meaning not enabled. |
88
-
|`solace.usernameAdminPassword`| The password for the "admin" management user. Will autogenerate it if not provided. **Important:** refer to the the information from `helm status` how to retrieve it and use it for `helm upgrade`. | Undefined, meaning autogenerate |
89
-
|`solace.timezone`| Timezone setting for the Solace container. Valid values are tz database time zone names. | Undefined, default is UTC |
90
-
|`solace.extraEnvVars`| List of extra environment variables to be added to the Solace Event Broker container. A primary use case is to specify [configuration keys](https://docs.solace.com/Software-Broker/Configuration-Keys-Reference.htm). Important: env variables defined here will not override the ones defined in solaceConfigMap. | Undefined |
101
+
|`solace.usernameAdminPassword`| The password for the "admin" management user. The password will autogenerate it if not provided. Important: see `helm status` for information on how to retrieve the password and use it for `helm upgrade`. Note: This method passes the password as plain text in the values.yaml file, which is not recommended for production. | Undefined, meaning autogenerate |
102
+
|`solace.usernameAdminPasswordSecretName`| The name of an existing Kubernetes secret containing the admin password. This is the recommended approach for production environments to avoid storing passwords in plain text. If specified, this takes precedence over usernameAdminPassword. | Undefined |
103
+
|`solace.timezone`| The timezone setting for the Solace container. The valid values are tz database time zone names. | Undefined, default is UTC |
104
+
|`solace.extraEnvVars`| The list of extra environment variables to be added to the Solace Event Broker container. A primary use case is to specify [configuration keys](https://docs.solace.com/Software-Broker/Configuration-Keys-Reference.htm). Important: env variables defined here will not override the ones defined in solaceConfigMap. | Undefined |
91
105
|`solace.extraEnvVarsCM`| The name of an existing ConfigMap containing extra environment variables | Undefined |
92
106
|`solace.extraEnvVarsSecret`| The name of an existing Secret containing extra environment variables (in case of sensitive data) | Undefined |
93
107
|`image.repository`| The image repo name and path to the Solace Event Broker container image |`solace/solace-pubsub-standard`|
{{- fail (printf "Error: Secret '%s' not found in namespace '%s'. Please create the secret before deploying." .Values.solace.usernameAdminPasswordSecretName .Release.Namespace) }}
5
+
{{- end }}
6
+
{{- if not (index $existingSecret.data "username_admin_password") }}
7
+
{{- fail (printf "Error: Secret '%s' does not contain the required key 'username_admin_password'. Please ensure the secret has the required key." .Values.solace.usernameAdminPasswordSecretName) }}
0 commit comments