Skip to content

Commit

Permalink
Merge "logserver/httpd - use ubi8 based image (pinned version)"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul CI authored and Gerrit Code Review committed Oct 18, 2023
2 parents a95872d + e1c2b86 commit af350ec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions controllers/logserver_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ import (
const logserverIdent = "logserver"
const httpdPort = 8080
const httpdPortName = "logserver-httpd"
const image = "registry.access.redhat.com/rhscl/httpd-24-rhel7:latest"

// Use pinned/ubi8 based image for httpd
// https://catalog.redhat.com/software/containers/ubi8/httpd-24/6065b844aee24f523c207943?q=httpd&architecture=amd64&image=651f274c8ce9242f7bb3e011
const image = "registry.access.redhat.com/ubi8/httpd-24:1-284.1696531168"

//go:embed static/logserver/logserver-entrypoint.sh
var logserverEntrypoint string
Expand Down Expand Up @@ -361,7 +364,7 @@ func (r *LogServerController) DeployLogserver() sfv1.LogServerStatus {
// Increase serial each time you need to enforce a deployment change/pod restart between operator versions
annotations := map[string]string{
"fqdn": r.cr.Spec.FQDN,
"serial": "2",
"serial": "3",
"httpd-conf": utils.Checksum([]byte(logserverConf)),
"purgeLogConfig": "retentionDays:" + strconv.Itoa(retentiondays) + " loopDelay:" + strconv.Itoa(loopdelay),
}
Expand Down

0 comments on commit af350ec

Please sign in to comment.