configure-gitea does not work with extraConfigs #720
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried deploying the chart in version
10.5.0
The
configure-gitea
will always fail stating that database infos aren't present even if the app.ini has them.values.yml
the init-app-ini container seems to works just fine
❯ k logs -n gitea pod/gitea-gitea-release-76d575ff56-8qb68 init-app-ini
...Initial secrets generated
Processing inlines...
queue
+ 'CONN_STR'
+ 'TYPE'
repository
+ 'ANSI_CHARSET'
+ 'ROOT'
webhook
+ 'ALLOWED_HOST_LIST'
metrics
+ 'ENABLED'
cache
+ 'ADAPTER'
+ 'HOST'
migrations
+ 'ALLOWED_DOMAINS'
indexer
+ 'ISSUE_INDEXER_TYPE'
service
+ 'ALLOW_ONLY_EXTERNAL_REGISTRATION'
+ 'DEFAULT_ALLOW_CREATE_ORGANIZATION'
+ 'DEFAULT_KEEP_EMAIL_PRIVATE'
+ 'DISABLE_REGISTRATION'
+ 'REQUIRE_SIGNIN_VIEW'
+ 'SHOW_REGISTRATION_BUTTON'
security
+ 'INSTALL_LOCK'
actions
+ 'ARTIFACT_RETENTION_DAYS'
+ 'DEFAULT_ACTIONS_URL'
+ 'ENABLED'
session
+ 'PROVIDER'
+ 'PROVIDER_CONFIG'
server
+ 'APP_DATA_PATH'
+ 'DOMAIN'
+ 'ENABLE_PPROF'
+ 'HTTP_PORT'
+ 'PROTOCOL'
+ 'ROOT_URL'
+ 'SSH_DOMAIN'
+ 'SSH_LISTEN_PORT'
+ 'SSH_PORT'
+ 'START_SSH_SERVER'
[ini root]
+ 'APP_NAME'
openid
+ 'ENABLE_OPENID_SIGNIN'
+ 'ENABLE_OPENID_SIGNUP'
+ 'OPENID_CONNECT_SCOPES'
+ 'WHITELISTED_URIS'
Processing additionals...
mailer
+ 'ENABLED'
+ 'PROTOCOL'
+ 'SMTP_ADDR'
+ 'SMTP_PORT'
+ 'USER'
+ 'PASSWD'
+ 'FROM'
session
+ 'PROVIDER'
+ 'COOKIE_SECURE'
+ 'PROVIDER_CONFIG'
database
+ 'TYPE'
+ 'HOST'
+ 'NAME'
+ 'USER'
+ 'PASSWD'
killing gitea deployment and mounting the pvc inside a busybox pod I can get the app.ini just fine
passing values as environment variables either in
deployment.env
or theadditionalConfigsFromEnvs
yields the same result.Nevermind I am dumb and should've change
TYPE
byDB_TYPE
under the database section.