adding calsync

This commit is contained in:
Martyn 2026-01-27 21:15:45 +01:00
parent cdd69ca5df
commit 9722988eba
4 changed files with 65 additions and 0 deletions

17
app-of-apps/calsync.yaml Normal file
View file

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: calsync
namespace: argocd
spec:
destination:
namespace: calsync
server: https://kubernetes.default.svc
project: default
source:
path: apps-kustomized/calsync
repoURL: http://forgejo.git.svc.cluster.local/martyn/infra4talos.git
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true

View file

@ -0,0 +1,12 @@
apiVersion: v1
data:
LOCAL_CALENDAR_NAME: calendar
LOCAL_PASSWORD: none
LOCAL_URL: http://xandikos.xandikos.svc.cluster.local./dav/
LOCAL_USERNAME: martyn
SYNC_EVERY: "2 minutes"
KEEP_LOCAL: "true"
kind: ConfigMap
metadata:
creationTimestamp: null
name: env-configmap

View file

@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: calsync
name: calsync
spec:
replicas: 1
selector:
matchLabels:
app: calsync
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: calsync
spec:
containers:
- envFrom:
- configMapRef:
name: env-configmap
- secretRef:
name: env-secrets
image: przemub/ics_caldav_sync:v1.1
name: ics-caldav-sync-9b9hc
resources: {}
status: {}

View file

@ -0,0 +1,7 @@
apiVersion: v1
data:
REMOTE_URL: aHR0cHM6Ly9jYWxlbmRhci5nb29nbGUuY29tL2NhbGVuZGFyL2ljYWwvcmFueWFyZG0lNDBnbWFpbC5jb20vcHJpdmF0ZS05Mjc1ODIwMzg4ZTEzYjNhZTk2YjgwYWE2NThlOGU2NC9iYXNpYy5pY3M=
kind: Secret
metadata:
creationTimestamp: null
name: env-secrets