flux: kb act runner

This commit is contained in:
Márcio Fernandes
2026-06-04 20:46:10 +00:00
parent 7e68e15683
commit b7fb972c6c
8 changed files with 21 additions and 1 deletions
+1
View File
@@ -42,6 +42,7 @@ kubectl create secret generic flux-sops-age \
``` bash
sops -e deploy/app/helm-values.private.dec.yaml > deploy/app/helm-values.private.yaml
sops -e deploy/backups/secrets.dec.yaml > deploy/backups/secrets.yaml
sops -e deploy/act-runners/kb/deploy/app/secrets.dec.yaml > deploy/act-runners/kb/deploy/app/secrets.yaml
```
## Backups
+17
View File
@@ -0,0 +1,17 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: act-runner-kb-sync
namespace: kb-cicd
spec:
interval: 1m
sourceRef:
kind: GitRepository
name: git-limbosolutions-com
namespace: git-limbosolutions-com
path: act-runners/kb/app
prune: true
decryption:
provider: sops
secretRef:
name: flux-sops-age
+1
View File
@@ -5,6 +5,7 @@ resources:
- infra-sync.yaml
- gitea-sync.yaml
- backups-sync.yaml
- act-runner-kb-sync.yaml
secretGenerator:
- name: flux-repo-ssh-credentials
files:
+2 -1
View File
@@ -2,6 +2,7 @@
set -e
echo "Executing infra deploy."
kubectl kustomize deploy/flux | kubectl -n git-limbosolutions-com apply -f -
kubectl kustomize deploy/flux | kubectl apply -f -