소스 검색

Publish new changes in catalog

sonicaj 1 년 전
부모
커밋
7ff2e390c2

+ 0 - 0
community/planka/1.0.5/Chart.lock → community/planka/1.0.6/Chart.lock


+ 1 - 1
community/planka/1.0.5/Chart.yaml → community/planka/1.0.6/Chart.yaml

@@ -3,7 +3,7 @@ description: Planka is an Elegant open source project tracking
 annotations:
   title: Planka
 type: application
-version: 1.0.5
+version: 1.0.6
 apiVersion: v2
 appVersion: 1.14.2
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
community/planka/1.0.5/README.md → community/planka/1.0.6/README.md


+ 0 - 0
community/planka/1.0.5/app-readme.md → community/planka/1.0.6/app-readme.md


+ 0 - 0
community/planka/1.0.5/charts/common-1.1.1.tgz → community/planka/1.0.6/charts/common-1.1.1.tgz


+ 4 - 0
community/planka/1.0.5/ci/basic-values.yaml → community/planka/1.0.6/ci/basic-values.yaml

@@ -2,6 +2,10 @@ plankaNetwork:
   webPort: 31000
 
 plankaConfig:
+  defaultAdminEmail: admin@example.com
+  defaultAdminName: John Doe
+  defaultAdminPassword: password
+  defaultAdminUsername: admin
   baseURL: http://localhost:31000
 
 plankaStorage:

+ 0 - 0
community/planka/1.0.5/ci/extra-values.yaml → community/planka/1.0.6/ci/extra-values.yaml


+ 0 - 0
community/planka/1.0.5/ci/hostNet-values.yaml → community/planka/1.0.6/ci/hostNet-values.yaml


+ 4 - 4
community/planka/1.0.5/ix_values.yaml → community/planka/1.0.6/ix_values.yaml

@@ -9,6 +9,10 @@ resources:
     memory: 8Gi
 
 plankaConfig:
+  defaultAdminEmail: ''
+  defaultAdminName: ''
+  defaultAdminPassword: ''
+  defaultAdminUsername: ''
   trustProxy: false
   baseURL: http://localhost:30062
   additionalEnvs: []
@@ -37,10 +41,6 @@ plankaStorage:
 
 notes:
   custom: |
-    Default credentials:
-      - Username: `demo@demo.demo`
-      - Password: `demo`
-
     ## Database
     You can connect to the database using the pgAdmin App from the catalog
 

+ 0 - 0
community/planka/1.0.5/metadata.yaml → community/planka/1.0.6/metadata.yaml


+ 30 - 0
community/planka/1.0.5/questions.yaml → community/planka/1.0.6/questions.yaml

@@ -25,6 +25,36 @@ questions:
     schema:
       type: dict
       attrs:
+        - variable: defaultAdminEmail
+          label: Default Admin Email
+          description: The default admin email for Planka.
+          schema:
+            type: string
+            default: ""
+        - variable: defaultAdminName
+          label: Default Admin Name
+          description: The default admin name for Planka.
+          schema:
+            type: string
+            default: ""
+            show_if: [["defaultAdminEmail", "!=", ""]]
+            required: true
+        - variable: defaultAdminPassword
+          label: Default Admin Password
+          description: The default admin password for Planka.
+          schema:
+            type: string
+            default: ""
+            show_if: [["defaultAdminEmail", "!=", ""]]
+            required: true
+        - variable: defaultAdminUsername
+          label: Default Admin Username
+          description: The default admin username for Planka.
+          schema:
+            type: string
+            default: ""
+            show_if: [["defaultAdminEmail", "!=", ""]]
+            required: true
         - variable: baseURL
           label: BaseURL
           description: |

+ 0 - 0
community/planka/1.0.5/templates/NOTES.txt → community/planka/1.0.6/templates/NOTES.txt


+ 6 - 0
community/planka/1.0.5/templates/_configuration.tpl → community/planka/1.0.6/templates/_configuration.tpl

@@ -27,6 +27,12 @@ secret:
     data:
       SECRET_KEY: {{ $secretKey }}
       DATABASE_URL: {{ printf "postgresql://%s" $dbURL }}
+      {{- if .Values.plankaConfig.defaultAdminEmail }}
+      DEFAULT_ADMIN_EMAIL: {{ .Values.plankaConfig.defaultAdminEmail }}
+      DEFAULT_ADMIN_PASSWORD: {{ .Values.plankaConfig.defaultAdminPassword }}
+      DEFAULT_ADMIN_NAME: {{ .Values.plankaConfig.defaultAdminName }}
+      DEFAULT_ADMIN_USERNAME: {{ .Values.plankaConfig.defaultAdminUsername }}
+      {{- end }}
 
   postgres-creds:
     enabled: true

+ 0 - 0
community/planka/1.0.5/templates/_persistence.tpl → community/planka/1.0.6/templates/_persistence.tpl


+ 0 - 0
community/planka/1.0.5/templates/_planka.tpl → community/planka/1.0.6/templates/_planka.tpl


+ 0 - 0
community/planka/1.0.5/templates/_portal.tpl → community/planka/1.0.6/templates/_portal.tpl


+ 0 - 0
community/planka/1.0.5/templates/_postgres.tpl → community/planka/1.0.6/templates/_postgres.tpl


+ 0 - 0
community/planka/1.0.5/templates/_service.tpl → community/planka/1.0.6/templates/_service.tpl


+ 0 - 0
community/planka/1.0.5/templates/common.yaml → community/planka/1.0.6/templates/common.yaml