Default config.DefaultImage to cite buildinfo.Version
@@ -29,8 +29,6 @@ import (
const (
// DefaultNamespace is the namespace where the master and plugin workers will run (but not necessarily the pods created by the plugin workers).
DefaultNamespace = "heptio-sonobuoy"
- // DefaultImage is the URL of the docker image to run for the aggregator and workers
- DefaultImage = "gcr.io/heptio-images/sonobuoy:master"
// MasterPodName is the name of the main pod that runs plugins and collects results.
MasterPodName = "sonobuoy"
// MasterContainerName is the name of the main container in the master pod.
@@ -39,6 +37,9 @@ const (
MasterResultsPath = "/tmp/sonobuoy"
)
+// DefaultImage is the URL of the docker image to run for the aggregator and workers
+var DefaultImage = "gcr.io/heptio-images/sonobuoy:" + buildinfo.Version
+
///////////////////////////////////////////////////////
// Note: The described resources are a 1:1 match
// with kubectl UX for consistent user experience.
