store secrets for cert manager in the current repo

This commit is contained in:
2024-06-10 09:36:15 +10:00
parent 4b5787bdac
commit bc72ceeec9
5 changed files with 47 additions and 45 deletions

View File

@@ -19,20 +19,6 @@ spec:
!/kubernetes/rpi5-cluster/infrastructure
!/kubernetes/rpi5-cluster/templates
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: home-cluster-ops-secrets
namespace: flux-system
spec:
interval: 10m0s
ref:
branch: main
secretRef:
name: flux-system
timeout: 60s
url: https://github.com/3dwardch3ng/home-cluster-ops-secrets.git
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/gitrepository_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
@@ -46,18 +32,4 @@ spec:
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: home-cluster-ops-secrets-repo
namespace: flux-system
spec:
interval: 1h
path: ./
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops-secrets
name: home-cluster-ops