diff options
| author | Takuya Yoshida <hawaiianphoto@geekhost.net> | 2022-05-15 22:22:06 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-15 22:22:06 +0900 |
| commit | a8e779a68cc048d6d82b160e8e899cfab84db309 (patch) | |
| tree | 9e16e82bc8b4639436bc8effa8372eecfe33c36d /chart/templates | |
| parent | Refactor emoji-edit-dialog to use Composition API (#8657) (diff) | |
| download | misskey-a8e779a68cc048d6d82b160e8e899cfab84db309.tar.gz misskey-a8e779a68cc048d6d82b160e8e899cfab84db309.tar.bz2 misskey-a8e779a68cc048d6d82b160e8e899cfab84db309.zip | |
Power up (#8684)
Diffstat (limited to 'chart/templates')
| -rw-r--r-- | chart/templates/ConfigMap.yml | 5 | ||||
| -rw-r--r-- | chart/templates/Deployment.yml | 11 |
2 files changed, 10 insertions, 6 deletions
diff --git a/chart/templates/ConfigMap.yml b/chart/templates/ConfigMap.yml index 51a9c256ce..37c25e0864 100644 --- a/chart/templates/ConfigMap.yml +++ b/chart/templates/ConfigMap.yml @@ -1,7 +1,8 @@ apiVersion: v1 kind: ConfigMap metadata: - name: {{ include "misskey.fullname" . }}-config-file + name: {{ include "misskey.fullname" . }}-configuration data: default.yml: |- -{{ .Files.Get "files/default.yml"|indent 4 }} + {{ .Files.Get "files/default.yml"|nindent 4 }} + url: {{ .Values.url }} diff --git a/chart/templates/Deployment.yml b/chart/templates/Deployment.yml index 8ead4d7a9c..d16aece915 100644 --- a/chart/templates/Deployment.yml +++ b/chart/templates/Deployment.yml @@ -16,9 +16,12 @@ spec: spec: containers: - name: misskey - image: okteto.dev/misskey:latest + image: {{ .Values.image }} + env: + - name: NODE_ENV + value: {{ .Values.environment }} volumeMounts: - - name: config-file + - name: {{ include "misskey.fullname" . }}-configuration mountPath: /misskey/.config readOnly: true ports: @@ -39,6 +42,6 @@ spec: ports: - containerPort: 6379 volumes: - - name: config-file + - name: {{ include "misskey.fullname" . }}-configuration configMap: - name: {{ include "misskey.fullname" . }}-config-file + name: {{ include "misskey.fullname" . }}-configuration |