fix internal postgres url
This commit is contained in:
parent
f73d57c0c7
commit
1a6ba991e4
2 changed files with 6 additions and 7 deletions
|
@ -14,12 +14,11 @@
|
||||||
(defmethod yaml/load-resource :gitea [resource-name]
|
(defmethod yaml/load-resource :gitea [resource-name]
|
||||||
(case resource-name
|
(case resource-name
|
||||||
; todo "gitea/secret.yaml" (rc/inline "gitea/secret.yaml")
|
; todo "gitea/secret.yaml" (rc/inline "gitea/secret.yaml")
|
||||||
"gitea/certificate.yaml" (rc/inline "gitea/certificate.yaml")
|
; "gitea/certificate.yaml" (rc/inline "gitea/certificate.yaml")
|
||||||
"gitea/deployments.yaml" (rc/inline "gitea/deployments.yaml")
|
"gitea/deployment.yaml" (rc/inline "gitea/deployment.yaml")
|
||||||
"gitea/ingress.yaml" (rc/inline "gitea/ingress.yaml")
|
"gitea/ingress.yaml" (rc/inline "gitea/ingress.yaml")
|
||||||
"gitea/service-redis.yaml" (rc/inline "gitea/service-redis.yaml")
|
"gitea/services.yaml" (rc/inline "gitea/services.yaml")
|
||||||
"gitea/service-webserver.yaml" (rc/inline "gitea/service-webserver.yaml")
|
"gitea/volumes.yaml" (rc/inline "gitea/volumes.yaml")
|
||||||
"gitea/statefulset.yaml" (rc/inline "gitea/statefulset.yaml")
|
|
||||||
(throw (js/Error. "Undefined Resource!")))))
|
(throw (js/Error. "Undefined Resource!")))))
|
||||||
|
|
||||||
#?(:cljs
|
#?(:cljs
|
||||||
|
|
|
@ -31,13 +31,13 @@ spec:
|
||||||
- name: GITEA__database__DB_TYPE
|
- name: GITEA__database__DB_TYPE
|
||||||
value: "postgres"
|
value: "postgres"
|
||||||
- name: GITEA__database__HOST
|
- name: GITEA__database__HOST
|
||||||
value: "postgresql-service.postgres.svc.cluster.local:5432" # Service.Namespace.svc.cluster.local
|
value: "postgresql-service.default.svc.cluster.local:5432" # Service.Namespace.svc.cluster.local
|
||||||
- name: GITEA__database__NAME
|
- name: GITEA__database__NAME
|
||||||
value: postgres
|
value: postgres
|
||||||
- name: GITEA__database__USER
|
- name: GITEA__database__USER
|
||||||
value: gitea
|
value: gitea
|
||||||
- name: GITEA__database__PASSWD
|
- name: GITEA__database__PASSWD
|
||||||
value: gitea
|
value: gitea-db-user
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: app-ini-config-volume
|
- name: app-ini-config-volume
|
||||||
mountPath: "/tmp/app.ini"
|
mountPath: "/tmp/app.ini"
|
||||||
|
|
Loading…
Reference in a new issue