feat: rename cm gitea-config -> gitea

This commit is contained in:
ange 2024-05-15 23:40:08 +02:00
parent 6c4f952fb8
commit 65e575b983
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
3 changed files with 3 additions and 7 deletions

View File

@ -54,7 +54,7 @@ kcreatesec gitea-secrets \
--from-literal=secret_key="$(kgseckey gitea-secrets secret_key || openssl rand -hex 32)" \
--from-literal=internal_token="$(kgseckey gitea-secrets internal_token || openssl rand -hex 32)"
kcreatecm gitea-config \
kcreatecm gitea \
--from-file=app.ini=<(envsubst "$(env | xargs printf '$%s ')" < app.ini)
kapply common/job.yaml \

View File

@ -68,16 +68,14 @@ spec:
- name: config
mountPath: /etc/gitea/app.ini
subPath: app.ini
readOnly: true
- name: secrets
mountPath: /etc/gitea/secrets/
readOnly: true
securityContext:
fsGroup: 1000
volumes:
- name: config
configMap:
name: gitea-config
name: gitea
- name: secrets
secret:
secretName: gitea-secrets

View File

@ -21,14 +21,12 @@ spec:
- name: config
mountPath: /etc/gitea/app.ini
subPath: app.ini
readOnly: true
- name: secrets
mountPath: /etc/gitea/secrets/
readOnly: true
volumes:
- name: config
configMap:
name: gitea-config
name: gitea
- name: secrets
secret:
secretName: gitea-secrets