Skip to content

environment-to-ini lost short-options in 1.21 and k8s helm-chart installation brakes #27913

Closed
@fashberg

Description

@fashberg

Description

Hey!

I've upgraded to 1.21.0-rc2 and my k8s installation broke. I'm using the official helm-chart from https://gitea.com/gitea/helm-chart

The init-container init-app-ini shows:

2023/11/05 16:47:53 ...nvironment-to-ini.go:73:main() [F] Failed to run app with [environment-to-ini -o /data/gitea/conf/app.ini]: flag provided but not defined: -o

After some investigation:

It is related to Refactor to use urfave/cli/v2 (#25959).

urfave/cli v2 requires another short-options setup, so the -o Option is gone.

Not fixing this will brake all 1.21 kubernets installation

Gitea Version

1.21.0-rc2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Kubernetes Helm Chart on Linux

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions