Browse Source

Publish new changes in catalog

sonicaj 1 year ago
parent
commit
11adb79c1a
44 changed files with 622 additions and 2 deletions
  1. 0 0
      charts/nextcloud/1.6.56/.helmignore
  2. 0 0
      charts/nextcloud/1.6.56/Chart.lock
  3. 1 1
      charts/nextcloud/1.6.56/Chart.yaml
  4. 0 0
      charts/nextcloud/1.6.56/README.md
  5. 0 0
      charts/nextcloud/1.6.56/app-readme.md
  6. 0 0
      charts/nextcloud/1.6.56/charts/common-2304.0.1.tgz
  7. 0 0
      charts/nextcloud/1.6.56/ci/test-values.yaml
  8. 0 0
      charts/nextcloud/1.6.56/ix_values.yaml
  9. 0 0
      charts/nextcloud/1.6.56/metadata.yaml
  10. 0 0
      charts/nextcloud/1.6.56/migrations/migrate_from_1.1.0
  11. 0 0
      charts/nextcloud/1.6.56/questions.yaml
  12. 0 0
      charts/nextcloud/1.6.56/templates/NOTES.txt
  13. 0 0
      charts/nextcloud/1.6.56/templates/_nginx.tpl
  14. 0 0
      charts/nextcloud/1.6.56/templates/_postgres.tpl
  15. 0 0
      charts/nextcloud/1.6.56/templates/backup-postgres-config.yaml
  16. 0 0
      charts/nextcloud/1.6.56/templates/backup-postgres-hook.yaml
  17. 0 0
      charts/nextcloud/1.6.56/templates/cronjob.yaml
  18. 1 1
      charts/nextcloud/1.6.56/templates/deployment.yaml
  19. 0 0
      charts/nextcloud/1.6.56/templates/nextcloud-configmap.yaml
  20. 0 0
      charts/nextcloud/1.6.56/templates/nginx-configmap.yaml
  21. 0 0
      charts/nextcloud/1.6.56/templates/nginx-secret.yaml
  22. 0 0
      charts/nextcloud/1.6.56/templates/postgres-deployment.yaml
  23. 0 0
      charts/nextcloud/1.6.56/templates/postgres-secret.yaml
  24. 0 0
      charts/nextcloud/1.6.56/templates/postgres-service.yaml
  25. 0 0
      charts/nextcloud/1.6.56/templates/secrets.yaml
  26. 0 0
      charts/nextcloud/1.6.56/templates/service.yaml
  27. 0 0
      charts/nextcloud/1.6.56/templates/serviceaccount.yaml
  28. 0 0
      charts/nextcloud/1.6.56/to_keep_versions.md
  29. 26 0
      community/organizr/1.0.0/Chart.yaml
  30. 3 0
      community/organizr/1.0.0/README.md
  31. 3 0
      community/organizr/1.0.0/app-readme.md
  32. 7 0
      community/organizr/1.0.0/ci/basic-values.yaml
  33. 8 0
      community/organizr/1.0.0/ci/extra-values.yaml
  34. 26 0
      community/organizr/1.0.0/ix_values.yaml
  35. 18 0
      community/organizr/1.0.0/metadata.yaml
  36. 370 0
      community/organizr/1.0.0/questions.yaml
  37. 1 0
      community/organizr/1.0.0/templates/NOTES.txt
  38. 53 0
      community/organizr/1.0.0/templates/_organizr.tpl
  39. 26 0
      community/organizr/1.0.0/templates/_persistence.tpl
  40. 12 0
      community/organizr/1.0.0/templates/_portal.tpl
  41. 16 0
      community/organizr/1.0.0/templates/_service.tpl
  42. 11 0
      community/organizr/1.0.0/templates/common.yaml
  43. 31 0
      community/organizr/1.0.0/upgrade_strategy_disabled
  44. 9 0
      community/organizr/item.yaml

+ 0 - 0
charts/nextcloud/1.6.55/.helmignore → charts/nextcloud/1.6.56/.helmignore


+ 0 - 0
charts/nextcloud/1.6.55/Chart.lock → charts/nextcloud/1.6.56/Chart.lock


+ 1 - 1
charts/nextcloud/1.6.55/Chart.yaml → charts/nextcloud/1.6.56/Chart.yaml

@@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow
 annotations:
   title: Nextcloud
 type: application
-version: 1.6.55
+version: 1.6.56
 apiVersion: v2
 appVersion: 28.0.1
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/nextcloud/1.6.55/README.md → charts/nextcloud/1.6.56/README.md


+ 0 - 0
charts/nextcloud/1.6.55/app-readme.md → charts/nextcloud/1.6.56/app-readme.md


+ 0 - 0
charts/nextcloud/1.6.55/charts/common-2304.0.1.tgz → charts/nextcloud/1.6.56/charts/common-2304.0.1.tgz


+ 0 - 0
charts/nextcloud/1.6.55/ci/test-values.yaml → charts/nextcloud/1.6.56/ci/test-values.yaml


+ 0 - 0
charts/nextcloud/1.6.55/ix_values.yaml → charts/nextcloud/1.6.56/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.6.55/metadata.yaml → charts/nextcloud/1.6.56/metadata.yaml


+ 0 - 0
charts/nextcloud/1.6.55/migrations/migrate_from_1.1.0 → charts/nextcloud/1.6.56/migrations/migrate_from_1.1.0


+ 0 - 0
charts/nextcloud/1.6.55/questions.yaml → charts/nextcloud/1.6.56/questions.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/NOTES.txt → charts/nextcloud/1.6.56/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/1.6.55/templates/_nginx.tpl → charts/nextcloud/1.6.56/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.6.55/templates/_postgres.tpl → charts/nextcloud/1.6.56/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.6.55/templates/backup-postgres-config.yaml → charts/nextcloud/1.6.56/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/backup-postgres-hook.yaml → charts/nextcloud/1.6.56/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/cronjob.yaml → charts/nextcloud/1.6.56/templates/cronjob.yaml


+ 1 - 1
charts/nextcloud/1.6.55/templates/deployment.yaml → charts/nextcloud/1.6.56/templates/deployment.yaml

@@ -83,7 +83,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
         {{ if eq (include "nginx.certAvailable" .) "true" }}
         {{ $envList = mustAppend $envList (dict "name" "APACHE_DISABLE_REWRITE_IP" "value" "1") }}
           {{ if and .Values.nextcloud.host .Values.service.nodePort }}
-            {{ if .Values.nginxConfig.use443 }}
+            {{ if .Values.nginxConfig.useDifferentAccessPort }}
         {{ $envList = mustAppend $envList (dict "name" "OVERWRITEHOST" "value" .Values.nextcloud.host) }}
             {{ else }}
         {{ $envList = mustAppend $envList (dict "name" "OVERWRITEHOST" "value" (printf "%v:%v" .Values.nextcloud.host .Values.service.nodePort)) }}

+ 0 - 0
charts/nextcloud/1.6.55/templates/nextcloud-configmap.yaml → charts/nextcloud/1.6.56/templates/nextcloud-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/nginx-configmap.yaml → charts/nextcloud/1.6.56/templates/nginx-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/nginx-secret.yaml → charts/nextcloud/1.6.56/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/postgres-deployment.yaml → charts/nextcloud/1.6.56/templates/postgres-deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/postgres-secret.yaml → charts/nextcloud/1.6.56/templates/postgres-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/postgres-service.yaml → charts/nextcloud/1.6.56/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/secrets.yaml → charts/nextcloud/1.6.56/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/service.yaml → charts/nextcloud/1.6.56/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.6.55/templates/serviceaccount.yaml → charts/nextcloud/1.6.56/templates/serviceaccount.yaml


+ 0 - 0
charts/nextcloud/1.6.55/to_keep_versions.md → charts/nextcloud/1.6.56/to_keep_versions.md


+ 26 - 0
community/organizr/1.0.0/Chart.yaml

@@ -0,0 +1,26 @@
+name: organizr
+description: Organizr is a HTPC/Homelab Services Organizer - Written in PHP
+annotations:
+  title: Organizr
+type: application
+version: 1.0.0
+apiVersion: v2
+appVersion: latest
+kubeVersion: '>=1.16.0-0'
+maintainers:
+  - name: truenas
+    url: https://www.truenas.com/
+    email: dev@ixsystems.com
+dependencies:
+  - name: common
+    repository: file://../../../common
+    version: 1.2.8
+home: https://github.com/causefx/Organizr
+icon: https://media.sys.truenas.net/apps/organizr/icons/icon.png
+sources:
+  - https://hub.docker.com/r/organizr/organizr
+  - https://github.com/truenas/charts/tree/master/library/ix-dev/community/organizr
+  - https://github.com/causefx/Organizr
+keywords:
+  - organizr
+  - dashboard

+ 3 - 0
community/organizr/1.0.0/README.md

@@ -0,0 +1,3 @@
+# Organizr
+
+[Organizr](https://docs.organizr.app/) is a HTPC/Homelab Services Organizer - Written in PHP

+ 3 - 0
community/organizr/1.0.0/app-readme.md

@@ -0,0 +1,3 @@
+# Organizr
+
+[Organizr](https://docs.organizr.app/) is a HTPC/Homelab Services Organizer - Written in PHP

+ 7 - 0
community/organizr/1.0.0/ci/basic-values.yaml

@@ -0,0 +1,7 @@
+organizrID:
+  user: 568
+  group: 568
+
+organizrStorage:
+  config:
+    type: pvc

+ 8 - 0
community/organizr/1.0.0/ci/extra-values.yaml

@@ -0,0 +1,8 @@
+organizrStorage:
+  config:
+    type: pvc
+  additionalStorages:
+  - type: pvc
+    mountPath: /data1
+  - type: pvc
+    mountPath: /data2

+ 26 - 0
community/organizr/1.0.0/ix_values.yaml

@@ -0,0 +1,26 @@
+image:
+  repository: organizr/organizr
+  pullPolicy: IfNotPresent
+  tag: latest
+
+resources:
+  limits:
+    cpu: 4000m
+    memory: 8Gi
+
+organizrConfig:
+  additionalEnvs: []
+
+organizrNetwork:
+  webPort: 31013
+
+organizrID:
+  user: 568
+  group: 568
+
+organizrStorage:
+  config:
+    type: ixVolume
+    ixVolumeConfig:
+      datasetName: config
+  additionalStorages: []

+ 18 - 0
community/organizr/1.0.0/metadata.yaml

@@ -0,0 +1,18 @@
+runAsContext:
+  - userName: root
+    groupName: root
+    gid: 0
+    uid: 0
+    description: Organizr runs as root user.
+capabilities:
+  - name: CHOWN
+    description: Organizr is able to chown files.
+  - name: FOWNER
+    description: Organizr is able to bypass file ownership checks for it's sub-processes.
+  - name: DAC_OVERRIDE
+    description: Organizr is able to bypass file permission checks for it's sub-processes.
+  - name: SETGID
+    description: Organizr is able to switch group for sub-processes.
+  - name: SETUID
+    description: Organizr is able to switch user for sub-processes.
+hostMounts: []

+ 370 - 0
community/organizr/1.0.0/questions.yaml

@@ -0,0 +1,370 @@
+groups:
+  - name: Organizr Configuration
+    description: Configure Organizr
+  - name: User and Group Configuration
+    description: Configure User and Group for Organizr
+  - name: Network Configuration
+    description: Configure Network for Organizr
+  - name: Storage Configuration
+    description: Configure Storage for Organizr
+  - name: Resources Configuration
+    description: Configure Resources for Organizr
+
+portals:
+  web_portal:
+    protocols:
+      - "$kubernetes-resource_configmap_portal_protocol"
+    host:
+      - "$kubernetes-resource_configmap_portal_host"
+    ports:
+      - "$kubernetes-resource_configmap_portal_port"
+    path: "$kubernetes-resource_configmap_portal_path"
+
+questions:
+  - variable: TZ
+    group: Organizr Configuration
+    label: Timezone
+    schema:
+      type: string
+      default: Etc/UTC
+      required: true
+      $ref:
+        - definitions/timezone
+
+  - variable: organizrConfig
+    label: ""
+    group: Organizr Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: additionalEnvs
+          label: Additional Environment Variables
+          description: Configure additional environment variables for Organizr.
+          schema:
+            type: list
+            default: []
+            items:
+              - variable: env
+                label: Environment Variable
+                schema:
+                  type: dict
+                  attrs:
+                    - variable: name
+                      label: Name
+                      schema:
+                        type: string
+                        required: true
+                    - variable: value
+                      label: Value
+                      schema:
+                        type: string
+                        required: true
+
+  - variable: organizrNetwork
+    label: ""
+    group: Network Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: webPort
+          label: Web Port
+          description: The port for the Organizr Web UI.
+          schema:
+            type: int
+            default: 31013
+            min: 9000
+            max: 65535
+            required: true
+
+  - variable: organizrID
+    label: ""
+    group: User and Group Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: user
+          label: User ID
+          description: The user id that Organizr files will be owned by.
+          schema:
+            type: int
+            min: 568
+            default: 568
+            required: true
+        - variable: group
+          label: Group ID
+          description: The group id that Organizr files will be owned by.
+          schema:
+            type: int
+            min: 568
+            default: 568
+            required: true
+
+  - variable: organizrStorage
+    label: ""
+    group: Storage Configuration
+    schema:
+      type: dict
+      attrs:
+        - variable: config
+          label: Organizr Config Storage
+          description: The path to store Organizr Configuration.
+          schema:
+            type: dict
+            attrs:
+              - variable: type
+                label: Type
+                description: |
+                  ixVolume: Is dataset created automatically by the system.</br>
+                  Host Path: Is a path that already exists on the system.
+                schema:
+                  type: string
+                  required: true
+                  immutable: true
+                  default: "ixVolume"
+                  enum:
+                    - value: "hostPath"
+                      description: Host Path (Path that already exists on the system)
+                    - value: "ixVolume"
+                      description: ixVolume (Dataset created automatically by the system)
+              - variable: ixVolumeConfig
+                label: ixVolume Configuration
+                description: The configuration for the ixVolume dataset.
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "ixVolume"]]
+                  $ref:
+                    - "normalize/ixVolume"
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: datasetName
+                      label: Dataset Name
+                      description: The name of the dataset to use for storage.
+                      schema:
+                        type: string
+                        required: true
+                        immutable: true
+                        hidden: true
+                        default: "config"
+                    - variable: aclEntries
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+              - variable: hostPathConfig
+                label: Host Path Configuration
+                schema:
+                  type: dict
+                  show_if: [["type", "=", "hostPath"]]
+                  attrs:
+                    - variable: aclEnable
+                      label: Enable ACL
+                      description: Enable ACL for the dataset.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: acl
+                      label: ACL Configuration
+                      schema:
+                        type: dict
+                        show_if: [["aclEnable", "=", true]]
+                        attrs: []
+                        $ref:
+                          - "normalize/acl"
+                    - variable: hostPath
+                      label: Host Path
+                      description: The host path to use for storage.
+                      schema:
+                        type: hostpath
+                        show_if: [["aclEnable", "=", false]]
+                        required: true
+
+        - variable: additionalStorages
+          label: Additional Storage
+          description: Additional storage for Organizr.
+          schema:
+            type: list
+            default: []
+            items:
+              - variable: storageEntry
+                label: Storage Entry
+                schema:
+                  type: dict
+                  attrs:
+                    - variable: type
+                      label: Type
+                      description: |
+                        ixVolume: Is dataset created automatically by the system.</br>
+                        Host Path: Is a path that already exists on the system.</br>
+                        SMB Share: Is a SMB share that is mounted to a persistent volume claim.
+                      schema:
+                        type: string
+                        required: true
+                        default: "ixVolume"
+                        immutable: true
+                        enum:
+                          - value: "hostPath"
+                            description: Host Path (Path that already exists on the system)
+                          - value: "ixVolume"
+                            description: ixVolume (Dataset created automatically by the system)
+                          - value: "smb-pv-pvc"
+                            description: SMB Share (Mounts a persistent volume claim to a SMB share)
+                    - variable: readOnly
+                      label: Read Only
+                      description: Mount the volume as read only.
+                      schema:
+                        type: boolean
+                        default: false
+                    - variable: mountPath
+                      label: Mount Path
+                      description: The path inside the container to mount the storage.
+                      schema:
+                        type: path
+                        required: true
+                    - variable: hostPathConfig
+                      label: Host Path Configuration
+                      schema:
+                        type: dict
+                        show_if: [["type", "=", "hostPath"]]
+                        attrs:
+                          - variable: aclEnable
+                            label: Enable ACL
+                            description: Enable ACL for the dataset.
+                            schema:
+                              type: boolean
+                              default: false
+                          - variable: acl
+                            label: ACL Configuration
+                            schema:
+                              type: dict
+                              show_if: [["aclEnable", "=", true]]
+                              attrs: []
+                              $ref:
+                                - "normalize/acl"
+                          - variable: hostPath
+                            label: Host Path
+                            description: The host path to use for storage.
+                            schema:
+                              type: hostpath
+                              show_if: [["aclEnable", "=", false]]
+                              required: true
+                    - variable: ixVolumeConfig
+                      label: ixVolume Configuration
+                      description: The configuration for the ixVolume dataset.
+                      schema:
+                        type: dict
+                        show_if: [["type", "=", "ixVolume"]]
+                        $ref:
+                          - "normalize/ixVolume"
+                        attrs:
+                          - variable: aclEnable
+                            label: Enable ACL
+                            description: Enable ACL for the dataset.
+                            schema:
+                              type: boolean
+                              default: false
+                          - variable: datasetName
+                            label: Dataset Name
+                            description: The name of the dataset to use for storage.
+                            schema:
+                              type: string
+                              required: true
+                              immutable: true
+                              default: "storage_entry"
+                          - variable: aclEntries
+                            label: ACL Configuration
+                            schema:
+                              type: dict
+                              show_if: [["aclEnable", "=", true]]
+                              attrs: []
+                    - variable: smbConfig
+                      label: SMB Share Configuration
+                      description: The configuration for the SMB Share.
+                      schema:
+                        type: dict
+                        show_if: [["type", "=", "smb-pv-pvc"]]
+                        attrs:
+                          - variable: server
+                            label: Server
+                            description: The server for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                          - variable: share
+                            label: Share
+                            description: The share name for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                          - variable: domain
+                            label: Domain (Optional)
+                            description: The domain for the SMB share.
+                            schema:
+                              type: string
+                          - variable: username
+                            label: Username
+                            description: The username for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                          - variable: password
+                            label: Password
+                            description: The password for the SMB share.
+                            schema:
+                              type: string
+                              required: true
+                              private: true
+                          - variable: size
+                            label: Size (in Gi)
+                            description: The size of the volume quota.
+                            schema:
+                              type: int
+                              required: true
+                              min: 1
+                              default: 1
+
+  - variable: resources
+    group: Resources Configuration
+    label: ""
+    schema:
+      type: dict
+      attrs:
+        - variable: limits
+          label: Limits
+          schema:
+            type: dict
+            attrs:
+              - variable: cpu
+                label: CPU
+                description: CPU limit for Organizr.
+                schema:
+                  type: string
+                  max_length: 6
+                  valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
+                  valid_chars_error: |
+                    Valid CPU limit formats are</br>
+                    - Plain Integer - eg. 1</br>
+                    - Float - eg. 0.5</br>
+                    - Milicpu - eg. 500m
+                  default: "4000m"
+                  required: true
+              - variable: memory
+                label: Memory
+                description: Memory limit for Organizr.
+                schema:
+                  type: string
+                  max_length: 12
+                  valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
+                  valid_chars_error: |
+                    Valid Memory limit formats are</br>
+                    - Suffixed with E/P/T/G/M/K - eg. 1G</br>
+                    - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
+                    - Plain Integer in bytes - eg. 1024</br>
+                    - Exponent - eg. 134e6
+                  default: "8Gi"
+                  required: true

+ 1 - 0
community/organizr/1.0.0/templates/NOTES.txt

@@ -0,0 +1 @@
+{{ include "ix.v1.common.lib.chart.notes" $ }}

+ 53 - 0
community/organizr/1.0.0/templates/_organizr.tpl

@@ -0,0 +1,53 @@
+{{- define "organizr.workload" -}}
+workload:
+  organizr:
+    enabled: true
+    primary: true
+    type: Deployment
+    podSpec:
+      hostNetwork: false
+      securityContext:
+        fsGroup: {{ .Values.organizrID.group }}
+      containers:
+        organizr:
+          enabled: true
+          primary: true
+          imageSelector: image
+          securityContext:
+            runAsUser: 0
+            runAsGroup: 0
+            runAsNonRoot: false
+            readOnlyRootFilesystem: false
+            capabilities:
+              add:
+                - CHOWN
+                - FOWNER
+                - DAC_OVERRIDE
+                - SETGID
+                - SETUID
+          fixedEnv:
+            PUID: {{ .Values.organizrID.user }}
+          {{ with .Values.organizrConfig.additionalEnvs }}
+          envList:
+            {{ range $env := . }}
+            - name: {{ $env.name }}
+              value: {{ $env.value }}
+            {{ end }}
+          {{ end }}
+          probes:
+            liveness:
+              enabled: true
+              type: http
+              port: 80
+              path: /api/v2/ping
+            readiness:
+              enabled: true
+              type: http
+              port: 80
+              path: /api/v2/ping
+            startup:
+              enabled: true
+              type: http
+              port: 80
+              path: /api/v2/ping
+{{- end -}}

+ 26 - 0
community/organizr/1.0.0/templates/_persistence.tpl

@@ -0,0 +1,26 @@
+{{- define "organizr.persistence" -}}
+persistence:
+  config:
+    enabled: true
+    {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.organizrStorage.config) | nindent 4 }}
+    targetSelector:
+      organizr:
+        organizr:
+          mountPath: /config
+  varrun:
+    enabled: true
+    type: emptyDir
+    targetSelector:
+      organizr:
+        organizr:
+          mountPath: /var/run
+  {{- range $idx, $storage := .Values.organizrStorage.additionalStorages }}
+  {{ printf "organizr-%v:" (int $idx) }}
+    enabled: true
+    {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
+    targetSelector:
+      organizr:
+        organizr:
+          mountPath: {{ $storage.mountPath }}
+  {{- end }}
+{{- end -}}

+ 12 - 0
community/organizr/1.0.0/templates/_portal.tpl

@@ -0,0 +1,12 @@
+{{- define "organizr.portal" -}}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: portal
+data:
+  path: "/"
+  port: {{ .Values.organizrNetwork.webPort | quote }}
+  protocol: http
+  host: $node_ip
+{{- end -}}

+ 16 - 0
community/organizr/1.0.0/templates/_service.tpl

@@ -0,0 +1,16 @@
+{{- define "organizr.service" -}}
+service:
+  organizr:
+    enabled: true
+    primary: true
+    type: NodePort
+    targetSelector: organizr
+    ports:
+      webui:
+        enabled: true
+        primary: true
+        port: {{ .Values.organizrNetwork.webPort }}
+        nodePort: {{ .Values.organizrNetwork.webPort }}
+        targetPort: 80
+        targetSelector: organizr
+{{- end -}}

+ 11 - 0
community/organizr/1.0.0/templates/common.yaml

@@ -0,0 +1,11 @@
+{{- include "ix.v1.common.loader.init" . -}}
+
+{{/* Merge the templates with Values */}}
+{{- $_ := mustMergeOverwrite .Values (include "organizr.workload" $ | fromYaml) -}}
+{{- $_ := mustMergeOverwrite .Values (include "organizr.service" $ | fromYaml) -}}
+{{- $_ := mustMergeOverwrite .Values (include "organizr.persistence" $ | fromYaml) -}}
+
+{{/* Create the configmap for portal manually*/}}
+{{- include "organizr.portal" $ -}}
+
+{{- include "ix.v1.common.loader.apply" . -}}

+ 31 - 0
community/organizr/1.0.0/upgrade_strategy_disabled

@@ -0,0 +1,31 @@
+#!/usr/bin/python3
+import json
+import re
+import sys
+
+from catalog_update.upgrade_strategy import semantic_versioning
+
+
+RE_STABLE_VERSION = re.compile(r'v\d+\.\d+\.\d+(-beta-\d+)?')
+
+
+def newer_mapping(image_tags):
+    key = list(image_tags.keys())[0]
+    tags = {t.strip('v').split('-')[0]: t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
+    version = semantic_versioning(list(tags))
+    if not version:
+        return {}
+
+    return {
+        'tags': {key: tags[version]},
+        'app_version': version,
+    }
+
+
+if __name__ == '__main__':
+    try:
+        versions_json = json.loads(sys.stdin.read())
+    except ValueError:
+        raise ValueError('Invalid json specified')
+
+    print(json.dumps(newer_mapping(versions_json)))

+ 9 - 0
community/organizr/item.yaml

@@ -0,0 +1,9 @@
+icon_url: https://media.sys.truenas.net/apps/organizr/icons/icon.png
+categories:
+  - media
+screenshots:
+  - https://media.sys.truenas.net/apps/organizr/screenshots/screenshot1.webp
+  - https://media.sys.truenas.net/apps/organizr/screenshots/screenshot2.webp
+tags:
+  - dashboard
+  - organizr