-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! 🔧(helm) rework chart based on jenny helm chart
- Loading branch information
Showing
22 changed files
with
186 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: warren-api-db | ||
type: Opaque | ||
stringData: | ||
WARREN_API_DB_PASSWORD: pass | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: warren-api-lrs | ||
type: Opaque | ||
stringData: | ||
WARREN_LRS_AUTH_BASIC_PASSWORD: password | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: warren-app-db | ||
type: Opaque | ||
stringData: | ||
WARREN_APP_DB_PASSWORD: pass | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: warren-app-secret-key | ||
type: Opaque | ||
stringData: | ||
WARREN_APP_SECRET_KEY: change_me_please | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: warren-signing-key | ||
type: Opaque | ||
stringData: | ||
WARREN_APP_SIGNING_KEY: change_me | ||
--- |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{{- range .Values.fastapi.cronjobs }} | ||
--- | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: {{ include "api.fullname" $ }}-{{ .name }} | ||
namespace: {{ $.Release.Namespace | quote }} | ||
labels: {{- include "api.labels" $ | nindent 4 }} | ||
{{- if $.Values.commonLabels }} | ||
{{ toYaml $.Values.commonLabels | nindent 4 }} | ||
{{- end }} | ||
{{- if $.Values.commonAnnotations }} | ||
annotations: | ||
{{- toYaml $.Values.commonAnnotations | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
schedule: {{ .schedule | quote }} | ||
successfulJobsHistoryLimit: 2 | ||
concurrencyPolicy: Forbid | ||
failedJobsHistoryLimit: 1 | ||
suspend: {{ .suspend }} | ||
jobTemplate: | ||
spec: | ||
template: | ||
metadata: | ||
labels: {{- include "api.selectorLabels" $ | nindent 12 }} | ||
spec: | ||
{{- include "fastapi.imagePullSecrets" $ | nindent 10 }} | ||
containers: | ||
- name: "{{ $.Chart.Name }}-{{ .name }}" | ||
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag }}" | ||
imagePullPolicy: {{ $.Values.image.pullPolicy }} | ||
env: | ||
- name: "WARREN_SERVER_HOST" | ||
value: {{ include "api.fullname" $ }} | ||
{{- include "api.envs" $ | nindent 16 }} | ||
command: {{ .command | toJson }} | ||
{{- if $.Values.resources }} | ||
resources: {{ toYaml $.Values.resources | nindent 16 }} | ||
{{- end }} | ||
volumeMounts: | ||
- name: logging-config | ||
mountPath: "/etc/warren/api" | ||
volumes: | ||
- name: logging-config | ||
configMap: | ||
name: {{ include "api.fullname" $ }}-logging-config | ||
restartPolicy: Never | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.