Compare commits
3 commits
49d87470d7
...
4571f7f006
Author | SHA1 | Date | |
---|---|---|---|
4571f7f006 | |||
4d9a8e32d7 | |||
2f275ed5b9 |
5 changed files with 35 additions and 11 deletions
|
@ -21,7 +21,7 @@ spec:
|
||||||
cleanupOnFail: true
|
cleanupOnFail: true
|
||||||
remediation:
|
remediation:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: uninstall
|
strategy: rollback
|
||||||
values:
|
values:
|
||||||
controllers:
|
controllers:
|
||||||
radarr:
|
radarr:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/external-secrets.io/externalsecret_v1beta1.json
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
||||||
apiVersion: external-secrets.io/v1beta1
|
apiVersion: external-secrets.io/v1beta1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -7,8 +7,8 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
refreshInterval: 1m
|
refreshInterval: 1m
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
name: crunchy-pgo-secrets
|
|
||||||
kind: ClusterSecretStore
|
kind: ClusterSecretStore
|
||||||
|
name: onepassword-connect
|
||||||
target:
|
target:
|
||||||
name: sonarr-secret
|
name: sonarr-secret
|
||||||
template:
|
template:
|
||||||
|
@ -17,15 +17,31 @@ spec:
|
||||||
PUSHOVER_TOKEN: "{{ .sonarr_token }}"
|
PUSHOVER_TOKEN: "{{ .sonarr_token }}"
|
||||||
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
|
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
|
||||||
SONARR__AUTH__APIKEY: "{{ .api_key_anime }}"
|
SONARR__AUTH__APIKEY: "{{ .api_key_anime }}"
|
||||||
SONARR__POSTGRES__HOST: "{{ .pgbouncer-host }}"
|
|
||||||
SONARR__POSTGRES__USER: "{{ .user }}"
|
|
||||||
SONARR__POSTGRES__PASSWORD: "{{ .password }}"
|
|
||||||
SONARR__POSTGRES__PORT: "{{ .port }}"
|
|
||||||
SONARR__POSTGRES__MAINDB: sonarr_main
|
|
||||||
dataFrom:
|
dataFrom:
|
||||||
- extract:
|
|
||||||
key: postgres-pguser-sonarr-anime
|
|
||||||
- extract:
|
- extract:
|
||||||
key: pushover
|
key: pushover
|
||||||
- extract:
|
- extract:
|
||||||
key: sonarr
|
key: sonarr
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: sonarr-db
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
name: crunchy-pgo-secrets
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: sonarr-db-secret
|
||||||
|
template:
|
||||||
|
engineVersion: v2
|
||||||
|
data:
|
||||||
|
SONARR__POSTGRES__HOST: "{{ index . \"pgbouncer-host\" }}"
|
||||||
|
SONARR__POSTGRES__USER: "{{ .user }}"
|
||||||
|
SONARR__POSTGRES__PASSWORD: "{{ .password }}"
|
||||||
|
SONARR__POSTGRES__PORT: "{{ .port }}"
|
||||||
|
SONARR__POSTGRES__MAINDB: "{{ .dbname }}"
|
||||||
|
dataFrom:
|
||||||
|
- extract:
|
||||||
|
key: postgres-pguser-sonarr-anime
|
||||||
|
|
|
@ -45,6 +45,8 @@ spec:
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: sonarr-secret
|
name: sonarr-secret
|
||||||
|
- secretRef:
|
||||||
|
name: sonarr-db-secret
|
||||||
probes:
|
probes:
|
||||||
liveness: &probes
|
liveness: &probes
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -193,6 +193,12 @@ spec:
|
||||||
pgBouncer:
|
pgBouncer:
|
||||||
port: 5432
|
port: 5432
|
||||||
replicas: *replica
|
replicas: *replica
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: pgbouncer.jahanson.tech
|
||||||
|
io.cilium/lb-ipam-ips: 10.1.1.36
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: crunchy-postgres-pgbouncer
|
app.kubernetes.io/name: crunchy-postgres-pgbouncer
|
||||||
|
|
|
@ -191,7 +191,7 @@ spec:
|
||||||
volsync:
|
volsync:
|
||||||
# removate: depName="VolSync Dashboard"
|
# removate: depName="VolSync Dashboard"
|
||||||
gnetId: 21356
|
gnetId: 21356
|
||||||
revision: 1
|
revision: 3
|
||||||
datasource:
|
datasource:
|
||||||
- { name: DS_PROMETHEUS, value: Prometheus }
|
- { name: DS_PROMETHEUS, value: Prometheus }
|
||||||
- { name: VAR_REPLICATIONDESTNAME, value: .*-dst }
|
- { name: VAR_REPLICATIONDESTNAME, value: .*-dst }
|
||||||
|
|
Loading…
Reference in a new issue