Merge branch 'app/cert-manager' of https://github.com/3dwardch3ng/home-cluster-ops into app/cert-manager

This commit is contained in:
2024-06-10 16:29:46 +10:00
10 changed files with 72 additions and 47 deletions

View File

@@ -13,4 +13,7 @@ spec:
path: "./"
sourceRef:
kind: OCIRepository
name: capacitor
name: capacitor
dependsOn:
- name: repositories
namespace: flux-system

View File

@@ -1,10 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: capacitor
namespace: flux-system
spec:
interval: 12h
url: oci://ghcr.io/gimlet-io/capacitor-manifests
ref:
semver: ">=0.1.0"

View File

@@ -46,7 +46,8 @@ spec:
namespace: flux-system
name: home-cluster-ops
dependsOn:
- name: cert-manager-secrets
- name: repositories
namespace: flux-system
- name: cert-manager
postBuild:
substituteFrom:

View File

@@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./capacitor
- ./cert-manager
- ./cilium
- ./podinfo
- ./capacitor/capacitor.yaml
- ./cert-manager/cert-manager.yaml
- ./cilium/cilium.yaml
- ./podinfo/podinfo.yaml

View File

@@ -4,13 +4,14 @@ metadata:
name: podinfo
namespace: podinfo
spec:
interval: 30m0s
path: ./kustomize
interval: 1h
path: ./kubernetes/apps/podinfo
prune: true
retryInterval: 2m0s
sourceRef:
kind: HelmRepository
name: podinfo
targetNamespace: podinfo
timeout: 3m0s
wait: true
kind: GitRepository
namespace: flux-system
name: home-cluster-ops
dependsOn:
- name: repositories
namespace: flux-system

View File

@@ -1,8 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: podinfo
namespace: podinfo
spec:
interval: 5m
url: https://stefanprodan.github.io/podinfo

View File

@@ -1,14 +0,0 @@
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/gitrepository_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: home-cluster-ops-repo
namespace: flux-system
spec:
interval: 5m
path: ./kubernetes/infrastructure/repositories
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops

View File

@@ -1,4 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./infrasturecture.yaml
- ./repositories/repositories.yaml

View File

@@ -0,0 +1,17 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: notification-controller
namespace: flux-system
spec:
targetNamespace: flux-system
interval: 1h
retryInterval: 2m
timeout: 5m
wait: true
prune: true
path: ./kubernetes/infrastructure/notification-controller
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops

View File

@@ -12,3 +12,38 @@ spec:
name: flux-system
timeout: 60s
url: https://github.com/3dwardch3ng/home-cluster-ops.git
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: podinfo
namespace: podinfo
spec:
interval: 5m
url: https://stefanprodan.github.io/podinfo
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: capacitor
namespace: flux-system
spec:
interval: 12h
url: oci://ghcr.io/gimlet-io/capacitor-manifests
ref:
semver: ">=0.1.0"
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/gitrepository_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: repositories
namespace: flux-system
spec:
interval: 5m
path: ./kubernetes/infrastructure/repositories
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops