浏览代码

Publish new changes in catalog

sonicaj 2 年之前
父节点
当前提交
ccb52ffe54
共有 30 个文件被更改,包括 44 次插入26 次删除
  1. 0 3
      charts/nextcloud/1.6.40/templates/NOTES.txt
  2. 0 22
      charts/nextcloud/1.6.40/templates/postgres-secret.yaml
  3. 0 0
      charts/nextcloud/1.6.41/.helmignore
  4. 0 0
      charts/nextcloud/1.6.41/Chart.lock
  5. 1 1
      charts/nextcloud/1.6.41/Chart.yaml
  6. 0 0
      charts/nextcloud/1.6.41/README.md
  7. 0 0
      charts/nextcloud/1.6.41/app-readme.md
  8. 0 0
      charts/nextcloud/1.6.41/charts/common-2304.0.1.tgz
  9. 0 0
      charts/nextcloud/1.6.41/ci/test-values.yaml
  10. 0 0
      charts/nextcloud/1.6.41/ix_values.yaml
  11. 0 0
      charts/nextcloud/1.6.41/metadata.yaml
  12. 0 0
      charts/nextcloud/1.6.41/migrations/migrate_from_1.1.0
  13. 0 0
      charts/nextcloud/1.6.41/questions.yaml
  14. 16 0
      charts/nextcloud/1.6.41/templates/NOTES.txt
  15. 0 0
      charts/nextcloud/1.6.41/templates/_nginx.tpl
  16. 0 0
      charts/nextcloud/1.6.41/templates/_postgres.tpl
  17. 0 0
      charts/nextcloud/1.6.41/templates/backup-postgres-config.yaml
  18. 0 0
      charts/nextcloud/1.6.41/templates/backup-postgres-hook.yaml
  19. 0 0
      charts/nextcloud/1.6.41/templates/cronjob.yaml
  20. 1 0
      charts/nextcloud/1.6.41/templates/deployment.yaml
  21. 0 0
      charts/nextcloud/1.6.41/templates/nextcloud-configmap.yaml
  22. 0 0
      charts/nextcloud/1.6.41/templates/nginx-configmap.yaml
  23. 0 0
      charts/nextcloud/1.6.41/templates/nginx-secret.yaml
  24. 0 0
      charts/nextcloud/1.6.41/templates/nuke-deployments-hook.yaml
  25. 0 0
      charts/nextcloud/1.6.41/templates/postgres-deployment.yaml
  26. 26 0
      charts/nextcloud/1.6.41/templates/postgres-secret.yaml
  27. 0 0
      charts/nextcloud/1.6.41/templates/postgres-service.yaml
  28. 0 0
      charts/nextcloud/1.6.41/templates/secrets.yaml
  29. 0 0
      charts/nextcloud/1.6.41/templates/service.yaml
  30. 0 0
      charts/nextcloud/1.6.41/templates/serviceaccount.yaml

+ 0 - 3
charts/nextcloud/1.6.40/templates/NOTES.txt

@@ -1,3 +0,0 @@
-1. Get the nextcloud URL by running:
-
-  echo http://{{ .Values.nextcloud.host }}:{{ .Values.service.nodePort }}/

+ 0 - 22
charts/nextcloud/1.6.40/templates/postgres-secret.yaml

@@ -1,22 +0,0 @@
-{{- $secretName := "db-details" }}
-apiVersion: v1
-kind: Secret
-metadata:
-  name: {{ $secretName }}
-data:
-  {{/*
-  Lookup for the user shouldn't be needed in normal circumstances
-  But there was a typo before that resulted to a db-user with weird
-  characters. So to keep that user for existing installations we retrieve
-  it from the existing secret.
-  */}}
-  {{ with (lookup "v1" "Secret" .Release.Namespace $secretName)}}
-  db-user: {{ index .data "db-user" }}
-  {{ else }}
-  db-user: {{ (include "postgres.DatabaseName" .Values ) | b64enc }}
-  {{ end }}
-  {{ with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
-  db-password: {{ index .data "db-password" }}
-  {{ else }}
-  db-password: {{ randAlphaNum 15 | b64enc }}
-  {{ end }}

+ 0 - 0
charts/nextcloud/1.6.40/.helmignore → charts/nextcloud/1.6.41/.helmignore


+ 0 - 0
charts/nextcloud/1.6.40/Chart.lock → charts/nextcloud/1.6.41/Chart.lock


+ 1 - 1
charts/nextcloud/1.6.40/Chart.yaml → charts/nextcloud/1.6.41/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.40
+version: 1.6.41
 apiVersion: v2
 appVersion: 27.0.2
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/nextcloud/1.6.40/README.md → charts/nextcloud/1.6.41/README.md


+ 0 - 0
charts/nextcloud/1.6.40/app-readme.md → charts/nextcloud/1.6.41/app-readme.md


+ 0 - 0
charts/nextcloud/1.6.40/charts/common-2304.0.1.tgz → charts/nextcloud/1.6.41/charts/common-2304.0.1.tgz


+ 0 - 0
charts/nextcloud/1.6.40/ci/test-values.yaml → charts/nextcloud/1.6.41/ci/test-values.yaml


+ 0 - 0
charts/nextcloud/1.6.40/ix_values.yaml → charts/nextcloud/1.6.41/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.6.40/metadata.yaml → charts/nextcloud/1.6.41/metadata.yaml


+ 0 - 0
charts/nextcloud/1.6.40/migrations/migrate_from_1.1.0 → charts/nextcloud/1.6.41/migrations/migrate_from_1.1.0


+ 0 - 0
charts/nextcloud/1.6.40/questions.yaml → charts/nextcloud/1.6.41/questions.yaml


+ 16 - 0
charts/nextcloud/1.6.41/templates/NOTES.txt

@@ -0,0 +1,16 @@
+## Database
+You can connect to the database using the pgAdmin App from the catalog
+
+<details>
+  <summary>Database Details</summary>
+
+  - Database: `nextcloud`
+  - Username: `{{ .Values.nextcloudDbUser | b64dec }}`
+  - Password: `{{ .Values.nextcloudDbPass | b64dec }}`
+  - Host:     `{{ .Values.nextcloudDbHost }}.{{ .Release.Namespace }}.svc.cluster.local`
+  - Port:     `5432`
+
+</details>
+{{- $_ := unset .Values "nextcloudDbUser" }}
+{{- $_ := unset .Values "nextcloudDbPass" }}
+{{- $_ := unset .Values "nextcloudDbHost" }}

+ 0 - 0
charts/nextcloud/1.6.40/templates/_nginx.tpl → charts/nextcloud/1.6.41/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.6.40/templates/_postgres.tpl → charts/nextcloud/1.6.41/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.6.40/templates/backup-postgres-config.yaml → charts/nextcloud/1.6.41/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/backup-postgres-hook.yaml → charts/nextcloud/1.6.41/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/cronjob.yaml → charts/nextcloud/1.6.41/templates/cronjob.yaml


+ 1 - 0
charts/nextcloud/1.6.40/templates/deployment.yaml → charts/nextcloud/1.6.41/templates/deployment.yaml

@@ -74,6 +74,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
         env: {{ include "postgres.envVariableConfiguration" $postgres_values | nindent 10 }}
         {{ $secretName := (include "common.names.fullname" .) }}
         {{ $envList := (default list .Values.environmentVariables) }}
+        {{- $_ := set .Values "nextcloudDbHost" (include "common.names.fullname" $postgres_values) -}} {{/* Temprary store it on values to display it on NOTES */}}
         {{ $envList = mustAppend $envList (dict "name" "POSTGRES_HOST" "value" (printf "%s:5432" (include "common.names.fullname" $postgres_values))) }}
         {{ $envList = mustAppend $envList (dict "name" "POSTGRES_DB" "value" (include "postgres.DatabaseName" .)) }}
         {{ $envList = mustAppend $envList (dict "name" "NEXTCLOUD_DATA_DIR" "value" .Values.nextcloud.datadir) }}

+ 0 - 0
charts/nextcloud/1.6.40/templates/nextcloud-configmap.yaml → charts/nextcloud/1.6.41/templates/nextcloud-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/nginx-configmap.yaml → charts/nextcloud/1.6.41/templates/nginx-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/nginx-secret.yaml → charts/nextcloud/1.6.41/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/nuke-deployments-hook.yaml → charts/nextcloud/1.6.41/templates/nuke-deployments-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/postgres-deployment.yaml → charts/nextcloud/1.6.41/templates/postgres-deployment.yaml


+ 26 - 0
charts/nextcloud/1.6.41/templates/postgres-secret.yaml

@@ -0,0 +1,26 @@
+{{- $secretName := "db-details" }}
+apiVersion: v1
+kind: Secret
+metadata:
+  name: {{ $secretName }}
+data:
+  {{/*
+  Lookup for the user shouldn't be needed in normal circumstances
+  But there was a typo before that resulted to a db-user with weird
+  characters. So to keep that user for existing installations we retrieve
+  it from the existing secret.
+  */}}
+  {{/* Init values */}}
+  {{- $dbUser := ((include "postgres.DatabaseName" .Values) | b64enc) -}}
+  {{- $dbPass := (randAlphaNum 15 | b64enc) -}}
+  {{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
+    {{/* If there is a previous secret, use that */}}
+    {{- $dbUser = (index .data "db-user") -}}
+    {{- $dbPass = (index .data "db-password") -}}
+  {{- end }}
+  db-user: {{ $dbUser }}
+  db-password: {{ $dbPass }}
+
+{{/* Temprary store them on values to display it on NOTES */}}
+{{ $_ := set .Values "nextcloudDbPass" $dbPass }}
+{{ $_ := set .Values "nextcloudDbUser" $dbUser }}

+ 0 - 0
charts/nextcloud/1.6.40/templates/postgres-service.yaml → charts/nextcloud/1.6.41/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/secrets.yaml → charts/nextcloud/1.6.41/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/service.yaml → charts/nextcloud/1.6.41/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.6.40/templates/serviceaccount.yaml → charts/nextcloud/1.6.41/templates/serviceaccount.yaml