Skip to content

Commit 7d8bf90

Browse files
authored
revert: fix - unique admin password for gitea (#1939)
1 parent fea5c4c commit 7d8bf90

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
86+
password = values?.apps?.gitea?.adminPassword ?? values?.otomi?.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
@@ -1821,7 +1821,7 @@ properties:
18211821
$ref: '#/definitions/rawValues'
18221822
adminPassword:
18231823
type: string
1824-
x-secret: '{{ randAlphaNum 20 }}'
1824+
x-secret: ''
18251825
postgresqlPassword:
18261826
type: string
18271827
description: This password was generated and cannot be changed without manual intervention.

0 commit comments

Comments
 (0)