diff --git a/community/planka/1.0.5/Chart.lock b/community/planka/1.0.6/Chart.lock similarity index 100% rename from community/planka/1.0.5/Chart.lock rename to community/planka/1.0.6/Chart.lock diff --git a/community/planka/1.0.5/Chart.yaml b/community/planka/1.0.6/Chart.yaml similarity index 97% rename from community/planka/1.0.5/Chart.yaml rename to community/planka/1.0.6/Chart.yaml index 45bc08fe70..6ebc7e759b 100644 --- a/community/planka/1.0.5/Chart.yaml +++ b/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' diff --git a/community/planka/1.0.5/README.md b/community/planka/1.0.6/README.md similarity index 100% rename from community/planka/1.0.5/README.md rename to community/planka/1.0.6/README.md diff --git a/community/planka/1.0.5/app-readme.md b/community/planka/1.0.6/app-readme.md similarity index 100% rename from community/planka/1.0.5/app-readme.md rename to community/planka/1.0.6/app-readme.md diff --git a/community/planka/1.0.5/charts/common-1.1.1.tgz b/community/planka/1.0.6/charts/common-1.1.1.tgz similarity index 100% rename from community/planka/1.0.5/charts/common-1.1.1.tgz rename to community/planka/1.0.6/charts/common-1.1.1.tgz diff --git a/community/planka/1.0.5/ci/basic-values.yaml b/community/planka/1.0.6/ci/basic-values.yaml similarity index 79% rename from community/planka/1.0.5/ci/basic-values.yaml rename to community/planka/1.0.6/ci/basic-values.yaml index 8b46e21b02..eb3722fedf 100644 --- a/community/planka/1.0.5/ci/basic-values.yaml +++ b/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: diff --git a/community/planka/1.0.5/ci/extra-values.yaml b/community/planka/1.0.6/ci/extra-values.yaml similarity index 100% rename from community/planka/1.0.5/ci/extra-values.yaml rename to community/planka/1.0.6/ci/extra-values.yaml diff --git a/community/planka/1.0.5/ci/hostNet-values.yaml b/community/planka/1.0.6/ci/hostNet-values.yaml similarity index 100% rename from community/planka/1.0.5/ci/hostNet-values.yaml rename to community/planka/1.0.6/ci/hostNet-values.yaml diff --git a/community/planka/1.0.5/ix_values.yaml b/community/planka/1.0.6/ix_values.yaml similarity index 91% rename from community/planka/1.0.5/ix_values.yaml rename to community/planka/1.0.6/ix_values.yaml index 828def9ada..a5d56db7b0 100644 --- a/community/planka/1.0.5/ix_values.yaml +++ b/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 diff --git a/community/planka/1.0.5/metadata.yaml b/community/planka/1.0.6/metadata.yaml similarity index 100% rename from community/planka/1.0.5/metadata.yaml rename to community/planka/1.0.6/metadata.yaml diff --git a/community/planka/1.0.5/questions.yaml b/community/planka/1.0.6/questions.yaml similarity index 92% rename from community/planka/1.0.5/questions.yaml rename to community/planka/1.0.6/questions.yaml index f21bb366d0..2b10f634fb 100644 --- a/community/planka/1.0.5/questions.yaml +++ b/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: | diff --git a/community/planka/1.0.5/templates/NOTES.txt b/community/planka/1.0.6/templates/NOTES.txt similarity index 100% rename from community/planka/1.0.5/templates/NOTES.txt rename to community/planka/1.0.6/templates/NOTES.txt diff --git a/community/planka/1.0.5/templates/_configuration.tpl b/community/planka/1.0.6/templates/_configuration.tpl similarity index 82% rename from community/planka/1.0.5/templates/_configuration.tpl rename to community/planka/1.0.6/templates/_configuration.tpl index ceec088d6f..71873379e0 100644 --- a/community/planka/1.0.5/templates/_configuration.tpl +++ b/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 diff --git a/community/planka/1.0.5/templates/_persistence.tpl b/community/planka/1.0.6/templates/_persistence.tpl similarity index 100% rename from community/planka/1.0.5/templates/_persistence.tpl rename to community/planka/1.0.6/templates/_persistence.tpl diff --git a/community/planka/1.0.5/templates/_planka.tpl b/community/planka/1.0.6/templates/_planka.tpl similarity index 100% rename from community/planka/1.0.5/templates/_planka.tpl rename to community/planka/1.0.6/templates/_planka.tpl diff --git a/community/planka/1.0.5/templates/_portal.tpl b/community/planka/1.0.6/templates/_portal.tpl similarity index 100% rename from community/planka/1.0.5/templates/_portal.tpl rename to community/planka/1.0.6/templates/_portal.tpl diff --git a/community/planka/1.0.5/templates/_postgres.tpl b/community/planka/1.0.6/templates/_postgres.tpl similarity index 100% rename from community/planka/1.0.5/templates/_postgres.tpl rename to community/planka/1.0.6/templates/_postgres.tpl diff --git a/community/planka/1.0.5/templates/_service.tpl b/community/planka/1.0.6/templates/_service.tpl similarity index 100% rename from community/planka/1.0.5/templates/_service.tpl rename to community/planka/1.0.6/templates/_service.tpl diff --git a/community/planka/1.0.5/templates/common.yaml b/community/planka/1.0.6/templates/common.yaml similarity index 100% rename from community/planka/1.0.5/templates/common.yaml rename to community/planka/1.0.6/templates/common.yaml