pegasus updates
This commit is contained in:
parent
65de7602c9
commit
33ff3d20aa
19
infrastructure/flux-system/image-automation-pegasus.yaml
Normal file
19
infrastructure/flux-system/image-automation-pegasus.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
# infrastructure/flux-system/image-automation-pegasus.yaml
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta1
|
||||
kind: ImageUpdateAutomation
|
||||
metadata:
|
||||
name: pegasus
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
git:
|
||||
commit:
|
||||
authorEmail: ops@bstein.dev
|
||||
authorName: flux-bot
|
||||
messageTemplate: "chore(pegasus): update image to {{range .Updated.Images}}{{.}}{{end}}"
|
||||
update:
|
||||
strategy: Setters
|
||||
path: ./services/pegasus
|
||||
@ -7,7 +7,6 @@ metadata:
|
||||
data:
|
||||
PEGASUS_MEDIA_ROOT: "/media"
|
||||
PEGASUS_BIND: ":8080"
|
||||
# Optional: PEGASUS_COOKIE_DOMAIN
|
||||
|
||||
---
|
||||
|
||||
@ -23,3 +22,7 @@ data:
|
||||
maddie_rejcek: "Rejcek"
|
||||
carol_mcguinness: "McGuinness_90s"
|
||||
ed_stein: "Stein_90s"
|
||||
brad_stein: "Stein_90s"
|
||||
lisa_stein: "Scott"
|
||||
channa_cox: "Cox"
|
||||
chelie_sheehan: "Sheehan"
|
||||
|
||||
@ -28,7 +28,7 @@ spec:
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
containers:
|
||||
- name: pegasus
|
||||
image: registry.bstein.dev/pegasus@sha256:fb3ae0577c0d48ebee857123467186526d2ba0fbb982b8f2fdf94b09b62b5ce9
|
||||
image: registry.bstein.dev/pegasus:1.2.0 # {"$imagepolicy": "jellyfin:pegasus"}
|
||||
imagePullPolicy: Always
|
||||
command: ["/pegasus"]
|
||||
env:
|
||||
@ -43,17 +43,17 @@ spec:
|
||||
- name: JELLYFIN_URL
|
||||
valueFrom: { secretKeyRef: { name: pegasus-secrets, key: JELLYFIN_URL } }
|
||||
- name: PEGASUS_DEBUG
|
||||
value: "1"
|
||||
value: "0"
|
||||
- name: PEGASUS_DRY_RUN
|
||||
value: "1"
|
||||
value: "0"
|
||||
ports: [{ name: http, containerPort: 8080 }]
|
||||
readinessProbe:
|
||||
httpGet: { path: /metrics, port: http }
|
||||
httpGet: { path: /healthz, port: http }
|
||||
initialDelaySeconds: 2
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
livenessProbe:
|
||||
httpGet: { path: /metrics, port: http }
|
||||
httpGet: { path: /healthz, port: http }
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 2
|
||||
|
||||
25
services/pegasus/image.yaml
Normal file
25
services/pegasus/image.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
# services/pegasus/image.yaml
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: pegasus
|
||||
namespace: jellyfin
|
||||
spec:
|
||||
image: registry.bstein.dev/pegasus
|
||||
interval: 1m0s
|
||||
secretRef:
|
||||
name: zot-regcred
|
||||
|
||||
---
|
||||
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImagePolicy
|
||||
metadata:
|
||||
name: pegasus
|
||||
namespace: jellyfin
|
||||
spec:
|
||||
imageRepositoryRef:
|
||||
name: pegasus
|
||||
policy:
|
||||
semver:
|
||||
range: "1.x"
|
||||
Loading…
x
Reference in New Issue
Block a user