From db8ef4c8da4e751bf26850e2c639c773dfb6918f Mon Sep 17 00:00:00 2001 From: roukydesbois Date: Wed, 6 Nov 2024 09:00:45 +0000 Subject: [PATCH 1/4] added telegram notifications --- immich-argocd-apps/templates/immich-main-chart.yaml | 1 + immich-argocd-apps/templates/immich-postinstall-app.yaml | 1 + immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml | 1 + immich-argocd-apps/templates/immich-requirements-app.yaml | 1 + k3s-tooling/templates/certmanager.yaml | 2 ++ k3s-tooling/templates/cnpg.yaml | 2 ++ k3s-tooling/templates/longhorn.yaml | 2 ++ k3s-tooling/templates/tailscale-operator.yaml | 2 ++ k3s-tooling/templates/traefik.yaml | 2 ++ 9 files changed, 14 insertions(+) diff --git a/immich-argocd-apps/templates/immich-main-chart.yaml b/immich-argocd-apps/templates/immich-main-chart.yaml index ae3d0ab..701cc1a 100644 --- a/immich-argocd-apps/templates/immich-main-chart.yaml +++ b/immich-argocd-apps/templates/immich-main-chart.yaml @@ -7,6 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "0" + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: default source: diff --git a/immich-argocd-apps/templates/immich-postinstall-app.yaml b/immich-argocd-apps/templates/immich-postinstall-app.yaml index d01d9a0..43cf4d1 100644 --- a/immich-argocd-apps/templates/immich-postinstall-app.yaml +++ b/immich-argocd-apps/templates/immich-postinstall-app.yaml @@ -7,6 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "1" + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: default source: diff --git a/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml b/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml index 4eea5eb..6db840f 100644 --- a/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml +++ b/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml @@ -7,6 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "0" + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: default source: diff --git a/immich-argocd-apps/templates/immich-requirements-app.yaml b/immich-argocd-apps/templates/immich-requirements-app.yaml index 1fced14..473dd5a 100644 --- a/immich-argocd-apps/templates/immich-requirements-app.yaml +++ b/immich-argocd-apps/templates/immich-requirements-app.yaml @@ -7,6 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "-1" + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: default source: diff --git a/k3s-tooling/templates/certmanager.yaml b/k3s-tooling/templates/certmanager.yaml index 10c6029..2d46412 100644 --- a/k3s-tooling/templates/certmanager.yaml +++ b/k3s-tooling/templates/certmanager.yaml @@ -6,6 +6,8 @@ metadata: namespace: {{ .Values.argocd.namespace }} # finalizers: # - resources-finalizer.argocd.argoproj.io + annotations: + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/cnpg.yaml b/k3s-tooling/templates/cnpg.yaml index bdb6f84..7707be2 100644 --- a/k3s-tooling/templates/cnpg.yaml +++ b/k3s-tooling/templates/cnpg.yaml @@ -6,6 +6,8 @@ metadata: namespace: {{ .Values.argocd.namespace }} # finalizers: # - resources-finalizer.argocd.argoproj.io + annotations: + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/longhorn.yaml b/k3s-tooling/templates/longhorn.yaml index 8fa8599..6c88b11 100644 --- a/k3s-tooling/templates/longhorn.yaml +++ b/k3s-tooling/templates/longhorn.yaml @@ -6,6 +6,8 @@ metadata: namespace: {{ .Values.argocd.namespace }} # finalizers: # - resources-finalizer.argocd.argoproj.io + annotations: + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/tailscale-operator.yaml b/k3s-tooling/templates/tailscale-operator.yaml index 7d17256..153c1bf 100644 --- a/k3s-tooling/templates/tailscale-operator.yaml +++ b/k3s-tooling/templates/tailscale-operator.yaml @@ -6,6 +6,8 @@ metadata: namespace: {{ .Values.argocd.namespace }} # finalizers: # - resources-finalizer.argocd.argoproj.io + annotations: + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/traefik.yaml b/k3s-tooling/templates/traefik.yaml index 8d5bfec..9d9d8ae 100644 --- a/k3s-tooling/templates/traefik.yaml +++ b/k3s-tooling/templates/traefik.yaml @@ -6,6 +6,8 @@ metadata: namespace: {{ .Values.argocd.namespace }} # finalizers: # - resources-finalizer.argocd.argoproj.io + annotations: + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 spec: project: {{ .Values.argocd.project }} source: From 222ac5285da94140e9f79fc115a71b9d6751f2e8 Mon Sep 17 00:00:00 2001 From: roukydesbois Date: Wed, 6 Nov 2024 09:24:33 +0000 Subject: [PATCH 2/4] added telegram notifications --- immich-argocd-apps/templates/immich-main-chart.yaml | 2 +- immich-argocd-apps/templates/immich-postinstall-app.yaml | 2 +- immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml | 2 +- immich-argocd-apps/templates/immich-requirements-app.yaml | 2 +- k3s-tooling/templates/certmanager.yaml | 2 +- k3s-tooling/templates/cnpg.yaml | 2 +- k3s-tooling/templates/longhorn.yaml | 2 +- k3s-tooling/templates/tailscale-operator.yaml | 2 +- k3s-tooling/templates/traefik.yaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/immich-argocd-apps/templates/immich-main-chart.yaml b/immich-argocd-apps/templates/immich-main-chart.yaml index 701cc1a..7442eea 100644 --- a/immich-argocd-apps/templates/immich-main-chart.yaml +++ b/immich-argocd-apps/templates/immich-main-chart.yaml @@ -7,7 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "0" - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: default source: diff --git a/immich-argocd-apps/templates/immich-postinstall-app.yaml b/immich-argocd-apps/templates/immich-postinstall-app.yaml index 43cf4d1..c91c6e4 100644 --- a/immich-argocd-apps/templates/immich-postinstall-app.yaml +++ b/immich-argocd-apps/templates/immich-postinstall-app.yaml @@ -7,7 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "1" - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: default source: diff --git a/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml b/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml index 6db840f..cbe8570 100644 --- a/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml +++ b/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml @@ -7,7 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "0" - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: default source: diff --git a/immich-argocd-apps/templates/immich-requirements-app.yaml b/immich-argocd-apps/templates/immich-requirements-app.yaml index 473dd5a..d34c509 100644 --- a/immich-argocd-apps/templates/immich-requirements-app.yaml +++ b/immich-argocd-apps/templates/immich-requirements-app.yaml @@ -7,7 +7,7 @@ metadata: - resources-finalizer.argocd.argoproj.io annotations: argocd.argoproj.io/sync-wave: "-1" - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: default source: diff --git a/k3s-tooling/templates/certmanager.yaml b/k3s-tooling/templates/certmanager.yaml index 2d46412..cfc12d5 100644 --- a/k3s-tooling/templates/certmanager.yaml +++ b/k3s-tooling/templates/certmanager.yaml @@ -7,7 +7,7 @@ metadata: # finalizers: # - resources-finalizer.argocd.argoproj.io annotations: - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/cnpg.yaml b/k3s-tooling/templates/cnpg.yaml index 7707be2..c2effbe 100644 --- a/k3s-tooling/templates/cnpg.yaml +++ b/k3s-tooling/templates/cnpg.yaml @@ -7,7 +7,7 @@ metadata: # finalizers: # - resources-finalizer.argocd.argoproj.io annotations: - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/longhorn.yaml b/k3s-tooling/templates/longhorn.yaml index 6c88b11..46018dd 100644 --- a/k3s-tooling/templates/longhorn.yaml +++ b/k3s-tooling/templates/longhorn.yaml @@ -7,7 +7,7 @@ metadata: # finalizers: # - resources-finalizer.argocd.argoproj.io annotations: - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/tailscale-operator.yaml b/k3s-tooling/templates/tailscale-operator.yaml index 153c1bf..327e1c0 100644 --- a/k3s-tooling/templates/tailscale-operator.yaml +++ b/k3s-tooling/templates/tailscale-operator.yaml @@ -7,7 +7,7 @@ metadata: # finalizers: # - resources-finalizer.argocd.argoproj.io annotations: - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: {{ .Values.argocd.project }} source: diff --git a/k3s-tooling/templates/traefik.yaml b/k3s-tooling/templates/traefik.yaml index 9d9d8ae..23782f3 100644 --- a/k3s-tooling/templates/traefik.yaml +++ b/k3s-tooling/templates/traefik.yaml @@ -7,7 +7,7 @@ metadata: # finalizers: # - resources-finalizer.argocd.argoproj.io annotations: - notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: -1002270587578 + notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: {{ .Values.argocd.project }} source: From ee33ea6492b8bd402df30405d3a3cd7d5b4a345a Mon Sep 17 00:00:00 2001 From: roukydesbois Date: Wed, 6 Nov 2024 09:32:27 +0000 Subject: [PATCH 3/4] bumping chart version --- immich-argocd-postInstall/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/immich-argocd-postInstall/Chart.yaml b/immich-argocd-postInstall/Chart.yaml index 71fc48b..31a6a4d 100644 --- a/immich-argocd-postInstall/Chart.yaml +++ b/immich-argocd-postInstall/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to From a84c4f333a7c105bce397179b4e70f9f5bf3efca Mon Sep 17 00:00:00 2001 From: roukydesbois Date: Wed, 6 Nov 2024 11:06:18 +0000 Subject: [PATCH 4/4] trying to fix reconcile error --- immich-argocd-postInstall/templates/filebrowser-ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/immich-argocd-postInstall/templates/filebrowser-ingress.yaml b/immich-argocd-postInstall/templates/filebrowser-ingress.yaml index 729a489..9ba62c5 100644 --- a/immich-argocd-postInstall/templates/filebrowser-ingress.yaml +++ b/immich-argocd-postInstall/templates/filebrowser-ingress.yaml @@ -1,7 +1,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: ts-filebrowser + name: ts-filebrowser-bis spec: defaultBackend: service: