This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/bakito/adguardhome-sync](https://github.com/bakito/adguardhome-sync) | patch | `v0.9.5` → `v0.9.6` | --- ### Release Notes <details> <summary>bakito/adguardhome-sync (ghcr.io/bakito/adguardhome-sync)</summary> ### [`v0.9.6`](https://github.com/bakito/adguardhome-sync/releases/tag/v0.9.6) [Compare Source](https://github.com/bakito/adguardhome-sync/compare/v0.9.5...v0.9.6) #### Changelog - [`eb74300`](https://github.com/bakito/adguardhome-sync/commit/eb74300c54963c14a5b2862cda44ff4e2376ece2): fix: set default docker base image to scratch ([#​979](https://github.com/bakito/adguardhome-sync/issues/979)) ([@​bakito](https://github.com/bakito)) - [`e59d0b3`](https://github.com/bakito/adguardhome-sync/commit/e59d0b395995292c8d1f76f00794f7bc4999c47f): fix: simplify base image handling in docker builds ([#​981](https://github.com/bakito/adguardhome-sync/issues/981)) ([@​bakito](https://github.com/bakito)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODEuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MS41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Reviewed-on: https://git.ivanch.me/ivanch/haven/pulls/41
115 lines
2.6 KiB
YAML
115 lines
2.6 KiB
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: adguardsync-pvc
|
|
namespace: dns
|
|
spec:
|
|
storageClassName: "nfs-client"
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 10Mi
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: adguardsync
|
|
namespace: dns
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: adguardsync
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: adguardsync
|
|
spec:
|
|
containers:
|
|
- name: adguardsync
|
|
image: ghcr.io/bakito/adguardhome-sync:v0.9.6
|
|
ports:
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
name: web-port
|
|
env:
|
|
- name: CRON
|
|
value: "0 * * * *"
|
|
- name: RUN_ON_START
|
|
value: "true"
|
|
- name: LOG_LEVEL
|
|
value: "info"
|
|
- name: ORIGIN_URL
|
|
value: "http://adguard.haven"
|
|
- name: ORIGIN_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: adguardhome-password
|
|
key: username
|
|
- name: ORIGIN_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: adguardhome-password
|
|
key: password
|
|
- name: REPLICA1_URL
|
|
value: "http://adguard2.haven"
|
|
- name: REPLICA1_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: adguardhome-password
|
|
key: username
|
|
- name: REPLICA1_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: adguardhome-password
|
|
key: password
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumeMounts:
|
|
- name: adguardsync-storage
|
|
mountPath: /config
|
|
volumes:
|
|
- name: adguardsync-storage
|
|
persistentVolumeClaim:
|
|
claimName: adguardsync-pvc
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: adguardsync-svc
|
|
namespace: dns
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: adguardsync
|
|
ports:
|
|
- name: web
|
|
port: 8080
|
|
targetPort: 8080
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: adguardsync-ingress
|
|
namespace: dns
|
|
spec:
|
|
rules:
|
|
- host: adguardsync.haven
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: adguardsync-svc
|
|
port:
|
|
number: 8080
|