mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-23 01:55:43 +00:00
update
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
bfe8435665
commit
8d74a625bc
37 changed files with 224 additions and 103 deletions
9
management/platform-apps/kustomization.yaml
Normal file
9
management/platform-apps/kustomization.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- kyverno-core.yaml
|
||||
- kyverno-policies.yaml
|
||||
- tetragon-core.yaml
|
||||
- tetragon-policies.yaml
|
||||
|
||||
31
management/platform-apps/kyverno-core.yaml
Normal file
31
management/platform-apps/kyverno-core.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kyverno-core
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argoproj.io/sync-wave: "-10"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/gwg313/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: platform/kyverno/core
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kyverno
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
- RespectIgnoreDifferences=true
|
||||
|
||||
ignoreDifferences:
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
jsonPointers:
|
||||
- /metadata/labels
|
||||
- /metadata/annotations
|
||||
23
management/platform-apps/kyverno-policies.yaml
Normal file
23
management/platform-apps/kyverno-policies.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kyverno-policies
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argoproj.io/sync-wave: "-5"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/gwg313/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: platform/kyverno/policies
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kyverno
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
- ServerSideApply=true
|
||||
32
management/platform-apps/tetragon-core.yaml
Normal file
32
management/platform-apps/tetragon-core.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tetragon-core
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argoproj.io/sync-wave: "-10"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/gwg313/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: platform/tetragon/core
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kube-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
- ServerSideApply=true
|
||||
- RespectIgnoreDifferences=true
|
||||
|
||||
ignoreDifferences:
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
namespace: ""
|
||||
jsonPointers:
|
||||
- /metadata/labels
|
||||
- /metadata/annotations
|
||||
23
management/platform-apps/tetragon-policies.yaml
Normal file
23
management/platform-apps/tetragon-policies.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tetragon-policies
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argoproj.io/sync-wave: "-5"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/gwg313/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: platform/tetragon/policies
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kube-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
- ServerSideApply=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue