mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
feat: add kyverno
This commit is contained in:
16
.yamllint
Normal file
16
.yamllint
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
||||
indentation:
|
||||
spaces: 2
|
||||
indent-sequences: true
|
||||
comments:
|
||||
min-spaces-from-content: 1
|
||||
document-start: disable
|
||||
truthy:
|
||||
allowed-values: ['true', 'false', 'on', 'off']
|
||||
|
||||
3
foundation/charts/certs/Chart.yaml
Normal file
3
foundation/charts/certs/Chart.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
apiVersion: v2
|
||||
version: 1.0.0
|
||||
name: certs
|
||||
16
foundation/charts/certs/templates/cluster-issuer.yaml
Normal file
16
foundation/charts/certs/templates/cluster-issuer.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: cloudflare-dns
|
||||
spec:
|
||||
acme:
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
email: admin@demo.olsen.cloud
|
||||
privateKeySecretRef:
|
||||
name: cloudflare-dns-issuer-key
|
||||
solvers:
|
||||
- dns01:
|
||||
cloudflare:
|
||||
apiTokenSecretRef:
|
||||
name: cloudflare-api-token
|
||||
key: api-token
|
||||
2
foundation/charts/certs/values.yaml
Normal file
2
foundation/charts/certs/values.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
globals:
|
||||
timezone: Europe/Amsterdam
|
||||
23
foundation/charts/monitor/templates/kyverno.yaml
Normal file
23
foundation/charts/monitor/templates/kyverno.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kyverno-operator
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: foundation
|
||||
source:
|
||||
repoURL: https://kyverno.github.io/kyverno
|
||||
targetRevision: 3.1.0
|
||||
chart: kyverno
|
||||
helm:
|
||||
releaseName: kyverno
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: foundation
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
Reference in New Issue
Block a user