18 lines
627 B
Markdown
18 lines
627 B
Markdown
# Updating Keycloak
|
|
|
|
If keycloak needs to be updated for harbor to work, you can't really pull the image
|
|
from Harbor, so we directly import the image into the cluster.
|
|
See the steps I followed below.
|
|
|
|
```
|
|
podman build -f images/Dockerfile -t harbor.internal.jpace121.net/k8s/jpace-keycloak:26.8.0 .
|
|
podman save harbor.internal.jpace121.net/k8s/jpace-keycloak:26.8.0 -o keycloak.tar
|
|
scp keycloak.tar jimmy@192.168.1.112:.
|
|
ssh jimmy@192.168.1.112
|
|
sudo k3s ctr images import keycloak.tar
|
|
sudo k3s ctr images ls
|
|
exit
|
|
kubectl apply -f manifests/deployment.yaml
|
|
kubectl rollout restart deployment keycloak-deployment -n keycloak
|
|
```
|