Skip to content

Commit

Permalink
fix: update image reference (rackerlabs#612)
Browse files Browse the repository at this point in the history
The image reference in our patch is using the old image id and is not running our mirrored
images as expected.

Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull authored Dec 9, 2024
1 parent c8ab133 commit 8ee4199
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
13 changes: 11 additions & 2 deletions base-kustomize/octavia/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
sortOptions:
order: fifo

images:
- name: image-kubernetes-entrypoint-init
newName: quay.io/airshipit/kubernetes-entrypoint
newTag: v1.0.0
- name: image-octavia-ovn
newName: quay.io/rackspace/rackerlabs-octavia-ovn
newTag: master-ubuntu_jammy

resources:
- octavia-mariadb-database.yaml
- octavia-rabbitmq-queue.yaml
Expand All @@ -18,7 +27,7 @@ patches:
path: /spec/template/spec/containers
value:
- name: octavia-agent
image: "ghcr.io/rackerlabs/genestack/octavia-ovn:master-ubuntu_jammy"
image: image-octavia-ovn
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -58,7 +67,7 @@ patches:
- mountPath: /var/run/octavia
name: pod-run-octavia
- name: octavia-api
image: "ghcr.io/rackerlabs/genestack/octavia-ovn:master-ubuntu_jammy"
image: image-octavia-ovn
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down
6 changes: 3 additions & 3 deletions base-kustomize/octavia/base/octavia-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
initContainers:

- name: init
image: "quay.io/airshipit/kubernetes-entrypoint:v1.0.0"
image: image-kubernetes-entrypoint-init
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
Expand Down Expand Up @@ -98,7 +98,7 @@ spec:
null
containers:
- name: octavia-agent
image: "ghcr.io/rackerlabs/genestack/octavia-ovn:master-ubuntu_jammy"
image: image-octavia-ovn
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -137,7 +137,7 @@ spec:
- mountPath: /var/run/octavia
name: pod-run-octavia
- name: octavia-api
image: "ghcr.io/rackerlabs/genestack/octavia-ovn:master-ubuntu_jammy"
image: image-octavia-ovn
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down

0 comments on commit 8ee4199

Please sign in to comment.