Compare commits
11 Commits
127088a702
...
acb074c5a0
Author | SHA1 | Date |
---|---|---|
|
acb074c5a0 | |
|
1d8c487c32 | |
|
c969228dad | |
|
9fb0510625 | |
|
4436ec5c6c | |
|
2589f475d9 | |
|
b291d9f570 | |
|
25b8b3001f | |
|
7117ef455b | |
|
7c1fed7685 | |
|
b323984d6c |
|
@ -11,3 +11,6 @@ spec:
|
|||
path: firefly-iii
|
||||
repoURL: https://git.pyrocufflink.blue/infra/kubernetes.git
|
||||
targetRevision: master
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
|
|
|
@ -11,3 +11,6 @@ spec:
|
|||
path: paperless-ngx
|
||||
repoURL: https://git.pyrocufflink.blue/infra/kubernetes.git
|
||||
targetRevision: master
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: postgresql
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: postgresql
|
||||
repoURL: https://git.pyrocufflink.blue/infra/kubernetes.git
|
||||
targetRevision: master
|
|
@ -53,3 +53,6 @@ patches:
|
|||
secret:
|
||||
secretName: postgres-client-cert
|
||||
defaultMode: 0640
|
||||
images:
|
||||
- name: docker.io/fireflyiii/core
|
||||
newTag: version-6.1.19
|
||||
|
|
|
@ -372,7 +372,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: tika
|
||||
image: docker.io/apache/tika:2.5.0
|
||||
image: ghcr.io/paperless-ngx/tika:2.5.0-minimal
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
|
|
|
@ -63,7 +63,7 @@ metadata:
|
|||
namespace: sshca
|
||||
spec:
|
||||
encryptedData:
|
||||
machine-ids.json: AgB1dg6pf6q5I9530RYOp0RPL3H2q6iQvRTN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HlG+VhLj/87F9XBcs69sxR0q3Im/ZQv67egpMjI++AH+yPLFDyTbvD+l9HcQrc5hTccZDwDN8ZJnoaGPiFTagakIGfkEKG3ZTpPGx1d3dwZvo8HzEq+4Ye9q5JI2jB8C9O4tt04JVlZ/SdHOY+8C+KxEJEpIiu/+CJkwdSL3D26Yf/+UuQeRI+O8CtJ3Nk8pXFIC+b8D7xHhV359gCZrMwIbVGVUoclFsPHQLD8Hj7F01viJUtmLTtBprW2nMkE50NaHrnFXAoF4SX0dOfAfMEc8egkORi09Zo9djH8FvjscJNvHzK17qARpxZGtVwPdX/AhXhoHa4Al3ZJo1psaOuWiXEc0G1MS9Tfbq627cDG+ZZ3M+HvfRazSrweQkDHDiMVzOyvNpx7bymEqq43TD5/CECwdXiEk7l/Ozbkpp1Ad8Ux0za5Q04ge4BMKqjYrj/d3CFQg2GoyQazkrpS432m2tmWzuxOAQYnkYREqRVneCvgHeRJegLrWEs4CHUnVmhIJaWCAtt3ZLg5IEndq2AhsfoqMz82EzlXWghFz1ma0I1KNZYt3jIMB6K2s3bVkOKiif8AGeHfKKIRzuEmrl4w4SIfBlM+YdpM4mVSdRl95J1BmO4z97cBeYcf24lA3+roRTgvWthM/0LmusUULXoCfsEH7hM2AMcuBYG1qqKX0ReQCMNK6/9w1w/+ucDK263EjPWCJDMK1oWycc1dJeAWvQAbgSdjpZSwe0
|
||||
template:
|
||||
metadata:
|
||||
name: sshca-data
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
[repo]
|
||||
url = "https://git.pyrocufflink.net/infra/kubernetes"
|
||||
token_file = "/run/secrets/updatebot/gitea.token"
|
||||
|
||||
[projects.firefly-iii]
|
||||
kind = "kustomize"
|
||||
image = "docker.io/fireflyiii/core"
|
||||
tag_format = "version-{version}"
|
||||
|
||||
[projects.firefly-iii.source]
|
||||
kind = "github"
|
||||
organization = "firefly-iii"
|
||||
repo = "firefly-iii"
|
|
@ -0,0 +1,32 @@
|
|||
[repo]
|
||||
url = "https://git.pyrocufflink.net/infra/kubernetes"
|
||||
token_file = "/run/secrets/updatebot/gitea.token"
|
||||
|
||||
[projects.paperless-ngx]
|
||||
kind = "kustomize"
|
||||
image = "ghcr.io/paperless-ngx/paperless-ngx"
|
||||
|
||||
[projects.paperless-ngx.source]
|
||||
kind = "github"
|
||||
organization = "paperless-ngx"
|
||||
repo = "paperless-ngx"
|
||||
|
||||
[projects.gotenberg]
|
||||
kind = "kustomize"
|
||||
path = "paperless-ngx"
|
||||
image = "docker.io/gotenberg/gotenberg"
|
||||
|
||||
[projects.gotenberg.source]
|
||||
kind = "github"
|
||||
organization = "gotenberg"
|
||||
repo = "gotenberg"
|
||||
|
||||
[projects.tika]
|
||||
kind = "kustomize"
|
||||
path = "paperless-ngx"
|
||||
image = "docker.io/apache/tika"
|
||||
|
||||
[projects.tika.source]
|
||||
kind = "docker"
|
||||
namespace = "apache"
|
||||
repository = "tika"
|
|
@ -64,3 +64,139 @@ spec:
|
|||
secret:
|
||||
secretName: updatebot-ssh
|
||||
defaultMode: 0640
|
||||
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: updatebot-firefly-iii
|
||||
labels: &labels
|
||||
app.kubernetes.io/name: updatebot-firefly-iii
|
||||
spec:
|
||||
schedule: 33 6 * * 1
|
||||
timeZone: America/Chicago
|
||||
concurrencyPolicy: Forbid
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels: *labels
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: updatebot
|
||||
image: git.pyrocufflink.net/infra/updatebot
|
||||
args:
|
||||
- --branch-name
|
||||
- updatebot/firefly-iii
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- mountPath: /etc/ssh/ssh_known_hosts
|
||||
name: ssh-known-hosts
|
||||
readOnly: true
|
||||
subPath: ssh_known_hosts
|
||||
- mountPath: /home/bot/.config/updatebot/config.toml
|
||||
name: updatebot-config
|
||||
readOnly: true
|
||||
subPath: firefly-iii.toml
|
||||
- mountPath: /home/bot/.ssh
|
||||
name: updatebot-ssh
|
||||
readOnly: true
|
||||
- mountPath: /run/secrets/updatebot
|
||||
name: updatebot-secrets
|
||||
readOnly: true
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
subPath: tmp
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
fsGroup: 25167
|
||||
volumes:
|
||||
- name: ssh-known-hosts
|
||||
configMap:
|
||||
name: ssh-known-hosts
|
||||
- name: tmp
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
- name: updatebot-config
|
||||
configMap:
|
||||
name: updatebot-projects
|
||||
- name: updatebot-secrets
|
||||
secret:
|
||||
secretName: updatebot
|
||||
defaultMode: 0640
|
||||
- name: updatebot-ssh
|
||||
secret:
|
||||
secretName: updatebot-ssh
|
||||
defaultMode: 0640
|
||||
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: updatebot-paperless-ngx
|
||||
labels: &labels
|
||||
app.kubernetes.io/name: updatebot-paperless-ngx
|
||||
spec:
|
||||
schedule: 34 6 * * 1
|
||||
timeZone: America/Chicago
|
||||
concurrencyPolicy: Forbid
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels: *labels
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: updatebot
|
||||
image: git.pyrocufflink.net/infra/updatebot
|
||||
args:
|
||||
- --branch-name
|
||||
- updatebot/paperless-ngx
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- mountPath: /etc/ssh/ssh_known_hosts
|
||||
name: ssh-known-hosts
|
||||
readOnly: true
|
||||
subPath: ssh_known_hosts
|
||||
- mountPath: /home/bot/.config/updatebot/config.toml
|
||||
name: updatebot-config
|
||||
readOnly: true
|
||||
subPath: paperless-ngx.toml
|
||||
- mountPath: /home/bot/.ssh
|
||||
name: updatebot-ssh
|
||||
readOnly: true
|
||||
- mountPath: /run/secrets/updatebot
|
||||
name: updatebot-secrets
|
||||
readOnly: true
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
subPath: tmp
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
fsGroup: 25167
|
||||
volumes:
|
||||
- name: ssh-known-hosts
|
||||
configMap:
|
||||
name: ssh-known-hosts
|
||||
- name: tmp
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
- name: updatebot-config
|
||||
configMap:
|
||||
name: updatebot-projects
|
||||
- name: updatebot-secrets
|
||||
secret:
|
||||
secretName: updatebot
|
||||
defaultMode: 0640
|
||||
- name: updatebot-ssh
|
||||
secret:
|
||||
secretName: updatebot-ssh
|
||||
defaultMode: 0640
|
||||
|
|
Loading…
Reference in New Issue