chore: support preinit and postinit container like the helm-gitea

This commit is contained in:
Daan Selen
2026-04-01 21:21:01 +02:00
parent 0f406605c6
commit c8577fa892
2 changed files with 22 additions and 4 deletions

View File

@ -116,11 +116,23 @@ init:
## Specify an existing token secret
##
existingSecret: ""
existingSecretKey: ""
existingSecret: "secret"
existingSecretKey: "key"
## Specify the root URL of the Gitea instance
giteaRootURL: ""
giteaRootURL: "gitea.com"
## @param preExtraInitContainers Additional init containers to run in the pod before gitea-actions runs it owns init containers.
preExtraInitContainers: []
# - name: pre-init-container
# image: docker.io/library/busybox
# command: [ /bin/sh, -c, 'echo "Hello world! I am a pre init container."' ]
## @param postExtraInitContainers Additional init containers to run in the pod after gitea-actions runs it owns init containers.
postExtraInitContainers: []
# - name: post-init-container
# image: docker.io/library/busybox
# command: [ /bin/sh, -c, 'echo "Hello world! I am a post init container."' ]
## @section Global
#