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]
|
||||
(case resource-name
|
||||
; todo "gitea/secret.yaml" (rc/inline "gitea/secret.yaml")
|
||||
"gitea/certificate.yaml" (rc/inline "gitea/certificate.yaml")
|
||||
"gitea/deployments.yaml" (rc/inline "gitea/deployments.yaml")
|
||||
; "gitea/certificate.yaml" (rc/inline "gitea/certificate.yaml")
|
||||
"gitea/deployment.yaml" (rc/inline "gitea/deployment.yaml")
|
||||
"gitea/ingress.yaml" (rc/inline "gitea/ingress.yaml")
|
||||
"gitea/service-redis.yaml" (rc/inline "gitea/service-redis.yaml")
|
||||
"gitea/service-webserver.yaml" (rc/inline "gitea/service-webserver.yaml")
|
||||
"gitea/statefulset.yaml" (rc/inline "gitea/statefulset.yaml")
|
||||
"gitea/services.yaml" (rc/inline "gitea/services.yaml")
|
||||
"gitea/volumes.yaml" (rc/inline "gitea/volumes.yaml")
|
||||
(throw (js/Error. "Undefined Resource!")))))
|
||||
|
||||
#?(:cljs
|
||||
|
|
|
@ -31,13 +31,13 @@ spec:
|
|||
- name: GITEA__database__DB_TYPE
|
||||
value: "postgres"
|
||||
- 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
|
||||
value: postgres
|
||||
- name: GITEA__database__USER
|
||||
value: gitea
|
||||
- name: GITEA__database__PASSWD
|
||||
value: gitea
|
||||
value: gitea-db-user
|
||||
volumeMounts:
|
||||
- name: app-ini-config-volume
|
||||
mountPath: "/tmp/app.ini"
|
||||
|
|
Loading…
Reference in a new issue