Jelajahi Sumber

Publish new changes in catalog

sonicaj 1 tahun lalu
induk
melakukan
332ed555cb

+ 0 - 6
charts/collabora/1.2.14/templates/nginx-service.yaml

@@ -1,6 +0,0 @@
-{{ $port := .Values.nodePort }}
-{{ $ports := list }}
-{{ $ports = mustAppend $ports (dict "name" "https" "nodePort" $port "targetPort" 443 "port" 443) }}
-{{ $params := (. | mustDeepCopy) }}
-{{ $_ := set $params "commonService" (dict "ports" $ports "type" "NodePort" ) }}
-{{ include "common.classes.service" $params }}

+ 0 - 26
charts/collabora/1.2.14/upgrade_strategy_disabled

@@ -1,26 +0,0 @@
-#!/usr/bin/python3
-import json
-import sys
-
-from catalog_update.upgrade_strategy import semantic_versioning
-
-
-def newer_mapping(image_tags):
-    key = list(image_tags.keys())[0]
-    version = semantic_versioning(sorted(image_tags[key], reverse=True))
-    if not version:
-        return {}
-
-    return {
-        'tags': {key: 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)))

+ 0 - 0
charts/collabora/1.2.14/.helmignore → charts/collabora/1.2.15/.helmignore


+ 0 - 0
charts/collabora/1.2.14/Chart.lock → charts/collabora/1.2.15/Chart.lock


+ 1 - 1
charts/collabora/1.2.14/Chart.yaml → charts/collabora/1.2.15/Chart.yaml

@@ -5,7 +5,7 @@ description: |
 annotations:
   title: Collabora
 type: application
-version: 1.2.14
+version: 1.2.15
 apiVersion: v2
 appVersion: '21.11.4.1.1'
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/collabora/1.2.14/README.md → charts/collabora/1.2.15/README.md


+ 0 - 0
charts/collabora/1.2.14/app-readme.md → charts/collabora/1.2.15/app-readme.md


+ 0 - 0
charts/collabora/1.2.14/charts/common-2304.0.1.tgz → charts/collabora/1.2.15/charts/common-2304.0.1.tgz


+ 26 - 0
charts/collabora/1.2.15/ci/http-values.yaml

@@ -0,0 +1,26 @@
+nodePort: 31980
+config:
+  DONT_GEN_SSL_CERT: 'true'
+  dictionaries: de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru
+  domain: nextcloud\.domain\.tld|othernextcloud\.domain\.tld
+  extra_params: --o:welcome.enable=false --o:user_interface.mode=notebookbar --o:ssl.termination=true
+    --o:ssl.enable=false --o:net.proto=IPv4 --o:net.post_allow.host[0]=.+ --o:storage.wopi.host[0]=.+
+  password: changeme
+  server_name: ssh.sonicaj.com:49980
+  timezone: Asia/Karachi
+  username: admin
+ixChartContext:
+  isInstall: false
+  isUpdate: true
+  isUpgrade: false
+  operation: UPDATE
+  storageClassName: ix-storage-class-col
+  upgradeMetadata: {}
+ixExternalInterfacesConfiguration: []
+ixExternalInterfacesConfigurationNames: []
+ixVolumes: []
+environmentVariables: []
+extraAppVolumeMounts: []
+ixCertificateAuthorities: {}
+ixCertificates: {}
+certificate:

+ 0 - 0
charts/collabora/1.2.14/ci/test-values.yaml → charts/collabora/1.2.15/ci/https-values.yaml


+ 0 - 0
charts/collabora/1.2.14/ix_values.yaml → charts/collabora/1.2.15/ix_values.yaml


+ 0 - 0
charts/collabora/1.2.14/metadata.yaml → charts/collabora/1.2.15/metadata.yaml


+ 5 - 2
charts/collabora/1.2.14/questions.yaml → charts/collabora/1.2.15/questions.yaml

@@ -71,14 +71,17 @@ questions:
               - "definitions/nodeIP"
 
   - variable: certificate
-    description: "Collabora Certificate"
+    description: |
+      Collabora Certificate</br>
+      If you do not choose a certificate and do not configure an external reverse proxy</br>
+      you might have to adjust the extra_params.
     label: "Certificate"
     group: "Collabora Configuration"
     schema:
       type: int
       $ref:
         - "definitions/certificate"
-      "null": false
+      "null": true
 
   - variable: extraAppVolumeMounts
     label: "Collabora Extra Host Path Volumes"

+ 0 - 0
charts/collabora/1.2.14/templates/_helpers.tpl → charts/collabora/1.2.15/templates/_helpers.tpl


+ 4 - 0
charts/collabora/1.2.14/templates/deployment.yaml → charts/collabora/1.2.15/templates/deployment.yaml

@@ -15,6 +15,7 @@ spec:
       labels: {{ include "common.labels.selectorLabels" . | nindent 8 }}
     spec:
       containers:
+        {{ if .Values.certificate }}
         - name: {{ .Chart.Name }}-nginx
           image: {{ printf "%s:%s" .Values.nginx.image.repository .Values.nginx.image.tag }}
           imagePullPolicy: {{ .Values.nginx.image.pullPolicy }}
@@ -66,6 +67,7 @@ spec:
             timeoutSeconds: 2
             failureThreshold: 60
             successThreshold: 1
+        {{ end }}
         - name: {{ .Chart.Name }}
           {{ include "common.resources.limitation" . | nindent 10 }}
           {{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
@@ -120,6 +122,7 @@ spec:
           {{ $envList = mustAppend $envList (dict "name" "password" "valueFromSecret" true "secretName" $secretName "secretKey" "password") }}
           {{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10 }}
       volumes:
+        {{ if .Values.certificate }}
         - name: configuration
           configMap:
             defaultMode: 0700
@@ -127,6 +130,7 @@ spec:
         - name: certs
           secret:
             secretName: {{ include "secretName" . }}
+        {{ end }}
       {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
         - name: extrappvolume-{{ $index }}
           hostPath:

+ 2 - 0
charts/collabora/1.2.14/templates/nginx-conf.yaml → charts/collabora/1.2.15/templates/nginx-conf.yaml

@@ -1,3 +1,4 @@
+{{ if .Values.certificate }}
 {{- $serviceName := "localhost" -}}
 apiVersion: v1
 kind: ConfigMap
@@ -120,3 +121,4 @@ data:
         }
 
     }
+{{ end }}

+ 5 - 3
charts/collabora/1.2.14/templates/secrets.yaml → charts/collabora/1.2.15/templates/secrets.yaml

@@ -7,9 +7,11 @@ type: Opaque
 data:
   username: {{ .Values.config.username | b64enc | quote }}
   password: {{ .Values.config.password | b64enc | quote }}
-  {{ if eq (include "certAvailable" .) "true" }}
+  {{ if .Values.certificate }}
+    {{ if eq (include "certAvailable" .) "true" }}
   certPublicKey: {{ (include "cert.publicKey" .) | toString | b64enc | quote }}
   certPrivateKey: {{ (include "cert.privateKey" .) | toString | b64enc | quote }}
-  {{ else }}
-    {{ fail "No certificate configured for Collabora" }}
+    {{ else }}
+      {{ fail "No certificate configured for Collabora" }}
+    {{ end }}
   {{ end }}

+ 10 - 0
charts/collabora/1.2.15/templates/service.yaml

@@ -0,0 +1,10 @@
+{{ $port := .Values.nodePort }}
+{{ $ports := list }}
+{{ if .Values.certificate }}
+  {{ $ports = mustAppend $ports (dict "name" "https" "nodePort" $port "targetPort" 443 "port" 443) }}
+{{ else }}
+  {{ $ports = mustAppend $ports (dict "name" "http" "nodePort" $port "targetPort" 9980 "port" 9980) }}
+{{ end }}
+{{ $params := (. | mustDeepCopy) }}
+{{ $_ := set $params "commonService" (dict "ports" $ports "type" "NodePort" ) }}
+{{ include "common.classes.service" $params }}