Rename to taiga
This commit is contained in:
parent
206a860810
commit
7e3ba30f57
7 changed files with 19 additions and 19 deletions
|
@ -2,7 +2,7 @@ from os import environ
|
|||
from pybuilder.core import task, init
|
||||
from ddadevops import *
|
||||
|
||||
name = "c4k-forgejo-backup"
|
||||
name = "c4k-taiga-backup"
|
||||
MODULE = "docker"
|
||||
PROJECT_ROOT_PATH = "../.."
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM c4k-forgejo-backup
|
||||
FROM c4k-taiga-backup
|
||||
|
||||
RUN apt update
|
||||
RUN apt -yqq --no-install-recommends --yes install curl default-jre-headless
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(ns dda.c4k-forgejo.backup
|
||||
(ns dda.c4k-taiga.backup
|
||||
(:require
|
||||
[clojure.spec.alpha :as s]
|
||||
#?(:cljs [shadow.resource :as rc])
|
||||
|
|
|
@ -14,10 +14,10 @@ spec:
|
|||
labels:
|
||||
app: backup-restore
|
||||
app.kubernetes.io/name: backup-restore
|
||||
app.kubernetes.io/part-of: forgejo
|
||||
app.kubernetes.io/part-of: taiga
|
||||
spec:
|
||||
containers:
|
||||
- image: domaindrivenarchitecture/c4k-forgejo-backup
|
||||
- image: domaindrivenarchitecture/c4k-taiga-backup
|
||||
name: backup-app
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["/entrypoint-start-and-wait.sh"]
|
||||
|
@ -59,15 +59,15 @@ spec:
|
|||
- name: CERTIFICATE_FILE
|
||||
value: ""
|
||||
volumeMounts:
|
||||
- name: forgejo-data-volume
|
||||
- name: taiga-data-volume
|
||||
mountPath: /var/backups
|
||||
- name: backup-secret-volume
|
||||
mountPath: /var/run/secrets/backup-secrets
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: forgejo-data-volume
|
||||
volumes: # ToDo check correct volumes
|
||||
- name: taiga-data-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: forgejo-data-pvc
|
||||
claimName: taiga-data-pvc
|
||||
- name: backup-secret-volume
|
||||
secret:
|
||||
secretName: backup-secret
|
|
@ -4,6 +4,6 @@ metadata:
|
|||
name: backup-config
|
||||
labels:
|
||||
app.kubernetes.io/name: backup
|
||||
app.kubernetes.io/part-of: forgejo
|
||||
app.kubernetes.io/part-of: taiga
|
||||
data:
|
||||
restic-repository: restic-repository
|
|
@ -1,9 +1,9 @@
|
|||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: forgejo-backup
|
||||
name: taiga-backup
|
||||
labels:
|
||||
app.kubernetes.part-of: forgejo
|
||||
app.kubernetes.part-of: taiga
|
||||
spec:
|
||||
schedule: "10 23 * * *"
|
||||
successfulJobsHistoryLimit: 1
|
||||
|
@ -14,7 +14,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: backup-app
|
||||
image: domaindrivenarchitecture/c4k-forgejo-backup
|
||||
image: domaindrivenarchitecture/c4k-taiga-backup
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["/entrypoint.sh"]
|
||||
env:
|
||||
|
@ -55,15 +55,15 @@ spec:
|
|||
- name: CERTIFICATE_FILE
|
||||
value: ""
|
||||
volumeMounts:
|
||||
- name: forgejo-data-volume
|
||||
- name: taiga-data-volume
|
||||
mountPath: /var/backups
|
||||
- name: backup-secret-volume
|
||||
mountPath: /var/run/secrets/backup-secrets
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: forgejo-data-volume
|
||||
volumes: #ToDo: check correct volumes
|
||||
- name: taiga-data-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: forgejo-data-pvc
|
||||
claimName: taiga-data-pvc
|
||||
- name: backup-secret-volume
|
||||
secret:
|
||||
secretName: backup-secret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
taiga-secret-key: "some-key"
|
||||
postgres-db-user: "forgejo"
|
||||
postgres-db-password: "forgejo-db-password"
|
||||
postgres-db-user: "taiga"
|
||||
postgres-db-password: "taiga-db-password"
|
||||
mailer-user: "mailer-user"
|
||||
mailer-pw: "mailer-pw"
|
||||
django-superuser-username: "taiga-admin"
|
||||
|
|
Loading…
Reference in a new issue