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: "./" path: "./"
sourceRef: sourceRef:
kind: OCIRepository 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 namespace: flux-system
name: home-cluster-ops name: home-cluster-ops
dependsOn: dependsOn:
- name: cert-manager-secrets - name: repositories
namespace: flux-system
- name: cert-manager - name: cert-manager
postBuild: postBuild:
substituteFrom: substituteFrom:

View File

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

View File

@@ -4,13 +4,14 @@ metadata:
name: podinfo name: podinfo
namespace: podinfo namespace: podinfo
spec: spec:
interval: 30m0s interval: 1h
path: ./kustomize path: ./kubernetes/apps/podinfo
prune: true prune: true
retryInterval: 2m0s
sourceRef: sourceRef:
kind: HelmRepository kind: GitRepository
name: podinfo namespace: flux-system
targetNamespace: podinfo name: home-cluster-ops
timeout: 3m0s dependsOn:
wait: true - 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 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: 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 name: flux-system
timeout: 60s timeout: 60s
url: https://github.com/3dwardch3ng/home-cluster-ops.git 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