add app adguard-home
This commit is contained in:
@@ -2,15 +2,13 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: adguard-home
|
name: adguard-home
|
||||||
namespace: adguard-home
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 1h
|
interval: 1h
|
||||||
targetNamespace: adguard-home
|
targetNamespace: adguard-home
|
||||||
path: ./kubernetes/apps/adguard-home/app
|
path: ./kubernetes/apps/adguard-home
|
||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
name: flux-system
|
name: flux-system
|
||||||
postBuild:
|
|
||||||
substituteFrom: []
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: adguard-home
|
|
||||||
description: Free and open source, powerful network-wide ads & trackers blocking DNS server.
|
|
||||||
home: https://github.com/3dwardch3ng/helm-charts/tree/main/charts/adguard-home
|
|
||||||
icon: https://raw.githubusercontent.com/3dwardch3ng/helm-charts/main/charts/adguard-home/icon.svg
|
|
||||||
# A chart can be either an 'application' or a 'library' chart.
|
|
||||||
#
|
|
||||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
|
||||||
# to be deployed.
|
|
||||||
#
|
|
||||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
|
||||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
|
||||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
|
||||||
type: application
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
|
||||||
# to the chart and its templates, including the app version.
|
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
|
||||||
version: 0.1.0
|
|
||||||
# renovate datasource=docker depName=adguard/adguardhome
|
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
|
||||||
# It is recommended to use it with quotes.
|
|
||||||
appVersion: "v0.107.51"
|
|
||||||
kubeVersion: ">=1.22.0-0"
|
|
||||||
keywords:
|
|
||||||
- adblock
|
|
||||||
- dns
|
|
||||||
- privacy
|
|
||||||
sources:
|
|
||||||
- https://github.com/AdguardTeam/AdGuardHome
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: adguard-home
|
|
||||||
namespace: adguard-home
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: adguard-home
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: adguard-home
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: adguard-home
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: adguard-home
|
|
||||||
image: adguard/adguardhome:v0.107.51
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 53
|
|
||||||
name: c-dns-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 53
|
|
||||||
name: c-dns-udp
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 67
|
|
||||||
name: c-dhcp-svr
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 68
|
|
||||||
name: con-dhcp-clt
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 80
|
|
||||||
name: c-main-tcp
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 443
|
|
||||||
name: c-https-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 443
|
|
||||||
name: c-https-udp
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 853
|
|
||||||
name: c-dns-tls-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 853
|
|
||||||
name: c-dns-tls-udp
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 3000
|
|
||||||
name: c-http-alt-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 3000
|
|
||||||
name: c-httpalt-udp
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 5443
|
|
||||||
name: c-dnscrypt-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
containerPort: 5443
|
|
||||||
name: c-dnscrypt-udp
|
|
||||||
- protocol: TCP
|
|
||||||
containerPort: 6060
|
|
||||||
name: c-http-pprof
|
|
||||||
volumeMounts:
|
|
||||||
- name: adguard-home-data
|
|
||||||
mountPath: /opt/adguardhome/work
|
|
||||||
- name: adguard-home-config
|
|
||||||
mountPath: /opt/adguardhome/config
|
|
||||||
volumes:
|
|
||||||
- name: adguard-home-data
|
|
||||||
hostPath:
|
|
||||||
path: /mnt/nfs/AppData/adguardhome/work
|
|
||||||
type: Directory
|
|
||||||
- name: adguard-home-config
|
|
||||||
hostPath:
|
|
||||||
path: /mnt/nfs/AppData/adguardhome/conf
|
|
||||||
type: Directory
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: adguard-home
|
|
||||||
namespace: adguard-home
|
|
||||||
spec:
|
|
||||||
chart:
|
|
||||||
metadata:
|
|
||||||
name: adguard-home
|
|
||||||
namespace: adguard-home
|
|
||||||
spec:
|
|
||||||
chart: adguard-home
|
|
||||||
version: 0.1.0
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
||||||
namespace: flux-system
|
|
||||||
interval: 5m
|
|
||||||
interval: 5m
|
|
||||||
targetNamespace: adguard-home
|
|
||||||
dependsOn:
|
|
||||||
install:
|
|
||||||
crds: Create
|
|
||||||
upgrade:
|
|
||||||
crds: CreateReplace
|
|
||||||
valuesFrom:
|
|
||||||
- kind: Secret
|
|
||||||
name: adguard-home-vars
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: adguard-home
|
|
||||||
namespace: adguard-home
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: adguard-home
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: adguard-home
|
|
||||||
type: ClusterIP
|
|
||||||
internalTrafficPolicy: Cluster
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 53
|
|
||||||
targetPort: 53
|
|
||||||
name: dns-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 53
|
|
||||||
targetPort: 53
|
|
||||||
name: dns-udp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 67
|
|
||||||
targetPort: 67
|
|
||||||
name: dhcp-server-udp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 68
|
|
||||||
targetPort: 68
|
|
||||||
name: dhcp-client-udp
|
|
||||||
- protocol: TCP
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
|
||||||
name: http-main-tcp
|
|
||||||
- protocol: TCP
|
|
||||||
port: 443
|
|
||||||
targetPort: 443
|
|
||||||
name: https-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 443
|
|
||||||
targetPort: 443
|
|
||||||
name: https-udp
|
|
||||||
- protocol: TCP
|
|
||||||
port: 853
|
|
||||||
targetPort: 853
|
|
||||||
name: dns-tls-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 853
|
|
||||||
targetPort: 853
|
|
||||||
name: dns-tls-udp
|
|
||||||
- protocol: TCP
|
|
||||||
port: 3000
|
|
||||||
targetPort: 3000
|
|
||||||
name: https-alt-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 3000
|
|
||||||
targetPort: 3000
|
|
||||||
name: https-alt-udp
|
|
||||||
- protocol: TCP
|
|
||||||
port: 5443
|
|
||||||
targetPort: 5443
|
|
||||||
name: dns-crypt-tcp
|
|
||||||
- protocol: UDP
|
|
||||||
port: 5443
|
|
||||||
targetPort: 5443
|
|
||||||
name: dns-crypt-udp
|
|
||||||
- protocol: TCP
|
|
||||||
port: 6060
|
|
||||||
targetPort: 6060
|
|
||||||
name: https-pprof
|
|
||||||
53
kubernetes/apps/adguard-home/release.yaml
Normal file
53
kubernetes/apps/adguard-home/release.yaml
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: adguard-home
|
||||||
|
namespace: adguard-home
|
||||||
|
spec:
|
||||||
|
releaseName: adguard-home
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: adguard-home
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: truecharts
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 5m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
values:
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
main:
|
||||||
|
port: 10080
|
||||||
|
protocol: http
|
||||||
|
setup:
|
||||||
|
enabled: true
|
||||||
|
ports:
|
||||||
|
setup:
|
||||||
|
enabled: true
|
||||||
|
port: 13000
|
||||||
|
targetPort: 3000
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
hostPath: /mnt/nfs/AppData/adguardhome/conf
|
||||||
|
type: Directory
|
||||||
|
work:
|
||||||
|
enabled: true
|
||||||
|
hostPath: /mnt/nfs/AppData/adguardhome/work
|
||||||
|
type: Directory
|
||||||
|
portal:
|
||||||
|
open:
|
||||||
|
enabled: true
|
||||||
|
container:
|
||||||
|
volumeMounts:
|
||||||
|
- name: work
|
||||||
|
mountPath: /opt/adguardhome/work
|
||||||
|
readOnly: false
|
||||||
|
- name: config
|
||||||
|
mountPath: /opt/adguardhome/conf
|
||||||
|
readOnly: false
|
||||||
|
|
||||||
@@ -4,4 +4,5 @@ resources:
|
|||||||
- ./adguard-home/adguard-home.yaml
|
- ./adguard-home/adguard-home.yaml
|
||||||
- ./capacitor/capacitor.yaml
|
- ./capacitor/capacitor.yaml
|
||||||
- ./cert-manager/cert-manager.yaml
|
- ./cert-manager/cert-manager.yaml
|
||||||
|
- ./clusterissuer/clusterissuer.yaml
|
||||||
- ./podinfo/podinfo.yaml
|
- ./podinfo/podinfo.yaml
|
||||||
@@ -4,6 +4,7 @@ metadata:
|
|||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
|
suspend: true
|
||||||
interval: 1h
|
interval: 1h
|
||||||
targetNamespace: cert-manager
|
targetNamespace: cert-manager
|
||||||
path: ./kubernetes/apps/prometheus-operator
|
path: ./kubernetes/apps/prometheus-operator
|
||||||
|
|||||||
Reference in New Issue
Block a user