Compare commits

..

14 commits

Author SHA1 Message Date
Renovate Bot 8811ff31d5 Update grafana/grafana Docker tag to v9.2.6
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-23 17:43:50 +00:00
Tobias Brunner 9db43ae6ba
tweak caddy config
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-23 18:16:42 +01:00
Tobias Brunner 2ba7829f36
name ports in svc
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-23 18:08:02 +01:00
Tobias Brunner 1a9d3153dd
expose the webfinger caddy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-23 17:57:55 +01:00
Tobias Brunner f35aa2efad
add caddy to the mix for webfinger
All checks were successful
continuous-integration/drone/push Build is passing
an experiment
2022-11-23 17:52:18 +01:00
Renovate Bot ae79396b80 Update renovate/renovate Docker tag to v34.30.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-22 17:43:55 +00:00
Renovate Bot 533fd61b19 Update renovate/renovate Docker tag to v34.29.2
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2022-11-21 17:44:19 +00:00
Renovate Bot 8529577b68 Update renovate/renovate Docker tag to v34.28.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-20 17:43:41 +00:00
Renovate Bot e8eaab1122 Update renovate/renovate Docker tag to v34.28.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-19 17:45:17 +00:00
Renovate Bot 396570f49e Update ghost Docker tag to v5.23.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-19 17:44:05 +00:00
Renovate Bot 21e46c0f85 Update renovate/renovate Docker tag to v34.27.3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-18 17:43:41 +00:00
Renovate Bot ac1855bd40 Update renovate/renovate Docker tag to v34.27.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-17 17:45:08 +00:00
Renovate Bot 0bc8f64dd4 Update ghost Docker tag to v5.22.11
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-17 17:43:53 +00:00
Renovate Bot ecd2b9920c Update renovate/renovate Docker tag to v34.26.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-16 17:43:54 +00:00
7 changed files with 39 additions and 4 deletions

View file

@ -248,7 +248,7 @@ spec:
enableServiceLinks: true
containers:
- name: grafana
image: "grafana/grafana:9.2.5"
image: "grafana/grafana:9.2.6"
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config

View file

@ -12,7 +12,7 @@ spec:
containers:
- name: renovate
# Update this to the latest available and then enable Renovate on the manifest
image: renovate/renovate:34.25.1-slim
image: renovate/renovate:34.30.2-slim
# Environment Variables
env:
- name: RENOVATE_PLATFORM

4
tobru-ch/Caddyfile Normal file
View file

@ -0,0 +1,4 @@
http://:8080 {
header content-type "application/jrd+json; charset=utf-8"
respond "{\"subject\":\"acct:tobru@mstdn.social\",\"aliases\":[\"https://mstdn.social/@tobru\",\"https://mstdn.social/users/tobru\"],\"links\":[{\"rel\":\"http://webfinger.net/rel/profile-page\",\"type\":\"text/html\",\"href\":\"https://mstdn.social/@tobru\"},{\"rel\":\"self\",\"type\":\"application/activity+json\",\"href\":\"https://mstdn.social/users/tobru\"},{\"rel\":\"http://ostatus.org/schema/1.0/subscribe\",\"template\":\"https://mstdn.social/authorize_interaction?uri={uri}\"}]}"
}

View file

@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: caddyconfig
data:
Caddyfile: "http://:8080 {\n\theader content-type \"application/jrd+json;
charset=utf-8\"\n\trespond \"{\\\"subject\\\":\\\"acct:tobru@mstdn.social\\\",\\\"aliases\\\":[\\\"https://mstdn.social/@tobru\\\",\\\"https://mstdn.social/users/tobru\\\"],\\\"links\\\":[{\\\"rel\\\":\\\"http://webfinger.net/rel/profile-page\\\",\\\"type\\\":\\\"text/html\\\",\\\"href\\\":\\\"https://mstdn.social/@tobru\\\"},{\\\"rel\\\":\\\"self\\\",\\\"type\\\":\\\"application/activity+json\\\",\\\"href\\\":\\\"https://mstdn.social/users/tobru\\\"},{\\\"rel\\\":\\\"http://ostatus.org/schema/1.0/subscribe\\\",\\\"template\\\":\\\"https://mstdn.social/authorize_interaction?uri={uri}\\\"}]}\"\n}\n"

View file

@ -24,7 +24,7 @@ spec:
component: ghost
spec:
containers:
- image: ghost:5.22.10-alpine
- image: ghost:5.23.0-alpine
imagePullPolicy: IfNotPresent
name: ghost
env:
@ -60,6 +60,14 @@ spec:
- name: data
mountPath: /var/lib/ghost/content
subPath: ghost
- image: docker.io/library/caddy:2.6.2-alpine
imagePullPolicy: IfNotPresent
name: caddy
ports:
- containerPort: 8080
volumeMounts:
- mountPath: /etc/caddy
name: caddyfile
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
@ -69,3 +77,7 @@ spec:
- name: data
persistentVolumeClaim:
claimName: data
- configMap:
defaultMode: 420
name: caddyconfig
name: caddyfile

View file

@ -17,6 +17,13 @@ spec:
- host: tobru.ch
http:
paths:
- path: /.well-known/webfinger
pathType: Prefix
backend:
service:
name: ghost
port:
number: 8080
- path: /
pathType: Prefix
backend:

View file

@ -8,9 +8,14 @@ metadata:
namespace: tobru-ch
spec:
ports:
- port: 2368
- name: ghost
port: 2368
protocol: TCP
targetPort: 2368
- name: caddy
port: 8080
protocol: TCP
targetPort: 8080
selector:
component: ghost
sessionAffinity: None