Skip to content

Commit

Permalink
Merge pull request #42 from projectsyn/feat/pin-image-versions
Browse files Browse the repository at this point in the history
Use static versions for `acme-dns` and `caddy` container images
  • Loading branch information
simu authored Sep 28, 2022
2 parents 9c3ef2b + 55d4cab commit 1b5e39d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ parameters:
acme-dns:
registry: docker.io
repository: joohoi/acme-dns
tag: latest
tag: v1.0
caddy:
registry: docker.io
repository: caddy/caddy
tag: alpine
tag: 2.6.1-alpine
sqlite:
registry: docker.io
repository: nouchka/sqlite3
# We use the sqlite3 image for K8up-based backups. Unfortunately
# there's no tags other than latest for the nouchka/sqlite3 image, so
# we're using latest here.
tag: latest

api:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:
containers:
- args: []
env: []
image: docker.io/joohoi/acme-dns:latest
imagePullPolicy: Always
image: docker.io/joohoi/acme-dns:v1.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down Expand Up @@ -68,7 +68,7 @@ spec:
- --config
- /etc/caddy/caddy.json
env: []
image: docker.io/caddy/caddy:alpine
image: docker.io/caddy/caddy:2.6.1-alpine
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
Expand Down Expand Up @@ -109,7 +109,7 @@ spec:
envFrom:
- secretRef:
name: acmedns-basicauth
image: docker.io/caddy/caddy:alpine
image: docker.io/caddy/caddy:2.6.1-alpine
imagePullPolicy: IfNotPresent
name: render-caddy-config
ports: []
Expand Down

0 comments on commit 1b5e39d

Please sign in to comment.