Skip to content

Commit a2f1349

Browse files
j-zimnowodamerllElderMatt
authored
fix: unique admin password for gitea (#1910)
Co-authored-by: Matthias Erll <[email protected]> Co-authored-by: ElderMatt <[email protected]>
1 parent c14731d commit a2f1349

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/values.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const getRepo = (values: Record<string, any>): Repo => {
8383
branch = otomiApiGit?.branch ?? branch
8484
} else {
8585
username = 'otomi-admin'
86-
password = values?.apps?.gitea?.adminPassword ?? values?.otomi?.adminPassword
86+
password = values?.apps?.gitea?.adminPassword
8787
8888
const giteaUrl = `gitea-http.gitea.svc.cluster.local:3000`
8989
const giteaOrg = 'otomi'

values-schema.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@ properties:
18251825
$ref: '#/definitions/rawValues'
18261826
adminPassword:
18271827
type: string
1828-
x-secret: ''
1828+
x-secret: '{{ randAlphaNum 20 }}'
18291829
postgresqlPassword:
18301830
type: string
18311831
description: This password was generated and cannot be changed without manual intervention.

0 commit comments

Comments
 (0)