now perhaps?
This commit is contained in:
		| @@ -15,3 +15,4 @@ resources: | |||||||
| #     repo: https://charts.oecis.io | #     repo: https://charts.oecis.io | ||||||
| #     valuesFile: values.yaml | #     valuesFile: values.yaml | ||||||
| #     releaseName: todos | #     releaseName: todos | ||||||
|  | # managed by argocd directly | ||||||
|   | |||||||
| @@ -1,35 +1,75 @@ | |||||||
|  | ###################### | ||||||
|  | # VIKUNJA COMPONENTS # | ||||||
|  | ###################### | ||||||
|  | # You can find the default values that this `values.yaml` overrides, in the comment at the top of this file. | ||||||
| api: | api: | ||||||
|  |   enabled: true | ||||||
|   persistence: |   persistence: | ||||||
|  |     # This is your Vikunja data will live, you can either let | ||||||
|  |     # the chart create a new PVC for you or provide an existing one. | ||||||
|     data: |     data: | ||||||
|       enabled: true |       enabled: true | ||||||
|       existingClaim: todos-nfs |       existingClaim: todos-nfs | ||||||
|  |   ingress: | ||||||
|     # config: |     main: | ||||||
|     #   type: secret |  | ||||||
|     #   name: config.yml# |  | ||||||
|  |  | ||||||
| redis: |  | ||||||
|       enabled: false |       enabled: false | ||||||
|  |       # annotations: | ||||||
|  |       #   # proxy-body-size is set to 0 to remove the body limit on file uploads | ||||||
|  |       #   nginx.ingress.kubernetes.io/proxy-body-size: "0" | ||||||
|  |       # hosts: | ||||||
|  |       #   - host: vikunja.local | ||||||
|  |       #     paths: | ||||||
|  |       #       - path: "/api/v1" | ||||||
|  |       # tls: [] | ||||||
|  |   configMaps: | ||||||
|  |     # The configuration for Vikunja's api. | ||||||
|  |     # https://vikunja.io/docs/config-options/ | ||||||
|  |     config: | ||||||
|  |       enabled: true | ||||||
|  |       data: | ||||||
|  |         config.yml: | | ||||||
|  |           # Vikunja needs to know the frontend URL for password reset emails. | ||||||
|  |           # So you might need to provide its value, if you're not using an ingress. | ||||||
|  |           # service: | ||||||
|  |             frontendUrl: https://todos.kluster.moll.re | ||||||
|  |           database: | ||||||
|  |             type: sqlite | ||||||
|  |           registration: false | ||||||
|  |   env: | ||||||
|  |  | ||||||
|  | frontend: | ||||||
|  |   enabled: true | ||||||
|  |   # You can add any of the top-level keys in the common chart's `values.yaml` to override them here. | ||||||
|  |  | ||||||
|  |   # https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L393-L436 | ||||||
|  |   ingress: | ||||||
|  |     main: | ||||||
|  |       enabled: false | ||||||
|  |       # annotations: | ||||||
|  |       #   # proxy-body-size is set to 0 to remove the body limit on file uploads | ||||||
|  |       #   nginx.ingress.kubernetes.io/proxy-body-size: "0" | ||||||
|  |       # hosts: | ||||||
|  |       #   # This is just an example. You should change this to your own domain. | ||||||
|  |       #   - host: vikunja.local | ||||||
|  |       #     paths: | ||||||
|  |       #       - path: "/" | ||||||
|  |       # tls: [] | ||||||
|  |   # You only need to provide the URL to the API as environment variable here if you deviate from the "built-in" ingress in the api section. | ||||||
|  |   env: | ||||||
|  |    VIKUNJA_API_URL: https://todos.kluster.moll.re | ||||||
|  |  | ||||||
| postgresql: | postgresql: | ||||||
|   enabled: false |   enabled: false | ||||||
|  |  | ||||||
| config: | redis: | ||||||
|   log: |   enabled: false | ||||||
|     level: ERROR |  | ||||||
|  | typesense: | ||||||
|   cache: |   enabled: true | ||||||
|  |   env: | ||||||
|  |     TYPESENSE_DATA_DIR: /data | ||||||
|  |     TYPESENSE_API_KEY: typesense | ||||||
|  |   persistence: | ||||||
|  |     data: | ||||||
|  |       # Enabling typesense persistence is recommended to avoid slow reindexing | ||||||
|       enabled: false |       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,4 +37,4 @@ resources: | |||||||
|   - rss/ |   - rss/ | ||||||
|   - syncthing/ |   - syncthing/ | ||||||
|   - whoami/ |   - whoami/ | ||||||
|   - todos/application.yaml |   - todos/ | ||||||
|   | |||||||
| @@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1 | |||||||
| kind: Application | kind: Application | ||||||
| metadata: | metadata: | ||||||
|   name: todos-application |   name: todos-application | ||||||
|   namespace: argocd |  | ||||||
|  |  | ||||||
| spec: | spec: | ||||||
|   project: apps |   project: apps | ||||||
| @@ -16,16 +15,17 @@ spec: | |||||||
|   sources: |   sources: | ||||||
|     - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git |     - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git | ||||||
|       targetRevision: main |       targetRevision: main | ||||||
|       path: apps/todos |       # path: apps/todos | ||||||
|       ref: values |       ref: values | ||||||
|     - repoURL: oci://kolaente.dev/vikunja |     - repoURL: kolaente.dev/vikunja | ||||||
|       path: vikunja |       path: vikunja | ||||||
|       chart: vikunja |       chart: vikunja | ||||||
|       # corresponds to oci://kolaente.dev/vikunja/vikunja |       # corresponds to oci://kolaente.dev/vikunja/vikunja | ||||||
|       targetRevision: 0.4.3 |       targetRevision: 0.4.3 | ||||||
|       helm: |       helm: | ||||||
|         valuesFiles: |         releaseName: todos | ||||||
|           - $values/values.yaml |         valueFiles: | ||||||
|  |           - $values/apps/todos/values.yaml | ||||||
|     # creates the namespace etc. |     # creates the namespace etc. | ||||||
|     - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git |     - repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git | ||||||
|       targetRevision: main |       targetRevision: main | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								kluster-deployments/todos/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								kluster-deployments/todos/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
|  | kind: Kustomization | ||||||
|  | resources: | ||||||
|  |   - application.yaml | ||||||
|  |   - repo.yaml | ||||||
							
								
								
									
										12
									
								
								kluster-deployments/todos/repo.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								kluster-deployments/todos/repo.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | apiVersion: v1 | ||||||
|  | kind: Secret | ||||||
|  | metadata: | ||||||
|  |   labels: | ||||||
|  |     argocd.argoproj.io/secret-type: repository | ||||||
|  |   name: kolaente-helm-oci | ||||||
|  |  | ||||||
|  | stringData: | ||||||
|  |   url: kolaente.dev/vikunja | ||||||
|  |   name: vikunja | ||||||
|  |   type: helm | ||||||
|  |   enableOCI: "true" | ||||||
		Reference in New Issue
	
	Block a user