Skip to content

Commit

Permalink
fix: fix image of k8s-deployment
Browse files Browse the repository at this point in the history
fix: set apiVersion of chronjob to batch/v1 as v1beta1 is deprecated
dominik committed Jan 5, 2024
1 parent 427ae3c commit 841a328
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contrib/k8s-deployment.yaml
Original file line number Diff line number Diff line change
@@ -32,8 +32,8 @@ metadata:
type: Opaque
stringData:
# NOT base64
GARMIN_PASSWORD: "someone@example.com"
GARMIN_USERNAME: "password-goes-here"
GARMIN_USERNAME: "someone@example.com"
GARMIN_PASSWORD: "password-goes-here"
TRAINERROAD_PASSWORD: ""
TRAINERROAD_USERNAME: ""

@@ -74,7 +74,7 @@ spec:
spec:
containers:
- name: withings-sync
image: docker.io/stv0g/withings-sync
image: ghcr.io/jaroslawhartman/withings-sync:master
imagePullPolicy: IfNotPresent

# override $HOME to put our oauth file in a known place
6 changes: 3 additions & 3 deletions contrib/k8s-job.yaml
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ metadata:
type: Opaque
stringData:
# NOT base64
GARMIN_PASSWORD: "someone@example.com"
GARMIN_USERNAME: "password-goes-here"
GARMIN_USERNAME: "someone@example.com"
GARMIN_PASSWORD: "password-goes-here"
TRAINERROAD_PASSWORD: ""
TRAINERROAD_USERNAME: ""

@@ -39,7 +39,7 @@ spec:
volumeMode: Filesystem

---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: withings-garmin-sync

0 comments on commit 841a328

Please sign in to comment.