https://chris.funderburg.me/posts/2024/03/03/weekend/
2024-03-03 01:46:55 +0000 GMT
03/Mar/2024 - Quiet Weekend
#nobridge
Chris Funderburg
Chris
Funderburg
bocan (IRC)
Cloud Cauldron Limited
w,
e
Newbury,
United Kingdom
consultant,freelance,devops,platform engineer,blogger
GenX · British Texan · Cloud Architect · Principal DevOps Engineer · Charity Trustee · Dad · Old School Geek · Environmentalist · Gardener · Pagan Druid · Gamer · Chaotic Neutral
weekend,
quiet,
road-trip,
food,
tech-wins,
keycloak,
theme,
containers,
Over at Ashley’s#
As Ashley was away over the weekend, I had to pop over a few times to feed the
cat. On Friday we went over at lunchtime and ended up arriving the same time as
Alex’s mum. Had a nice chat as I fed Rossie and she went upstairs to turn
something off. We ended up feeding the chinchilla a stick.
American Dinner#
Our slow cooked (20hour) brisket turned out so well! Shredded it and had it in
wraps with salsa. I also did corn bread and Cheri made pea salad. So good!
Trips#
With Kiera gone too, Cheri and did a few little road trips. On Saturday we went
to Bracknell for some shopping, and on Sunday we found our self in Oxford for
shopping too. I got some new slip-in Sketchers and a new pink work shirt after
my last one just vanished.
Tech stuff#
On Friday night I finally restored my Gitlab server
where I keep a lot of my personal code projects and build engine. It all runs
containerised now.
I also finished the work I needed to do to integrate a Keycloak
theme into our Keycloak system at work. It loads the thing in from a container
image via an initContainer.
Given a location of an image with just the .jar theme file in a folder, I just
added something like this to the Helm chart:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
imagePullSecrets:
- name: rg-keycloak-theme
initContainers:
- name: load-theme
image: redacted-registry-location/tenants/auth-theme:0c7a5df2
command:
- sh
args:
- -c
- |
echo "Copying theme from init container..."
cp -R /app/theme/* /theme
volumeMounts:
- name: theme
mountPath: /theme
extraVolumes:
- name: theme
emptyDir: {}
extraVolumeMounts:
- name: theme
mountPath: /theme
initdbScripts:
my_init_script.sh: |
#!/bin/bash
echo "Copying theme to the main container."
cp /theme/*jar /opt/bitnami/keycloak/providers
|
Reactions and Comments
Questions, Comments, Thoughts? If you have a Github account, you can leave a
comment below. Alternatively, email me via "chris AT funderburg dot me", or use
the contact form.