Skip to content

Commit caf298d

Browse files
committed
Change default image for AppRuntime supervisor
1 parent 8ff2cc5 commit caf298d

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func main() {
157157
// Logging setup
158158
ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts)))
159159

160-
setupLog.Info("siema: pvc")
160+
setupLog.Info("siema: supervisor image")
161161

162162
// Configure metrics certificate watcher if metrics certs are provided
163163
var metricsCertWatcher *certwatcher.CertWatcher

internal/controller/appruntime_controller.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ func (r *AppRuntimeReconciler) createPod(ctx context.Context, appRuntime *enterp
314314
Image: appRuntime.Spec.Image,
315315
Name: "appruntime",
316316
Command: []string{
317-
"sleep",
318-
"infinity",
317+
"/usr/bin/splunk-eps",
319318
},
320319
VolumeMounts: []corev1.VolumeMount{
321320
{
@@ -370,7 +369,7 @@ func (r *AppRuntimeReconciler) updateStatus(ctx context.Context, appRuntime *ent
370369
func getImageFromEnv() string {
371370
image, ok := os.LookupEnv("RELATED_IMAGE_APP_RUNTIME")
372371
if !ok {
373-
image = "busybox:latest"
372+
image = "493245399694.dkr.ecr.us-west-2.amazonaws.com/appruntime/ecr-repo/supervisor:v3.1.0-mb-1"
374373
}
375374
return image
376375
}

0 commit comments

Comments
 (0)