fix(openproject): Add DB and main service port (#3354)
* fix(openproject): Add DB and main service port Let's see how much more I need lol * Update Chart.yaml * more fixes * Update Chart.yaml * Other fixes I missed * trying this one with port 80 * add some fixes * fix pg * whoops Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
co-authored by
Stavros kois
parent
e93a6b1755
commit
8aaa1fdb55
@@ -0,0 +1,20 @@
|
||||
{{/* Define the secrets */}}
|
||||
{{- define "openproject.secrets" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: openproject-secrets
|
||||
{{- $openprojectprevious := lookup "v1" "Secret" .Release.Namespace "openproject-secrets" }}
|
||||
{{- $secret_key_base := "" }}
|
||||
data:
|
||||
{{- if $openprojectprevious}}
|
||||
SECRET_KEY_BASE: {{ index $openprojectprevious.data "SECRET_KEY_BASE" }}
|
||||
{{- else }}
|
||||
{{- $secret_key_base := randAlphaNum 32 }}
|
||||
SECRET_KEY_BASE: {{ $secret_key_base | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user