Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
chore: modify chart
Browse files Browse the repository at this point in the history
Signed-off-by: Brad McCoy <[email protected]>
  • Loading branch information
bradmccoydev committed Nov 13, 2022
1 parent f369f02 commit b656df5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
4 changes: 2 additions & 2 deletions chart/backstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for the Ortelius Backstage Instance

type: application

version: 0.0.4
appVersion: "0.0.4"
version: 0.0.5
appVersion: "0.0.5"

home: "https://ortelius.io"
icon: https://backstage.io/img/twitter-summary.png
Expand Down
26 changes: 4 additions & 22 deletions chart/backstage/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,6 @@ spec:
image: {{ include "backstage.backendImage" . }}
imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
env:
{{- if .Values.postgresql.enabled }}
- name: POSTGRES_HOST
value: {{ include "backstage.postgresql.fullname" . | quote }}
- name: POSTGRES_PORT
value: {{ .Values.postgresql.primary.service.ports.postgresql | default "5432" | quote }}
- name: POSTGRES_USER
value: {{ .Values.postgresql.auth.username | quote }}
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
{{- if .Values.postgresql.existingSecret }}
name: {{ .Values.postgresql.existingSecret }}
{{- else }}
name: {{ include "backstage.postgresql.fullname" . }}
{{- end }}
key: password
{{- else if .Values.psql }}
- name: POSTGRES_HOST
value: {{ .Values.psql.host | quote }}
- name: POSTGRES_PORT
Expand All @@ -71,18 +54,17 @@ spec:
secretKeyRef:
name: {{ .Values.psql.password.secret }}
key: {{ .Values.psql.password.key }}
{{- end }}
{{- with .Values.backend.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.appConfig.backend.listen.port | default 7007 }}
protocol: TCP
livenessProbe:
{{- toYaml .Values.backend.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.backend.readinessProbe | nindent 12 }}
# livenessProbe:
# {{- toYaml .Values.backend.livenessProbe | nindent 12 }}
# readinessProbe:
# {{- toYaml .Values.backend.readinessProbe | nindent 12 }}
volumeMounts:
- mountPath: /app/app-config.yaml
name: config
Expand Down

0 comments on commit b656df5

Please sign in to comment.