Update renovate/renovate Docker tag to v41.169.1 - abandoned #97

Closed
Renovate wants to merge 282 commits from renovate/renovate-renovate-41.x into fresh-start
5 changed files with 77 additions and 5 deletions
Showing only changes of commit 22910085b7 - Show all commits

View File

@@ -7,17 +7,17 @@ spec:
backend:
# Manually adding secrets for now
repoPasswordSecretRef:
name: restic-repo
name: gitea-backup-restic
key: password
s3:
endpoint: https://s3.eu-central-003.backblazeb2.com
bucket: lumpiasty-backups
accessKeyIDSecretRef:
name: backblaze
key: keyid
name: gitea-backup-backblaze
key: aws_access_key_id
secretAccessKeySecretRef:
name: backblaze
key: secret
name: gitea-backup-backblaze
key: aws_secret_access_key
backup:
schedule: "@daily-random"
failedJobsHistoryLimit: 2

View File

@@ -4,4 +4,5 @@ resources:
- namespace.yaml
- postgres-cluster.yaml
- release.yaml
- secret.yaml
- backups.yaml

58
apps/gitea/secret.yaml Normal file
View File

@@ -0,0 +1,58 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: backup
namespace: gitea
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultAuth
metadata:
name: backup
namespace: gitea
spec:
method: kubernetes
mount: kubernetes
kubernetes:
role: backup
serviceAccount: backup
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: gitea-backup-restic
namespace: gitea
spec:
type: kv-v2
mount: secret
path: restic
destination:
create: true
name: gitea-backup-restic
type: Opaque
transformation:
excludeRaw: true
vaultAuthRef: backup
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: gitea-backup-backblaze
namespace: gitea
spec:
type: kv-v2
mount: secret
path: backblaze
destination:
create: true
name: gitea-backup-backblaze
type: Opaque
transformation:
excludeRaw: true
vaultAuthRef: backup

View File

@@ -0,0 +1,6 @@
bound_service_account_names:
- backup
bound_service_account_namespaces:
- gitea
token_policies:
- backup

7
vault/policy/backup.hcl Normal file
View File

@@ -0,0 +1,7 @@
path "secret/data/restic" {
capabilities = ["read"]
}
path "secret/data/backblaze" {
capabilities = ["read"]
}