瀏覽代碼

Publish new changes in catalog

sonicaj 1 年之前
父節點
當前提交
1982cb9e62

+ 0 - 40
community/vikunja/1.0.15/templates/_vikunja_frontend.tpl

@@ -1,40 +0,0 @@
-{{- define "vikunja.frontend" -}}
-{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $apiUrl := printf "http://%v:%v/health" $fullname .Values.vikunjaPorts.api }}
-workload:
-  vikunja-frontend:
-    enabled: true
-    type: Deployment
-    podSpec:
-      hostNetwork: false
-      containers:
-        vikunja-frontend:
-          enabled: true
-          primary: true
-          imageSelector: frontendImage
-          securityContext:
-            runAsUser: 101
-            runAsGroup: 101
-            readOnlyRootFilesystem: false
-          envFrom:
-            - configMapRef:
-                name: vikunja-frontend
-          probes:
-            liveness:
-              enabled: true
-              type: http
-              port: {{ .Values.vikunjaPorts.frontHttp }}
-              path: /ready
-            readiness:
-              enabled: true
-              type: http
-              port: {{ .Values.vikunjaPorts.frontHttp }}
-              path: /ready
-            startup:
-              enabled: true
-              type: http
-              port: {{ .Values.vikunjaPorts.frontHttp }}
-              path: /ready
-      initContainers:
-      {{- include "vikunja.wait.init" (dict "url" $apiUrl) | indent 8 }}
-{{- end -}}

+ 0 - 36
community/vikunja/1.0.15/templates/_vikunja_nginx.tpl

@@ -1,36 +0,0 @@
-{{- define "vikunja.nginx" -}}
-{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $frontUrl := printf "http://%v-frontend:%v/ready" $fullname .Values.vikunjaPorts.frontHttp }}
-workload:
-  vikunja-proxy:
-    enabled: true
-    type: Deployment
-    podSpec:
-      hostNetwork: false
-      containers:
-        vikunja-proxy:
-          enabled: true
-          primary: true
-          imageSelector: nginxImage
-          securityContext:
-            runAsUser: 101
-            runAsGroup: 101
-          probes:
-            liveness:
-              enabled: true
-              type: http
-              port: {{ .Values.vikunjaNetwork.webPort }}
-              path: /nginx-health
-            readiness:
-              enabled: true
-              type: http
-              port: {{ .Values.vikunjaNetwork.webPort }}
-              path: /nginx-health
-            startup:
-              enabled: true
-              type: http
-              port: {{ .Values.vikunjaNetwork.webPort }}
-              path: /nginx-health
-      initContainers:
-      {{- include "vikunja.wait.init" (dict "url" $frontUrl) | indent 8 }}
-{{- end -}}

+ 0 - 17
community/vikunja/1.0.15/templates/_wait-url.tpl

@@ -1,17 +0,0 @@
-{{- define "vikunja.wait.init" -}}
-{{- $url := .url }}
-wait-url:
-  enabled: true
-  type: init
-  imageSelector: bashImage
-  command:
-    - /bin/ash
-    - -c
-    - |
-      echo "Pinging [{{ $url }}] until it is ready..."
-      until wget --spider --quiet "{{ $url }}"; do
-        echo "Waiting for [{{ $url }}] to be ready..."
-        sleep 2
-      done
-      echo "URL [{{ $url }}] is ready!"
-{{- end -}}

+ 0 - 0
community/vikunja/1.0.15/Chart.lock → community/vikunja/2.0.0/Chart.lock


+ 3 - 3
community/vikunja/1.0.15/Chart.yaml → community/vikunja/2.0.0/Chart.yaml

@@ -3,10 +3,10 @@ description: Vikunja is an open-source, self-hostable to-do app.
 annotations:
   title: Vikunja
 type: application
-version: 1.0.15
+version: 2.0.0
 apiVersion: v2
-appVersion: 0.22.1
-kubeVersion: '>=1.16.0-0'
+appVersion: 0.24.2
+kubeVersion: ">=1.16.0-0"
 maintainers:
   - name: truenas
     url: https://www.truenas.com/

+ 0 - 0
community/vikunja/1.0.15/README.md → community/vikunja/2.0.0/README.md


+ 0 - 0
community/vikunja/1.0.15/app-readme.md → community/vikunja/2.0.0/app-readme.md


+ 0 - 0
community/vikunja/1.0.15/charts/common-1.2.9.tgz → community/vikunja/2.0.0/charts/common-1.2.9.tgz


+ 0 - 0
community/vikunja/1.0.15/ci/basic-values.yaml → community/vikunja/2.0.0/ci/basic-values.yaml


+ 0 - 0
community/vikunja/1.0.15/ci/extra-values.yaml → community/vikunja/2.0.0/ci/extra-values.yaml


+ 3 - 18
community/vikunja/1.0.15/ix_values.yaml → community/vikunja/2.0.0/ix_values.yaml

@@ -1,15 +1,7 @@
 image:
-  repository: vikunja/api
+  repository: vikunja/vikunja
   pullPolicy: IfNotPresent
-  tag: 0.22.1
-frontendImage:
-  repository: vikunja/frontend
-  pullPolicy: IfNotPresent
-  tag: 0.22.1
-nginxImage:
-  repository: nginx
-  pullPolicy: IfNotPresent
-  tag: 1.27.1
+  tag: 0.24.2
 
 resources:
   limits:
@@ -17,7 +9,7 @@ resources:
     memory: 8Gi
 
 vikunjaConfig:
-  url: ''
+  url: ""
   maxFileSize: 20
   additionalEnvs: []
 
@@ -60,10 +52,3 @@ notes:
     </details>
     {{- $_ := unset .Values "vikunjaDbPass" }}
     {{- $_ := unset .Values "vikunjaDbHost" }}
-
-# Not exposed to the user,
-# just used internally
-vikunjaPorts:
-  api: 3456
-  frontHttp: 5000
-  frontHttp2: 5001

+ 0 - 0
community/vikunja/1.0.15/metadata.yaml → community/vikunja/2.0.0/metadata.yaml


+ 0 - 0
community/vikunja/1.0.15/questions.yaml → community/vikunja/2.0.0/questions.yaml


+ 0 - 0
community/vikunja/1.0.15/templates/NOTES.txt → community/vikunja/2.0.0/templates/NOTES.txt


+ 2 - 27
community/vikunja/1.0.15/templates/_configuration.tpl → community/vikunja/2.0.0/templates/_configuration.tpl

@@ -61,36 +61,11 @@ configmap:
     enabled: true
     data:
       VIKUNJA_SERVICE_TIMEZONE: {{ .Values.TZ }}
-      VIKUNJA_SERVICE_INTERFACE:
       VIKUNJA_REDIS_ENABLED: "true"
       VIKUNJA_KEYVALUE_TYPE: redis
       VIKUNJA_DATABASE_TYPE: postgres
-      VIKUNJA_SERVICE_INTERFACE: {{ printf ":%v" .Values.vikunjaPorts.api | quote }}
+      VIKUNJA_SERVICE_INTERFACE: {{ printf ":%v" .Values.vikunjaNetwork.webPort | quote }}
       VIKUNJA_FILES_MAXSIZE: {{ printf "%vMB" .Values.vikunjaConfig.maxFileSize }}
       VIKUNJA_FILES_BASEPATH: /app/vikunja/files
-      VIKUNJA_SERVICE_FRONTENDURL: {{ printf "%s/" (.Values.vikunjaConfig.url | trimSuffix "/") }}
-
-  vikunja-frontend:
-    enabled: true
-    data:
-      VIKUNJA_HTTP_PORT: {{ .Values.vikunjaPorts.frontHttp | quote }}
-      VIKUNJA_HTTP2_PORT: {{ .Values.vikunjaPorts.frontHttp2 | quote }}
-
-  nginx-config:
-    enabled: true
-    data:
-      nginx-config: |
-        server {
-            listen {{ .Values.vikunjaNetwork.webPort }};
-            location /nginx-health {
-                return 200;
-            }
-            location / {
-                proxy_pass {{ printf "http://%s-frontend:%v" $fullname .Values.vikunjaPorts.frontHttp }};
-            }
-            location ~* ^/(api|dav|\.well-known)/ {
-                proxy_pass {{ printf "http://%s:%v" $fullname .Values.vikunjaPorts.api }};
-                client_max_body_size {{ printf "%vM" .Values.vikunjaConfig.maxFileSize }};
-            }
-        }
+      VIKUNJA_SERVICE_PUBLICURL: {{ printf "%s/" (.Values.vikunjaConfig.url | trimSuffix "/") }}
 {{- end -}}

+ 2 - 27
community/vikunja/1.0.15/templates/_persistence.tpl → community/vikunja/2.0.0/templates/_persistence.tpl

@@ -4,23 +4,9 @@ persistence:
     enabled: true
     type: emptyDir
     targetSelector:
-      vikunja:
-        vikunja:
+      vikunja-api:
+        vikunja-api:
           mountPath: /tmp
-  nginxvar:
-    enabled: true
-    type: emptyDir
-    targetSelector:
-      vikunja-proxy:
-        vikunja-proxy:
-          mountPath: /var/cache/nginx
-  nginxrun:
-    enabled: true
-    type: emptyDir
-    targetSelector:
-      vikunja-proxy:
-        vikunja-proxy:
-          mountPath: /var/run
   data:
     enabled: true
     {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.vikunjaStorage.data) | nindent 4 }}
@@ -33,17 +19,6 @@ persistence:
         01-permissions:
           mountPath: /mnt/directories/data
         {{- end }}
-  nginx:
-    enabled: true
-    type: configmap
-    objectName: nginx-config
-    defaultMode: "0600"
-    targetSelector:
-      vikunja-proxy:
-        vikunja-proxy:
-          mountPath: /etc/nginx/conf.d/default.conf
-          subPath: nginx-config
-          readOnly: true
 
   {{- range $idx, $storage := .Values.vikunjaStorage.additionalStorages }}
   {{ printf "vikunja-%v" (int $idx) }}:

+ 0 - 0
community/vikunja/1.0.15/templates/_portal.tpl → community/vikunja/2.0.0/templates/_portal.tpl


+ 0 - 0
community/vikunja/1.0.15/templates/_postgres.tpl → community/vikunja/2.0.0/templates/_postgres.tpl


+ 0 - 0
community/vikunja/1.0.15/templates/_redis.tpl → community/vikunja/2.0.0/templates/_redis.tpl


+ 3 - 23
community/vikunja/1.0.15/templates/_service.tpl → community/vikunja/2.0.0/templates/_service.tpl

@@ -1,37 +1,17 @@
 {{- define "vikunja.service" -}}
 service:
-  vikunja:
+  vikunja-api:
     enabled: true
     primary: true
-    type: ClusterIP
+    type: NodePort
     targetSelector: vikunja-api
     ports:
       api:
-        enabled: true
-        primary: true
-        port: {{ .Values.vikunjaPorts.api }}
-        targetSelector: vikunja-api
-  proxy:
-    enabled: true
-    type: NodePort
-    targetSelector: vikunja-proxy
-    ports:
-      webui:
         enabled: true
         primary: true
         port: {{ .Values.vikunjaNetwork.webPort }}
         nodePort: {{ .Values.vikunjaNetwork.webPort }}
-        targetSelector: vikunja-proxy
-  frontend:
-    enabled: true
-    type: ClusterIP
-    targetSelector: vikunja-frontend
-    ports:
-      webui:
-        enabled: true
-        primary: true
-        port: {{ .Values.vikunjaPorts.frontHttp }}
-        targetSelector: vikunja-frontend
+        targetSelector: vikunja-api
   redis:
     enabled: true
     type: ClusterIP

+ 3 - 7
community/vikunja/1.0.15/templates/_vikunja_api.tpl → community/vikunja/2.0.0/templates/_vikunja_api.tpl

@@ -15,10 +15,6 @@ workload:
             runAsUser: {{ .Values.vikunjaRunAs.user }}
             runAsGroup: {{ .Values.vikunjaRunAs.group }}
             runAsNonRoot: false
-          env:
-            # Make vikunja skip user creation
-            PUID: ""
-            PGID: ""
           envFrom:
             - secretRef:
                 name: vikunja-creds
@@ -35,17 +31,17 @@ workload:
             liveness:
               enabled: true
               type: http
-              port: {{ .Values.vikunjaPorts.api }}
+              port: {{ .Values.vikunjaNetwork.webPort }}
               path: /health
             readiness:
               enabled: true
               type: http
-              port: {{ .Values.vikunjaPorts.api }}
+              port: {{ .Values.vikunjaNetwork.webPort }}
               path: /health
             startup:
               enabled: true
               type: http
-              port: {{ .Values.vikunjaPorts.api }}
+              port: {{ .Values.vikunjaNetwork.webPort }}
               path: /health
       initContainers:
       {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions"

+ 0 - 2
community/vikunja/1.0.15/templates/common.yaml → community/vikunja/2.0.0/templates/common.yaml

@@ -6,8 +6,6 @@
 {{- $_ := mustMergeOverwrite .Values (include "vikunja.service" $ | fromYaml) -}}
 {{- $_ := mustMergeOverwrite .Values (include "vikunja.redis" $ | fromYaml) -}}
 {{- $_ := mustMergeOverwrite .Values (include "vikunja.postgres" $ | fromYaml) -}}
-{{- $_ := mustMergeOverwrite .Values (include "vikunja.nginx" $ | fromYaml) -}}
-{{- $_ := mustMergeOverwrite .Values (include "vikunja.frontend" $ | fromYaml) -}}
 {{- $_ := mustMergeOverwrite .Values (include "vikunja.api" $ | fromYaml) -}}
 
 {{/* Create the configmap for portal manually*/}}