manage todos
This commit is contained in:
		
							
								
								
									
										16
									
								
								apps/todos/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								apps/todos/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | |||||||
|  | apiVersion: traefik.containo.us/v1alpha1 | ||||||
|  | kind: IngressRoute | ||||||
|  | metadata: | ||||||
|  |   name: todos-ingressroute | ||||||
|  |  | ||||||
|  | spec: | ||||||
|  |   entryPoints: | ||||||
|  |     - websecure | ||||||
|  |   routes: | ||||||
|  |     - match: Host(`todos.kluster.moll.re`) | ||||||
|  |       kind: Rule | ||||||
|  |       services: | ||||||
|  |         - name: todos-vikunja | ||||||
|  |           port: 3456 | ||||||
|  |   tls: | ||||||
|  |     certResolver: default-tls | ||||||
							
								
								
									
										17
									
								
								apps/todos/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								apps/todos/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
|  | kind: Kustomization | ||||||
|  |  | ||||||
|  | namespace: todos | ||||||
|  |  | ||||||
|  | resources: | ||||||
|  |   - namespace.yaml | ||||||
|  |   - pvc.yaml | ||||||
|  |   - ingress.yaml | ||||||
|  |  | ||||||
|  |  | ||||||
|  | helmCharts: | ||||||
|  |   - name: vikunja | ||||||
|  |     version: 0.1.5 | ||||||
|  |     repo: https://charts.oecis.io | ||||||
|  |     valuesFile: values.yaml | ||||||
|  |     releaseName: todos | ||||||
							
								
								
									
										4
									
								
								apps/todos/namespace.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								apps/todos/namespace.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  | apiVersion: v1 | ||||||
|  | kind: Namespace | ||||||
|  | metadata: | ||||||
|  |   name: placeholder | ||||||
							
								
								
									
										12
									
								
								apps/todos/pvc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								apps/todos/pvc.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | apiVersion: v1 | ||||||
|  | kind: PersistentVolumeClaim | ||||||
|  | metadata: | ||||||
|  |   name: todos-nfs | ||||||
|  | spec: | ||||||
|  |   resources: | ||||||
|  |     requests: | ||||||
|  |       storage: 1Gi | ||||||
|  |   volumeMode: Filesystem | ||||||
|  |   storageClassName: nfs-client | ||||||
|  |   accessModes: | ||||||
|  |     - ReadWriteOnce | ||||||
							
								
								
									
										35
									
								
								apps/todos/values.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								apps/todos/values.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | |||||||
|  | api: | ||||||
|  |   persistence: | ||||||
|  |     data: | ||||||
|  |       enabled: true | ||||||
|  |       existingClaim: todos-nfs | ||||||
|  |  | ||||||
|  |     # config: | ||||||
|  |     #   type: secret | ||||||
|  |     #   name: config.yml# | ||||||
|  |  | ||||||
|  | redis: | ||||||
|  |   enabled: false | ||||||
|  |  | ||||||
|  | postgresql: | ||||||
|  |   enabled: false | ||||||
|  |  | ||||||
|  | config: | ||||||
|  |   log: | ||||||
|  |     level: ERROR | ||||||
|  |  | ||||||
|  |   cache: | ||||||
|  |     enabled: false | ||||||
|  |   db: | ||||||
|  |     type: sqlite | ||||||
|  |     # host: "" | ||||||
|  |     # user: "" | ||||||
|  |     # password: "" | ||||||
|  |     # database: "" | ||||||
|  |     # existingSecret: "" | ||||||
|  |     # secretKeys: | ||||||
|  |     #   dbPasswordKey: user-password | ||||||
|  |   publicUrl: https://todos.kluster.moll.re | ||||||
|  |   registration: true | ||||||
|  |   linkSharing: true | ||||||
|  |   taskAttachments: true | ||||||
| @@ -37,3 +37,4 @@ resources: | |||||||
|   - rss/ |   - rss/ | ||||||
|   - syncthing/ |   - syncthing/ | ||||||
|   - whoami/ |   - whoami/ | ||||||
|  |   - todos/application.yaml | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								kluster-deployments/todos/application.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								kluster-deployments/todos/application.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | apiVersion: argoproj.io/v1alpha1 | ||||||
|  | kind: Application | ||||||
|  | metadata: | ||||||
|  |   name: todos-application | ||||||
|  |   namespace: argocd | ||||||
|  |  | ||||||
|  | spec: | ||||||
|  |   project: apps | ||||||
|  |   source: | ||||||
|  |     repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git | ||||||
|  |     targetRevision: main | ||||||
|  |     path: apps/todos | ||||||
|  |   destination: | ||||||
|  |     server: https://kubernetes.default.svc | ||||||
|  |     namespace: todos | ||||||
|  |   syncPolicy: | ||||||
|  |     automated: | ||||||
|  |       prune: true | ||||||
|  |       selfHeal: true | ||||||
		Reference in New Issue
	
	Block a user