feat: rename cm gitea-config -> gitea
This commit is contained in:
parent
6c4f952fb8
commit
65e575b983
@ -54,7 +54,7 @@ kcreatesec gitea-secrets \
|
|||||||
--from-literal=secret_key="$(kgseckey gitea-secrets secret_key || openssl rand -hex 32)" \
|
--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)"
|
--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)
|
--from-file=app.ini=<(envsubst "$(env | xargs printf '$%s ')" < app.ini)
|
||||||
|
|
||||||
kapply common/job.yaml \
|
kapply common/job.yaml \
|
||||||
|
@ -68,16 +68,14 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/gitea/app.ini
|
mountPath: /etc/gitea/app.ini
|
||||||
subPath: app.ini
|
subPath: app.ini
|
||||||
readOnly: true
|
|
||||||
- name: secrets
|
- name: secrets
|
||||||
mountPath: /etc/gitea/secrets/
|
mountPath: /etc/gitea/secrets/
|
||||||
readOnly: true
|
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: gitea-config
|
name: gitea
|
||||||
- name: secrets
|
- name: secrets
|
||||||
secret:
|
secret:
|
||||||
secretName: gitea-secrets
|
secretName: gitea-secrets
|
||||||
|
@ -21,14 +21,12 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/gitea/app.ini
|
mountPath: /etc/gitea/app.ini
|
||||||
subPath: app.ini
|
subPath: app.ini
|
||||||
readOnly: true
|
|
||||||
- name: secrets
|
- name: secrets
|
||||||
mountPath: /etc/gitea/secrets/
|
mountPath: /etc/gitea/secrets/
|
||||||
readOnly: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: gitea-config
|
name: gitea
|
||||||
- name: secrets
|
- name: secrets
|
||||||
secret:
|
secret:
|
||||||
secretName: gitea-secrets
|
secretName: gitea-secrets
|
||||||
|
Loading…
Reference in New Issue
Block a user