fix cert manager kustomization

This commit is contained in:
2024-06-09 22:37:08 +10:00
parent d72a69dcb2
commit 2ab6f4316a
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: app
namespace: cert-manager
spec:
interval: 1h
targetNamespace: cert-manager
path: ./kubernetes/rpi5-cluster/templates/apps/cert-manager/app
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: issuers
namespace: cert-manager
spec:
interval: 1h
targetNamespace: cert-manager
path: ./kubernetes/rpi5-cluster/templates/apps/cert-manager/issuers
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops
dependsOn:
- name: app
postBuild:
substituteFrom:
- kind: Secret
name: cert-manager-secrets

View File

@@ -1,4 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../templates/apps/cert-manager/ks.yaml
- ks.yaml