Update keycloak.
This commit is contained in:
1 parent
2df8a61113
commit
9fe2368eba
3 files changed
+40
-12
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
```
|
||||
Reference in new issue
Block a user