diff --git a/README.md b/README.md index 1e8275e..92140ed 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ +# 2026/08/12 + +removing nexstcloud ics as we are using a share dcalendar using nextcloud now + sudo docker build -t nextcloud_ics_sync . diff --git a/nextcloud_ics_sync_Cron_jobs.yaml b/nextcloud_ics_sync_Cron_jobs.yaml index 092891f..bb1dddb 100644 --- a/nextcloud_ics_sync_Cron_jobs.yaml +++ b/nextcloud_ics_sync_Cron_jobs.yaml @@ -18,7 +18,8 @@ spec: spec: containers: - name: nextcloud-ics-sync - image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:1.0.0 + image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:latest + imagePullPolicy: Always volumeMounts: - name: nextcloud-ics-sync-log mountPath: /var/log/nextcloud-ics-sync-log/ diff --git a/nextcloud_ics_sync_job.yaml b/nextcloud_ics_sync_job.yaml new file mode 100644 index 0000000..2dbdd80 --- /dev/null +++ b/nextcloud_ics_sync_job.yaml @@ -0,0 +1,103 @@ +apiVersion: batch/v1 +kind: Job +metadata: + name: manual-nextcloud-ics-sync + namespace: nextcloud-ics-sync +spec: + backoffLimit: 4 + template: + metadata: + labels: + job-name: manual-nextcloud-ics-sync + spec: + containers: + - image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:1.0.0 + imagePullPolicy: Always + name: nextcloud-ics-sync + volumeMounts: + - mountPath: /var/log/nextcloud-ics-sync.log + name: nextcloud-ics-sync-log + dnsConfig: + nameservers: + - 8.8.8.8 + restartPolicy: Never + volumes: + - hostPath: + path: /var/log/nextcloud-ics-sync.log + type: File + name: nextcloud-ics-sync-log +apiVersion: batch/v1 +kind: Job +metadata: + annotations: + cronjob.kubernetes.io/instantiate: manual + creationTimestamp: "2026-03-02T17:12:54Z" + generation: 1 + labels: + batch.kubernetes.io/controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b + batch.kubernetes.io/job-name: manual-nextcloud-ics-sync + controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b + job-name: manual-nextcloud-ics-sync + name: manual-nextcloud-ics-sync + namespace: nextcloud-ics-sync + ownerReferences: + - apiVersion: batch/v1 + blockOwnerDeletion: true + controller: true + kind: CronJob + name: nextcloud-ics-sync + uid: 77a04697-30ee-4294-87b3-2950ae49ffb9 + resourceVersion: "224848319" + uid: ae19ce07-ec43-4323-8941-d3bac983c44b +spec: + backoffLimit: 4 + completionMode: NonIndexed + completions: 1 + parallelism: 1 + selector: + matchLabels: + batch.kubernetes.io/controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b + suspend: false + template: + metadata: + creationTimestamp: null + labels: + batch.kubernetes.io/controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b + batch.kubernetes.io/job-name: manual-nextcloud-ics-sync + controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b + job-name: manual-nextcloud-ics-sync + spec: + containers: + - image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:1.0.0 + imagePullPolicy: Always + name: nextcloud-ics-sync + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /var/log/nextcloud-ics-sync-log/ + name: nextcloud-ics-sync-log + dnsConfig: + nameservers: + - 8.8.8.8 + dnsPolicy: ClusterFirst + restartPolicy: Never + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nextcloud-ics-sync-log + persistentVolumeClaim: + claimName: nextcloud-ics-sync-log + ttlSecondsAfterFinished: 100 +status: + completionTime: "2026-03-02T17:13:17Z" + conditions: + - lastProbeTime: "2026-03-02T17:13:17Z" + lastTransitionTime: "2026-03-02T17:13:17Z" + status: "True" + type: Complete + ready: 0 + startTime: "2026-03-02T17:12:55Z" + succeeded: 1 + uncountedTerminatedPods: {}