auto sync and immich
This commit is contained in:
		
							
								
								
									
										120
									
								
								kluster-deployments/immich/application.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								kluster-deployments/immich/application.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| # apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||||
| # kind: HelmRepository | ||||
| # metadata: | ||||
| #   name: immich-helmrepo | ||||
| #   namespace: flux-system | ||||
| # spec: | ||||
| #   interval: 60m0s | ||||
| #   url: https://immich-app.github.io/immich-charts | ||||
| # --- | ||||
| # apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||||
| # kind: HelmRelease | ||||
| # metadata: | ||||
| #   name: immich-helmchart | ||||
| #   namespace: flux-system | ||||
| # spec: | ||||
| #   interval: 5m0s | ||||
| #   chart: | ||||
| #     spec: | ||||
| #       chart: immich | ||||
| #       sourceRef: | ||||
| #         kind: HelmRepository | ||||
| #         name: immich-helmrepo | ||||
| #       valuesFiles: | ||||
| #         - ./apps/immich/values.yaml | ||||
| #   #       - values-production.yaml | ||||
| #   # values: ./apps/immich/values.yaml | ||||
| # --- | ||||
| # apiVersion: image.toolkit.fluxcd.io/v1beta2 | ||||
| # kind: ImageRepository | ||||
| # metadata: | ||||
| #   name: immich-registry | ||||
| #   namespace: flux-system | ||||
| # spec: | ||||
| #   image: ghcr.io/immich-app/immich-server | ||||
| #   interval: 15m | ||||
| # --- | ||||
| # apiVersion: image.toolkit.fluxcd.io/v1beta2 | ||||
| # kind: ImagePolicy | ||||
| # metadata: | ||||
| #   name: immich-imagerange | ||||
| #   namespace: flux-system | ||||
| # spec: | ||||
| #   imageRepositoryRef: | ||||
| #     name: immich-registry | ||||
| #   policy: | ||||
| #     semver: | ||||
| #       range: 1.x.x | ||||
| # --- | ||||
| # apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||||
| # kind: ImageUpdateAutomation | ||||
| # metadata: | ||||
| #   name: immich-automation | ||||
| #   namespace: flux-system | ||||
| # spec: | ||||
| #   interval: 30m | ||||
| #   sourceRef: | ||||
| #     kind: GitRepository | ||||
| #     name: flux-system | ||||
| #   #### Git configuration | ||||
| #   git: | ||||
| #     checkout: | ||||
| #       ref: | ||||
| #         branch: main | ||||
| #     commit: | ||||
| #       author: | ||||
| #         email: flux@moll.re | ||||
| #         name: fluxcdbot | ||||
| #       messageTemplate: 'Bump {{range .Updated.Images}}{{println .}}{{end}}' | ||||
| #     push: | ||||
| #       #### Branch to push to | ||||
| #       branch: ci-update | ||||
| #   #### Update configuration | ||||
| #   update: | ||||
| #     #### Path to the file to update | ||||
| #     path: ./apps/immich/values.yaml | ||||
| #     #### Update strategy | ||||
| #     strategy: Setters | ||||
| # --- | ||||
|  | ||||
|  | ||||
| #   # sourceRef: | ||||
| #   #   kind: GitRepository | ||||
| #   #   name: immich | ||||
| #   # git: | ||||
| #   #   checkout: | ||||
| #   #     ref: | ||||
| #   #       branch: main | ||||
| #   #   commit: | ||||
| #   #     author: | ||||
| #   #       email: flux@moll.re | ||||
| #   #       name: fluxcdbot | ||||
| #   #     messageTemplate: '[CI SKIP] Bump {{range .Updated.Images}}{{println .}}{{end}}' | ||||
| #   #   push: | ||||
| #   #     branch: main | ||||
| #   # update: | ||||
| #   #   path: ./deployment/base/deployment.yaml | ||||
| #   #   strategy: Setters | ||||
|  | ||||
|  | ||||
| # --- | ||||
| apiVersion: argoproj.io/v1alpha1 | ||||
| kind: Application | ||||
| metadata: | ||||
|   name: immich-application | ||||
|   namespace: argocd | ||||
| spec: | ||||
|   project: default | ||||
|   sources: | ||||
|     - chart: immich | ||||
|       repoURL: https://immich-app.github.io/immich-charts | ||||
|       helm: | ||||
|         releaseName: immich | ||||
|         valueFiles: | ||||
|           - $values/apps/immich/values.yaml | ||||
|     - repoURL: 'https://github.com/moll-re/k3s-infra.git' | ||||
|       targetRevision: dev | ||||
|       ref: values | ||||
|   destination: | ||||
|     server: https://kubernetes.default.svc | ||||
|     namespace: immich | ||||
| @@ -1,97 +0,0 @@ | ||||
| apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||||
| kind: HelmRepository | ||||
| metadata: | ||||
|   name: immich-helmrepo | ||||
|   namespace: flux-system | ||||
| spec: | ||||
|   interval: 60m0s | ||||
|   url: https://immich-app.github.io/immich-charts | ||||
| --- | ||||
| apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||||
| kind: HelmRelease | ||||
| metadata: | ||||
|   name: immich-helmchart | ||||
|   namespace: flux-system | ||||
| spec: | ||||
|   interval: 5m0s | ||||
|   chart: | ||||
|     spec: | ||||
|       chart: immich | ||||
|       sourceRef: | ||||
|         kind: HelmRepository | ||||
|         name: immich-helmrepo | ||||
|       valuesFiles: | ||||
|         - ./apps/immich/values.yaml | ||||
|   #       - values-production.yaml | ||||
|   # values: ./apps/immich/values.yaml | ||||
| --- | ||||
| apiVersion: image.toolkit.fluxcd.io/v1beta2 | ||||
| kind: ImageRepository | ||||
| metadata: | ||||
|   name: immich-registry | ||||
|   namespace: flux-system | ||||
| spec: | ||||
|   image: ghcr.io/immich-app/immich-server | ||||
|   interval: 15m | ||||
| --- | ||||
| apiVersion: image.toolkit.fluxcd.io/v1beta2 | ||||
| kind: ImagePolicy | ||||
| metadata: | ||||
|   name: immich-imagerange | ||||
|   namespace: flux-system | ||||
| spec: | ||||
|   imageRepositoryRef: | ||||
|     name: immich-registry | ||||
|   policy: | ||||
|     semver: | ||||
|       range: 1.x.x | ||||
| --- | ||||
| apiVersion: image.toolkit.fluxcd.io/v1beta1 | ||||
| kind: ImageUpdateAutomation | ||||
| metadata: | ||||
|   name: immich-automation | ||||
|   namespace: flux-system | ||||
| spec: | ||||
|   interval: 30m | ||||
|   sourceRef: | ||||
|     kind: GitRepository | ||||
|     name: flux-system | ||||
|   #### Git configuration | ||||
|   git: | ||||
|     checkout: | ||||
|       ref: | ||||
|         branch: main | ||||
|     commit: | ||||
|       author: | ||||
|         email: flux@moll.re | ||||
|         name: fluxcdbot | ||||
|       messageTemplate: 'Bump {{range .Updated.Images}}{{println .}}{{end}}' | ||||
|     push: | ||||
|       #### Branch to push to | ||||
|       branch: ci-update | ||||
|   #### Update configuration | ||||
|   update: | ||||
|     #### Path to the file to update | ||||
|     path: ./apps/immich/values.yaml | ||||
|     #### Update strategy | ||||
|     strategy: Setters | ||||
| --- | ||||
|  | ||||
|  | ||||
|   # sourceRef: | ||||
|   #   kind: GitRepository | ||||
|   #   name: immich | ||||
|   # git: | ||||
|   #   checkout: | ||||
|   #     ref: | ||||
|   #       branch: main | ||||
|   #   commit: | ||||
|   #     author: | ||||
|   #       email: flux@moll.re | ||||
|   #       name: fluxcdbot | ||||
|   #     messageTemplate: '[CI SKIP] Bump {{range .Updated.Images}}{{println .}}{{end}}' | ||||
|   #   push: | ||||
|   #     branch: main | ||||
|   # update: | ||||
|   #   path: ./deployment/base/deployment.yaml | ||||
|   #   strategy: Setters | ||||
							
								
								
									
										4
									
								
								kluster-deployments/immich/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								kluster-deployments/immich/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||||
| kind: Kustomization | ||||
| resources: | ||||
| - application.yaml | ||||
		Reference in New Issue
	
	Block a user