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
Move default image configuration to operator pod environment variables (#867)
* Move default user updater image to CLI flag
This follows the same path as #858, and allows for easier helm integration
* Set the default image prior ot statefulset reconciliation
* Move CLI flags to env vars instead
Copy file name to clipboardExpand all lines: config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3809,7 +3809,6 @@ spec:
3809
3809
description: Path in Vault to access a KV (Key-Value) secret with the fields username and password for the default user. For example "secret/data/rabbitmq/config".
description: Sidecar container that updates the default user's password in RabbitMQ when it changes in Vault. Additionally, it updates /var/lib/rabbitmq/.rabbitmqadmin.conf (used by rabbitmqadmin CLI). Set to empty string to disable the sidecar container.
flag.StringVar(&metricsAddr, "metrics-bind-address", ":9782", "The address the metric endpoint binds to.")
52
-
flag.StringVar(&defaultRabbitmqImage, "default-rabbitmq-image", "rabbitmq:3.8.21-management", "The default image to use in RabbitmqClusters when not specified in the rabbitmqcluster.spec.image")
53
53
54
54
opts:= zap.Options{}
55
55
opts.BindFlags(flag.CommandLine)
@@ -67,6 +67,14 @@ func main() {
67
67
// If the environment variable is not set Getenv returns an empty string which ctrl.Options.Namespace takes to mean all namespaces should be watched
0 commit comments