flux: prep git repo
/ continuous-deploy (push) Successful in 20s

This commit is contained in:
Márcio Fernandes
2026-06-02 21:30:13 +00:00
parent f01d086a69
commit 00f7aed32c
4 changed files with 57 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: git-limbosolutions-com
namespace: git-limbosolutions-com
spec:
interval: 1m0s
url: ssh://git@git.limbosolutions.com:2222/limbosolutions.com/git.limbosolutions.com.git
ref:
branch: main
secretRef:
name: flux-repo-ssh-credentials
+12
View File
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- git-repo.yaml
secretGenerator:
- name: flux-repo-ssh-credentials
files:
- "identity=./.env.d/flux-repo-ssh-key"
- "known_hosts=./.env.d/flux-repo-ssh-known_hosts"
- "pubkey=./.env.d/flux-repo-ssh-key.pub"
generatorOptions:
disableNameSuffixHash: true