diff --git a/charts/plume/templates/deployment.yaml b/charts/plume/templates/deployment.yaml index b15e94ec..7fc7c2b0 100644 --- a/charts/plume/templates/deployment.yaml +++ b/charts/plume/templates/deployment.yaml @@ -52,6 +52,10 @@ spec: volumeMounts: - name: data mountPath: /data + - name: appsettings + mountPath: /app/appsettings.json + subPath: appsettings.json + readOnly: true {{- if .Values.service.https }} - name: tls-certificates mountPath: /app/tls @@ -65,6 +69,10 @@ spec: volumeMounts: - name: data mountPath: /data + - name: appsettings + mountPath: /app/appsettings.json + subPath: appsettings.json + readOnly: true {{- end }} volumes: - name: data @@ -74,6 +82,9 @@ spec: {{- else }} emptyDir: {} {{- end }} + - name: appsettings + configMap: + name: {{ template "Plume.fullname" . }}-appsettings {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/values/plume/manifests/appsettings.json b/values/plume/manifests/appsettings.json new file mode 100644 index 00000000..acbccff0 --- /dev/null +++ b/values/plume/manifests/appsettings.json @@ -0,0 +1,8 @@ +{ + "archmaesterUrl": "https://atlantis.src.oceanbox.io", + "appName": "plume", + "appEnv": "staging", + "appNamespace": "staging-plume", + "appVersion": "0.0.0", + "cacheDir": "/data/archives/cache" +}