Skip to content

Commit

Permalink
add hacky stript to update cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Sep 13, 2024
1 parent b9c6ad3 commit fa160a4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions update-cluster.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# very hacky, surely there is a better way to do this..

podman pull --arch=amd64 ghcr.io/gardenlinux/glvd-postgres:edgefulldata
IMAGE=$(podman inspect --format='{{index .RepoDigests 0}}' ghcr.io/gardenlinux/glvd-postgres:edgefulldata)
kubectl set image sts/glvd-database glvd-postgres=ghcr.io/gardenlinux/glvd-postgres=$IMAGE

podman pull --arch=amd64 ghcr.io/gardenlinux/glvd-api:edge
IMAGE=$(podman inspect --format='{{index .RepoDigests 0}}' ghcr.io/gardenlinux/glvd-api:edge)
kubectl set image deploy/glvd glvd-api=$IMAGE

podman pull --arch=arm64 ghcr.io/gardenlinux/glvd-postgres:edgefulldata
podman pull --arch=arm64 ghcr.io/gardenlinux/glvd-api:edge

0 comments on commit fa160a4

Please sign in to comment.