Skip to content

Commit

Permalink
Merge pull request #303 from mbaldessari/initcontainer-image
Browse files Browse the repository at this point in the history
Switch to ubi-minimal for initcontainer image
  • Loading branch information
mbaldessari authored Oct 30, 2024
2 parents c97f620 + 828b769 commit eaa255e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/argo.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ g, admin, role:admin`
initContainers := []v1.Container{
{
Name: "fetch-ca",
Image: "registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel9:latest",
Image: "registry.redhat.io/ubi9/ubi-minimal:latest",
VolumeMounts: []v1.VolumeMount{
{
Name: "kube-root-ca",
Expand Down
2 changes: 1 addition & 1 deletion controllers/argo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ var _ = Describe("NewArgoCD", func() {
Expect(argoCD.Spec.Repo.InitContainers).To(HaveLen(1))
initContainer := argoCD.Spec.Repo.InitContainers[0]
Expect(initContainer.Name).To(Equal("fetch-ca"))
Expect(initContainer.Image).To(Equal("registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel9:latest"))
Expect(initContainer.Image).To(Equal("registry.redhat.io/ubi9/ubi-minimal:latest"))
})

It("should have the correct volumes", func() {
Expand Down

0 comments on commit eaa255e

Please sign in to comment.